RFC Portal

Web7 RFCs

Open standards process for the Web7 protocol. Every normative change starts as an RFC — proposed, reviewed, and ratified by the community.

How the RFC process works

RFC stands for Request for Comments. It is a formal proposal to add, change, or remove a normative behaviour in the Web7 protocol. Any developer can propose one.

1

Draft

Author submits a PR to w7f-core/rfcs/ using the 0000-template.md. RFC gets a number, status = Draft. Community discussion begins on the PR.

2

Active

Foundation core team reviews. If there are no fundamental objections after 2 weeks, RFC moves to Active. A reference implementation is expected.

3

Final

Reference implementation ships and conformance tests are added. Foundation votes to ratify. RFC is immutable and binding on all conformant implementations.

4

Withdrawn / Superseded

Author or Foundation may withdraw a Draft. A Final RFC may be superseded by a newer RFC that obsoletes it — the old one is never deleted.

Active & Draft RFCs

RFC 0006

Self-Evolution Protocol (SEP) v0.1

Defines the normative behaviour of the @hyperbridge/forge/evolve module: AgentLearner reflection cycles, PatternMiner AIG query format, ModuleProposer stub schema, ProtocolAdaptor OpenAPI binding, and ConformanceEvolver vector format. Specifies how the Web7 protocol bootstraps its own improvement from production AIG data.

Draft Layer: L6 · Author: HBForge Labs · 2026-04
RFC 0005

did:w7 Method — Agent Extensions v0.1

Specifies the complete did:w7 DID method: document format, key types (ed25519), CRUD operations, W3C VC compatibility, agent-specific extensions (reputation anchoring, skill registry, delegation chain), and L0 anchoring format.

Draft Layer: L2 · Author: HBForge Labs · 2026-04
RFC 0004

Accountable Intelligence Graph (AIG) Specification

Normative spec for the AIG DAG structure: node types (intent, delegation, inference, outcome), edge semantics (causation, delegation, attestation), Merkle commitment format, lineage query API, subgraph export format, and L0 anchoring protocol.

Draft Layer: L4 · Author: HBForge Labs · 2026-04
RFC 0003

Proof-of-Outcome (PoO) Standard

Defines the 8-check PoO verification predicate: authorisation check, model identity, ZK-ML inference proof (stub in v0.1, full in post-L0), policy satisfaction, stake adequacy, SLA compliance, and k-of-n attestor bundle. Specifies slashing triggers, amounts, and escrow distribution rules.

Draft Layer: L4 · Author: HBForge Labs · 2026-04
RFC 0002

Kynetra Prime Spec v0.1

Normative spec for the Prime agent kernel: register, delegate, revoke, policy engine, reputation ledger, and the agent lifecycle (spawn → authorise → route → settle → learn → retire).

Draft Layer: L4 · Author: Kynetra Team · 2026-04
RFC 0001

Agent Mesh Protocol (AMP) v0.1

Defines the canonical AMP envelope schema, all 7 protocol verbs (discover · negotiate · delegate · execute · settle · attest · revoke), 4 settlement rails, attestation format, and the reputation update formula.

Draft Layer: L4 · Author: HBForge Labs · 2026-04
⚠️
All RFCs are in Draft status. Open for community comment and may change before becoming Final. Do not build production systems against Draft RFCs without understanding this risk.

Recent Updates

Significant changes to the RFC register and the protocol reference implementation.

New 2026-04-24
HBForge v4.2.0 shipped — 61 modules, Governance Layer complete

The Governance Layer (11 modules: charter, risktier, preview, jurisdiction, drift, circuit, chaos, mediation, bounty, succession, assembly) is now the reference implementation for the forthcoming RFC 0007. Also ships: CRDT realtime with OT transform and presence heartbeat, durable queues, and multi-layer cache. RFC 0006 (SEP) reference impl updated to v4.2 import paths.

Draft 2026-04
RFC 0005 & RFC 0006 added to the register

RFC 0005 (did:w7 DID Method) and RFC 0006 (Self-Evolution Protocol) entered Draft status. Both are open for community comment. See the open questions tables in each RFC for the specific design decisions that need community input before these can advance to Active.

Planned Target: 2026-Q3
RFC 0007 — Governance Layer Protocol (pre-draft)

Will specify normative behaviour for the 11 Governance Layer modules: policy charter format, risk tier classification, jurisdiction routing, circuit breaker conditions, chaos test harness, mediation protocol, bounty issuance, and succession triggers. The reference implementation already ships in HBForge v4.2.0 — the RFC formalises the wire protocol and conformance requirements.

Community Questions

Common questions from developers building on Web7. Answers reflect current Draft RFC decisions and may change before Final status.

Do I need to implement all 8 PoO checks to be Web7-conformant? +

No — but you must pass a weighted score ≥ 80 with all required checks non-zero. The two hard-required checks are principalSig (weight: 25) and agentSig (weight: 15). All others participate in scoring but can be zero under valid conditions: zkml scores 0 in v0.1 stub mode — explicitly permitted until the full ZK circuit spec is finalized in RFC 0003.

Reference: RFC 0003 §3.2 — Check Weights and Passing Threshold · @hyperbridge/forge/poo → verifyPoO()

What happens to staked tokens when an agent is mid-execution during a network partition? +

Stake is held in escrow by the settlement rail until an outcome is submitted or the SLA deadline expires. If no outcome arrives before the SLA window closes, the SLA_BREACH slashing condition fires and the stake is distributed per the configured principal-vs-treasury split. In v0.1 the escrow is in-process memory — the full L0-anchored escrow contract ships at the L0 mainnet milestone.

Reference: RFC 0001 §5 — Settlement Rails · RFC 0003 §4 — Slashing Conditions · @hyperbridge/forge/settlement → createEscrow()

How does AIG commit frequency affect L0 costs in production? +

Per-outcome commitment (the v0.1 default) produces one L0 anchor per agent action — expensive at scale. RFC 0004 Q2 asks whether batched commitment should become the default. Batching reduces L0 cost proportionally to batch size, at the cost of increased proof latency for lineage queries. For high-throughput agents today, use aig.commit({ mode: 'batch', batchSize: 50 }) — already supported in @hyperbridge/forge/aig and will be normative in RFC 0004 v0.2.

Reference: RFC 0004 §Q2 — L0 commitment frequency · @hyperbridge/forge/aig → commit()

Can I run a Web7 agent without staking for development and testing? +

Yes. Pass skipStake: true to createAgent() (or set HBFORGE_SKIP_STAKE=true) to run in development mode. In this mode the stake PoO check is stubbed to 5/5, no escrow is created, and no slashing can occur. This is the default when NODE_ENV=test. For staging that should exercise stake logic without real tokens, use mock: true on the settlement module — it simulates escrow and slashing distribution without value transfer.

Reference: RFC 0003 §3.5 — Development Mode · @hyperbridge/forge/settlement → { createEscrow, mock }

How do I rotate a DID key for a long-running agent without breaking in-flight AMP envelopes? +

This is an open question in RFC 0005 Q1. Current v0.1 uses immediate revocation — any envelope signed by the old key is invalid the moment rotation is committed. The recommended pattern is to rotate only at quiescent points where no envelopes are in flight. Use identity.pendingEnvelopes(did) to check before rotating. A 60-second grace period option is under consideration for RFC 0005 v0.2 — feedback on this design decision is welcome.

Reference: RFC 0005 §Q1 — Key rotation revocation · @hyperbridge/forge/identity → { rotate, pendingEnvelopes }

💬
Have a question not covered here? Open a Discussion on w7f-core or comment on the relevant RFC PR. High-quality questions may be promoted to this page.

Agent Mesh Protocol — AMP v0.1

📋 RFC metadata
Number
RFC 0001
Title
Agent Mesh Protocol (AMP) v0.1
Status
Draft
Layer
L4 (Kynetra Prime / AMP)
Author
HBForge Labs
Created
2026-04
Ref impl
kynetra-prime/backend/core/web7/amp.ts

Motivation

Web3 moves tokens. Web7 moves intent. No existing protocol expresses outcome-based delegation between autonomous agents with reputation, policy, and verifiable inference. AMP fills this gap.

What AMP defines (normative)

Open questions (your feedback needed)

#QuestionOptions
Q1Canonical serialisation formatKey-sorted JSON (current) vs DAG-CBOR
Q2Reputation decay curve parameters6-month half-life (current) vs configurable per domain
Q3Cross-chain bridge attestation formatW3C VC only vs custom AMP bundle
Q4Nonce schemePer-DID monotonic (current) vs per-session UUID

Kynetra Prime Spec — v0.1

📋 RFC metadata
Number
RFC 0002
Title
Kynetra Prime Spec v0.1
Status
Draft
Layer
L4
Author
Kynetra Team
Ref impl
kynetra-prime/ (full repo)

What Prime defines (normative)

Proof-of-Outcome (PoO) Standard

📋 RFC metadata
Number
RFC 0003
Title
Proof-of-Outcome (PoO) Standard v0.1
Status
Draft
Layer
L4
Author
HBForge Labs
Ref impl
@hyperbridge/forge/poo

What PoO defines (normative)

Open questions

#QuestionOptions
Q1ZK-ML circuit standardSNARK (Groth16) vs STARK vs Halo2 for inference proofs
Q2Minimum attestor countk=3 of n=5 (current) vs configurable per risk tier
Q3Partial outcome scoringLinear scale (current) vs step function vs milestone-only

Accountable Intelligence Graph (AIG) Specification

📋 RFC metadata
Number
RFC 0004
Title
AIG Specification v0.1
Status
Draft
Layer
L4
Author
HBForge Labs
Ref impl
@hyperbridge/forge/aig

What AIG defines (normative)

Open questions

#QuestionOptions
Q1Merkle hash functionFNV-1a (current, fast) vs SHA-256 (standard) vs BLAKE3
Q2L0 commitment frequencyPer-outcome (current) vs batched (every N outcomes)
Q3Subgraph export formatJSON-LD (W3C compatible) vs custom binary format

Self-Evolution Protocol (SEP) v0.1

📋 RFC metadata
Number
RFC 0006
Title
Self-Evolution Protocol (SEP) v0.1
Status
Draft
Layer
L6 (HBForge)
Author
HBForge Labs
Created
2026-04
Ref impl
@hyperbridge/forge/evolve
Depends on
RFC-0001 (AMP), RFC-0004 (AIG), RFC-0003 (PoO)

Motivation

Every Web7 deployment accumulates a rich AIG — a signed, tamper-evident record of every intent, delegation, inference, and outcome. Today this graph is queried for audit and compliance. SEP specifies how the same graph is queried for improvement: identifying what the system does well, what it fails at, and what modules it needs that don't exist yet. The result is a framework that gets smarter with every deployment, without external supervision.

The five SEP components (normative)

ComponentInputOutputCycle
AgentLearnerPoO outcome recordsImprovementProposal[] (type: prompt | workflow)Per-agent, every N outcomes or T minutes
PatternMinerAIG intent nodes (walk or lineage)ActionPattern[] with frequency + success ratePer-deployment, daily or on-demand
ModuleProposerPatternMiner.highValue() resultsModuleStub[] with TypeScript stubs + RFC textAfter each PatternMiner run
ProtocolAdaptorOpenAPI 3.x document + agent DIDAMPSkill[] ready for Prime skill registryOne-shot at integration time
ConformanceEvolverPoO results from productionTestVector[] with check name + evidenceContinuous; mature() when evidence ≥ 3

ImprovementProposal schema (normative)

{
  id:         string,             // "prop-{ts}-{nonce}"
  type:       "prompt" | "workflow" | "module" | "conformance",
  agentDid:   string,             // did:w7 of the agent being improved
  evidence:   string[],           // outcomeId[] that triggered this proposal
  suggestion: string,             // human-readable improvement text
  confidence: number,             // 0–1, capped at 1.0
  meta:       Record<string, unknown>,
  createdAt:  ISO8601
}

TestVector schema (normative)

{
  id:          string,            // "auto-{check}-{ts}"
  name:        string,            // "auto.{check}.failure"
  description: string,
  check:       string,            // failed PoO check name
  evidence:    PoOResult[],       // raw results that surfaced this vector
  emittedAt:   ISO8601
}

PatternMiner AIG query (normative)

PatternMiner operates on the output of aig.walk() or aig.lineage(rootId). It counts occurrences of each intent.action value across all intent nodes in the result set. Patterns with count ≥ minFrequency (default: 3) are surfaced. Patterns with successRate ≥ 0.80 and count ≥ 5 are classified as high-value module candidates.

ProtocolAdaptor binding rules (normative)

Open questions (your feedback needed)

#QuestionOptions
Q1Proposal approval workflowAutomatic application (risky) vs. human-in-the-loop approval gate (current default)
Q2AIG query scope for PatternMinerFull walk (expensive) vs. bounded time-window (default: 30d)
Q3ConformanceEvolver maturity threshold3 evidence occurrences (current) vs. statistically significant sample (N=30)
Q4ModuleProposer stub formatCommonJS (current) vs. ESM vs. TypeScript declaration only

did:w7 Method Specification

📋 RFC metadata
Number
RFC 0005
Title
did:w7 DID Method Specification v0.1
Status
Draft
Layer
L2
Author
HBForge Labs
Ref impl
@hyperbridge/forge/identity

What did:w7 defines (normative)

Open questions

#QuestionOptions
Q1Key rotation revocationImmediate revocation (current) vs grace period for in-flight envelopes
Q2DID document cachingPer-request resolve (current) vs 5-min TTL cache
Q3Biometric binding formatWebAuthn passkey hash vs custom biometric attestation

Propose an RFC

Have an improvement, extension, or new primitive? The RFC process is open to everyone.

1

Fork the repository

git clone https://github.com/HyperBridge/w7f-core
cd w7f-core && git checkout -b rfc/my-proposal
2

Copy the template

cp rfcs/0000-template.md rfcs/0003-my-proposal.md
# Fill in: title, motivation, specification, security, open questions
3

Submit a pull request

Open a PR to main. Title it RFC 0003: My Proposal. The community reviews it on the PR thread. Foundation assigns a final number on acceptance.

💬
Good first RFCs: new settlement rails, reputation formula parameters, cross-chain bridge attestation format, new conformance test vectors, DID method extensions.