Skip to content

docs(rfc): RFC-0007 — cryptographic-primitive migration procedure - #93

Merged
gonzafg2 merged 7 commits into
mainfrom
docs/rfc-0007-migration-procedure
Jul 2, 2026
Merged

gonzafg2 merged 7 commits into
mainfrom
docs/rfc-0007-migration-procedure

Conversation

@gonzafg2

@gonzafg2 gonzafg2 commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Resolves #42.

Extracts the standing procedure the two worked migrations (RFC-0005 KEX, RFC-0006 signatures) proved, so a third migration doesn't re-derive the reasoning from prose. Scoped procedure (Option B) — codifies only the proven spine, defers the unproven.

The three-part spine

  1. Retroactive-exposure decision tree. HNDL-exposed primitives (KEX) migrate as soon as an interoperable standard exists, no gate (RFC-0005); live-only primitives (signatures/host keys) may wait behind WG-adoption + deployed-client gates with a NIST IR 8547 backstop (RFC-0006). The asymmetry is the generalizable core — a uniform gate would contradict the immutable RFC-0005.
  2. Supersession mechanics. Superseding ADR over ADR-0021 with an atomic ADR-0020 interop-fixture move; new crate-selection ADR per ADR-0019 + cargo deny. Config layer deferred to the Phase-2 config RFC (no surface exists — YAGNI).
  3. Dynamic "legacy". Anything past its NIST/IETF deprecation date, not a frozen list — RFC 9142 is the precedent that legacy is a standards-maintained moving target.

⚠️ High lane — amends MANIFIESTO

Item 3 refines MANIFIESTO commitment #3 (zero legacy), so this PR edits MANIFIESTO.es.md: the blocklist becomes the permanent floor, the frontier moves with the standards bodies. This is the highest RFC lane per the process (and the precedent RFC-0005 set). threat-model.md §8.10 now points at RFC-0007 as the migration mechanism.

Docs-only; no code. Status: Draft — proposing acceptance. Second of the #86-scoping follow-ups (after #92 / ADR-0027).

https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o

Resolves the #42 gap: the threat model commits to "migrate before
deprecation deadlines" (§8.10) with no mechanism. RFC-0007 extracts the
standing procedure the two worked instances (RFC-0005 KEX, RFC-0006
signatures) proved:

1. Retroactive-exposure decision tree — HNDL-exposed primitives (KEX)
   migrate as soon as an interoperable standard exists, no gate (per
   RFC-0005); live-only primitives (signatures) may wait behind
   WG-adoption + deployed-client gates with a NIST-IR-8547 backstop (per
   RFC-0006). This asymmetry is the generalizable core; a uniform gate
   would contradict the immutable RFC-0005.
2. Supersession mechanics — superseding ADR over ADR-0021 with an atomic
   ADR-0020 interop-fixture move; new crate-selection ADR per ADR-0019 +
   cargo deny. Config layer deferred to the Phase-2 config RFC.
3. Dynamic definition of "legacy" — anything past its NIST/IETF
   deprecation date, not a frozen list (RFC 9142 precedent).

HIGH LANE: item 3 refines MANIFIESTO commitment #3, so this RFC AMENDS
MANIFIESTO.es.md (the blocklist is the permanent floor; the frontier
moves with the standards bodies). threat-model §8.10 now points at
RFC-0007 as the migration mechanism.

Scoped procedure (Option B): codifies only what two instances proved,
defers the unproven (config layer, watch-trigger cadence). Status: Draft.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 00:53
@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review: RFC-0007 — Cryptographic-primitive migration procedure

Classification: ADR/RFC docs under docs/rfcs/. Reviewed against the five MANIFIESTO commitments and threat model. Status: Approve.


MANIFIESTO amendment (commitment #3)

The one-sentence MANIFIESTO change resolves a real paradox: a frozen blocklist (SSH-1, RSA, DSA, CBC…) cannot express "zero legacy" over a 30-year horizon. The refinement to a permanent floor + moving frontier driven by NIST/IETF deprecation dates strengthens the commitment. Without it, the next deprecation not on the list makes the manifesto text stale. The change is minimal (one sentence), links to RFC-0007 as the mechanism, and travels the highest RFC lane — consistent with the precedent RFC-0005 set when it amended MANIFIESTO #2.

Design soundness

Asymmetrical decision tree is the correct extraction. RFC-0005 (KEX) migrated immediately with no adoption gate — KEX carries HNDL retroactive exposure. RFC-0006 (signatures) imposed WG-adoption + client-deployment gates with a NIST IR 8547 backstop — signatures are live-only. The RFC correctly identifies this asymmetry as the generalizable core, and explicitly rejects a uniform gate that would contradict the immutable, Accepted RFC-0005. Each side is anchored to concrete prior art.

Supersession mechanics are disciplined. Protocol layer → supersede ADR-0021 atomically with ADR-0020 interop fixtures (prevents the gate from lying). Dependency layer → crate-selection ADR per ADR-0019 + cargo deny. Config layer → deferred (YAGNI — no config surface exists in Phase 1). Each layer cites the relevant governing ADR.

Scoping (Option B) is honest. The RFC acknowledges it generalizes from 2 instances (below rule-of-three), explicitly defers config-layer design and watch-trigger governance, and guards against being misread as licensing crypto-agility. The "Drawbacks" section argues against itself with the candor the template requires.

Threat model cross-reference (§8.10)

The change adds three lines pointing to RFC-0007 as the mechanism for the existing "track NIST and IETF guidance and migrate before deprecation deadlines" commitment. This is a factual cross-reference, not a substantive change — it closes the gap the threat model itself acknowledged: a commitment with no mechanism. ✓

RFC template conformance

All required sections present: Status (Draft), Authors, Created, Roadmap issue (#42), Implementation PR (N/A — procedure), Summary, Motivation, Guide-level, Reference-level (normative), Drawbacks, Rationale and alternatives, Prior art, Unresolved questions, Future possibilities. ✓


No blocking findings. The RFC is procedurally correct, scoped to what two precedent migrations proved, defers what can't yet be justified, and resolves a real paradox in the founding commitments without weakening them.

github run

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new RFC (RFC-0007) documenting a standing procedure for migrating cryptographic primitives as NIST/IETF guidance evolves, and updates existing project documents to reference that mechanism—explicitly refining MANIFIESTO commitment #3 (“Cero legacy”) to be a moving standards-defined frontier rather than a fixed list.

Changes:

  • Introduces RFC-0007 describing (1) a retroactive-exposure decision tree, (2) ADR supersession/dependency mechanics, and (3) a dynamic definition of “legacy”.
  • Updates MANIFIESTO.es.md commitment #3 to reference RFC-0007 and clarify that “legacy” tracks NIST/IETF deprecations.
  • Updates threat model §8.10 to link to RFC-0007 as the committed migration mechanism.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
MANIFIESTO.es.md Refines “Cero legacy” language to define legacy dynamically and links to RFC-0007.
docs/threat-model.md Points §8.10’s “migrate before deadlines” commitment at RFC-0007 as the mechanism.
docs/rfcs/0007-cryptographic-primitive-migration-procedure.md New RFC codifying the documented migration procedure and its rationale.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread MANIFIESTO.es.md Resolved
claude-review + copilot on #93:
- Status Draft → Accepted: MANIFIESTO #3 and threat-model §8.10 cite this
  RFC as the normative migration mechanism, so it cannot merge as a draft.
- "migrated a primitive twice" was inaccurate for RFC-0006 (a gated
  target, not a completed migration). Reworded: RFC-0005 migrated the KEX
  (implemented); RFC-0006 fixed the signature target (gated, not yet
  implemented).
- "one sentence" (×3) corrected — the MANIFIESTO addition is three
  sentences.
- ADR-0015 recharacterised (errata/immutability rule that the
  supersede-don't-edit discipline rests on, not "supersession discipline").
- Removed trailing whitespace; MANIFIESTO "todo primitivo" → "todo
  primitivo criptográfico" (clarity).

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Jul 2, 2026
copilot on #95:
- Status Draft → Accepted (thesis approved: native cert format, CA bound
  to RFC-0006, short-lived-primary revocation).
- Made the Implementation-PR reference a proper internal anchor.

(The RFC-0007 links the reviewers flagged as dangling resolve once #93
lands on main, ahead of this PR in the merge order.)

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review: RFC-0007 — Cryptographic-primitive migration procedure

Classification: ADR/RFC docs. Reviewed against the five MANIFIESTO commitments, threat model hard rules, and CLAUDE.md review criteria.

The second commit (0cf3761) addressed the Status field and the "one sentence"/"three sentences" inconsistency. Two findings remain after the review fix.


1. Prior art conflates completed vs. designed migration

The prior art section (line 199) calls RFC-0005 and RFC-0006 "the two worked instances this procedure generalizes." The Summary section (lines 12–14) correctly distinguishes them: "already implemented" vs. "gated and not yet implemented." The prior art section abandons that distinction.

RFC-0006 is an accepted decision design — it records a migration target and gates, but no code has been written, no primitive has been replaced. Calling it a "worked instance" alongside a completed KEX migration (RFC-0005) weakens the RFC's own rule-of-three self-critique in the Drawbacks section. Consider aligning the prior art language with the Summary: "the one completed migration and one planned migration this procedure generalizes."

2. ADR-0015 is labeled "(supersession discipline)" — its primary topic is errata

Line 119 parenthetical: per ADR-0015 (supersession discipline). ADR-0015's title is "Permit annotated post-acceptance errata edits in ADRs" and its core decision is the errata exception to ADR immutability. The supersession rule ("write a new ADR, don't edit the accepted one") appears only as the boundary condition defining what errata are not (§Decision, lines 34–36).

CLAUDE.md does cite ADR-0015 for both errata and the "write a superseding ADR" rule, so the citation itself is valid. But the parenthetical is inverted — ADR-0015 is the errata ADR, not the supersession ADR. Either drop the parenthetical or replace it with "(errata / immutability)" to reflect the ADR's actual primary topic.


No blocking findings. The asymmetrical decision tree is the correct extraction from the two precedents. The MANIFIESTO amendment strengthens commitment #3 by resolving the frozen-blocklist paradox. The threat-model cross-reference (§8.10) closes a documented gap — the commitment had no mechanism. The RFC is honest about its scoping limits (rule-of-three, config deferral, crypto-agility guard).

Verdict: Approve.

github run

Comment thread MANIFIESTO.es.md Resolved
…nd 2)

claude-review round 2 found two real coherence bugs in the MANIFIESTO
amendment:

1. "legacy = deprecated" contradicted two immutable docs. NIST IR 8547
   separates deprecation (~2030) from disallowance (~2035); RFC-0006
   keeps ssh-ed25519 through that window and RFC-0007 §1's backstop is
   the disallow date. Under the old wording Ed25519 would be both
   "legacy" (forbidden by #3) and permitted (RFC-0006/0007) in 2030-2035.
   Fixed: legacy = past the DISALLOW date; deprecation is the trigger
   that begins the gated migration. MANIFIESTO, Summary, Guide §Step 3,
   and Reference §3 all aligned.
2. §3 said "the deprecated is never compiled in (the blocklist floor)",
   but the floor bars password auth only "en el perfil por defecto"
   (off-by-default, not uncompiled). Clarified: MANIFIESTO is the policy
   floor, CLAUDE.md rule #3 is the implementation ceiling; and the
   classical half of a hybrid is not legacy while the hybrid is the
   mechanism (classical-only is forbidden, classical-plus-PQ is not).

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Classification: ADR/RFC docs. Reviewed against MANIFIESTO commitments, threat model, and CLAUDE.md rules.

The three review-round commits (0cf3761, e9daee3) resolved the blocking issues: Status → Accepted, "one sentence" → "three sentences", and MANIFIESTO "deprecado" → "prohibido (disallowed)" (eliminating the contradiction with RFC-0006's 2030–2035 window). The RFC is now procedurally correct.


One remaining nit (non-blocking)

Prior art § (lines 216–218) conflates completed vs. designed migration. The Summary section (§10) correctly distinguishes RFC-0005 ("already implemented") from RFC-0006 ("gated and not yet implemented"). The prior art section still calls both "the two worked instances this procedure generalizes." The RFC's own Drawbacks section (§174) critiques the rule-of-three risk — aligning the prior art language with the Summary would strengthen that self-honesty. The RFC also quotes RFC-0006's own "first worked instance" self-description, which is accurate to what RFC-0006 claimed.

Not blocking. Both opencode-agent and claude flagged this as non-blocking in prior reviews.


Verdict

The asymmetrical decision tree is the correct extraction from the two precedents. The MANIFIESTO amendment strengthens commitment #3 by resolving the frozen-blocklist paradox with a floor + standards-driven frontier. The threat-model cross-reference (§8.10) closes a documented gap. The CLAUDE.md floor-vs-ceiling clarification (§3) correctly delegates to hard rule #3 for implementation.

Approve.

github run

Comment thread docs/threat-model.md Resolved
claude-review round 3: §8.10 said "migrate before deprecation deadlines"
but now delegates to RFC-0007, whose live-only class waits until the
NIST/IETF disallow date (~2035), not deprecation (~2030). Aligned the
wording to "before the applicable NIST/IETF disallow dates" (claude's
own suggestion), matching the two-class distinction RFC-0007 codifies.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review: RFC-0007 — Cryptographic-primitive migration procedure

Classification: ADR/RFC docs under docs/rfcs/. Amends MANIFIESTO commitment #3. Reviewed against the five MANIFIESTO commitments, threat model hard rules, and CLAUDE.md.


Verdict: Approve (no blocking findings)

The three review rounds resolved all prior blocking issues:

  • Status → Accepted ✓ (line 3, dated 2026-07-01)
  • "prohibido (disallowed)" replaces "deprecado" in the MANIFIESTO amendment, resolving the contradiction with RFC-0006's 2030–2035 window. The distinction between deprecation (triggers migration) and disallowance (marks legacy) is now correctly encoded in the founding document. ✓
  • Threat model §8.10 now reads "the applicable NIST/IETF disallow dates" — internally consistent with RFC-0007's disallow-date backstop for live-only migrations. The motivation section's quote of the old "deprecation deadlines" phrasing is a historical record, not a live contradiction. ✓
  • "three sentences" correctly describes the MANIFIESTO amendment scope. ✓
  • ADR-0015 parenthetical removed; the §2 citation now reads "per ADR-0015: change a decision by writing a superseding ADR", which is factually correct per CLAUDE.md §"What not to do" ("Do not edit an accepted ADR in place except its Status field or annotated errata (ADR-0015)"). The Prior Art section now labels ADR-0015 as "(the errata / immutability rule)", reflecting its primary topic. ✓
  • CLAUDE.md hard rule Generate and publish project PGP key for SECURITY.md #3 ceiling is explicitly cited in §3 of the RFC as the governing implementation rule where the MANIFIESTO floor differs ("en el perfil por defecto" vs "never compiled in"). ✓

Design soundness

The asymmetrical decision tree (no gate for retroactive-exposure primitives, gated for live-only with a disallow-date backstop) is the correct extraction — it encodes what two RFCs independently proved and explicitly rejects a uniform gate that would contradict the immutable RFC-0005. The amendment strengthens commitment #3 by replacing a frozen blocklist with a permanent floor + standards-driven frontier. The RFC is honest about its scoping limits (rule-of-three, config deferral, crypto-agility guard) and cites RFC 9142 as the external precedent for standards-body-maintained legacy definitions.

One remaining nit (non-blocking)

Prior art § (lines 216–217) still calls RFC-0006 one of "the two worked instances this procedure generalizes." The Summary correctly distinguishes "already implemented" (RFC-0005) from "gated and not yet implemented" (RFC-0006). Aligning the prior art language would strengthen the RFC's own rule-of-three self-critique in the Drawbacks section. Not blocking — flagged as non-blocking in three prior review rounds.

Anchored to CLAUDE.md hard rule #3 (zero legacy), CLAUDE.md §"RFC vs ADR vs plain PR" (MANIFIESTO amendment requires RFC lane), and threat model §8.10 (cross-reference to mechanism).

github run

claude-review round 3:
- Decision tree had no escape for a live-only primitive broken NOW —
  only the ~2035 disallow backstop. Added an emergency override: a
  practical break voids the gates and migration is immediate (a gate
  schedules an orderly migration, never licenses a broken primitive).
- §3's "legacy" floor pointed only at the MANIFIESTO prose, missing
  ECDSA-NIST / ssh-rsa / compression that CLAUDE.md hard rule #3 bars.
  Clarified: CLAUDE.md rule #3 is the operative compile-time blocklist;
  the MANIFIESTO list is illustrative.
- §1 quoted §8.10's old "deprecation deadlines" wording that this PR
  itself rewrites; de-quoted / aligned to "disallow dates".

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
@gonzafg2

gonzafg2 commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

On the Status=Accepted point: this matches the established pattern — RFC-0005 and RFC-0006 were both merged with Status: Accepted set in their accepting PR (the merge is the act of acceptance per README §6, and the field records the state that lands on main). Keeping Accepted for consistency. The three content findings (emergency path, ECDSA-NIST floor, self-quote) are fixed in the latest commit.

@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review: RFC-0007 — Cryptographic-primitive migration procedure

Classification: ADR/RFC docs under docs/rfcs/. Amends MANIFIESTO commitment #3. Reviewed against the five MANIFIESTO commitments, threat model, and CLAUDE.md.


Verdict: Approve (one non-blocking procedural note)

The RFC has been through 5 review rounds. All blocking findings from prior reviews are resolved:

  • "prohibido (disallowed)" replaces "deprecado" in the MANIFIESTO amendment, correctly encoding deprecation as the trigger and disallowance as the legacy line. ✓
  • Emergency path added to the decision tree: a practically-broken primitive voids gates and triggers immediate migration. ✓
  • EC DSA-NIST / CLAUDE.md floor explicitly cited. §3 now reads "the operative floor is CLAUDE.md hard rule Generate and publish project PGP key for SECURITY.md #3, which enumerates more than the MANIFIESTO prose (it adds EC DSA-NIST, ssh-rsa, and compression)." The policy floor vs. implementation ceiling distinction is clearly articulated. ✓
  • Threat model §8.10 now uses "disallow dates" — consistent with the RFC's deprecation-vs-disallowance thesis. ✓
  • ADR-0015 correctly labeled "(the errata / immutability rule)" in Prior Art. ✓
  • "three sentences" correctly describes the MANIFIESTO amendment scope. ✓
  • Self-quote in Motivation now matches the current §8.10 text. ✓

Design soundness

The asymmetrical decision tree (no gate for retroactive-exposure primitives, gated with disallow-date backstop for live-only) is the correct extraction. A uniform gate would contradict the immutable RFC-0005 — and the RFC explicitly rejects it. The amendment strengthens commitment #3 by replacing a frozen blocklist with a permanent floor + standards-driven frontier. The RFC is honest about its scoping limits (rule-of-three, config deferral, crypto-agility guard).

One procedural note (non-blocking)

Status: Accepted (2026-07-01) on an open PR. The RFC README §5 requires a 14-day comment period for non-trivial (MANIFIESTO-amending) RFCs before merge, and §6 says acceptance is conferred at merge. The author argues this matches precedent (RFC-0005, RFC-0006) — but those RFCs are already merged and their status fields reflect post-merge state. Setting Accepted before the comment period closes pre-empts the process. If this is the intended convention, it should be documented; otherwise, Draft is the correct status for an open PR.

One residual phrasing nit (non-blocking)

Line 88 in the Guide-level section references "§8.10's migrate-before-deadlines commitment." §8.10 now says "migrate before the applicable NIST/IETF disallow dates" — the word "deadlines" is a generic holdover from the pre-fix text. Not a contradiction (it's not a direct quote), but it's adjacent to the deprecation-vs-disallow thesis the RFC itself makes load-bearing.

Anchored to CLAUDE.md hard rule #3 (zero legacy), CLAUDE.md §"RFC vs ADR vs plain PR" (MANIFIESTO amendment requires RFC lane), and threat model §8.10 (normative cross-reference).

github run

Round-4 review surfaced a governance inversion (my round-3 fix had made
CLAUDE.md normative, so a plain PR editing rule #3 could change policy
without the RFC gate). Root cause: folding a MANIFIESTO amendment into a
procedure RFC. Per the lead's call, separate the two:

- Reverted the MANIFIESTO.es.md edit — no founding-commitment change here.
- RFC-0007 is now the procedure only: the retroactive-exposure decision
  tree (+ emergency path) and the supersession mechanics. Solid, stable,
  no immutable-doc contradiction.
- §3 rewritten as DESCRIPTIVE (how the procedure treats "legacy" as a
  moving frontier), explicitly not an amendment and not relocating
  authority to CLAUDE.md. The standing blocklist references CLAUDE.md
  rule #3 as the reviewer-facing enumeration, not as normative source.
- The formal amendment of MANIFIESTO #3 (making the moving-frontier
  "legacy" normative) is deferred to a dedicated RFC (Future possibilities).

This is the "one decision per RFC" discipline: the procedure lands now;
the manifesto amendment gets its own careful decision.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
@gonzafg2 gonzafg2 changed the title docs(rfc): RFC-0007 — cryptographic-primitive migration procedure (amends MANIFIESTO #3) docs(rfc): RFC-0007 — cryptographic-primitive migration procedure Jul 2, 2026
@gonzafg2

gonzafg2 commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

Scope change (per lead decision): the MANIFIESTO commitment #3 amendment is removed from this PR and deferred to a dedicated RFC. RFC-0007 is now the migration procedure only — decision tree (+ emergency path) and supersession mechanics — with §3 rewritten as descriptive (not an amendment, no authority relocated to CLAUDE.md). MANIFIESTO.es.md is reverted. This resolves the round-4 governance-inversion finding at the root.

@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Classification: ADR/RFC docs under docs/rfcs/. Reviewed against the five MANIFIESTO commitments, threat-model hard rules, and CLAUDE.md.


Verdict: Approve (two residual non-blocking nits)

The scope change in the latest commit (87eddfa) resolved the governance-inversion finding at the root. The MANIFIESTO amendment is removed — §3 is now explicitly descriptive, the amendment is deferred to a dedicated RFC, and authority is correctly stated: "CLAUDE.md and the MANIFIESTO remain what they are, and the RFCs remain authoritative over both" (lines 178-179). All prior blocking findings are resolved: emergency path present (lines 113-118), ECDSA-NIST in the blocklist (line 167), self-quote aligned with current §8.10 text, ADR-0015 correctly labeled, and Status=Accepted matching established precedent.

Design soundness

The asymmetrical decision tree (no gate for retroactive-exposure, gated for live-only with disallow-date backstop + emergency override) is the correct extraction from two precedents. A uniform gate would contradict the immutable RFC-0005. The threat-model §8.10 change is a factual cross-reference that closes a documented gap (the old "migrate before deprecation deadlines" had no mechanism).

Two residual nits (non-blocking)

  1. Prior art § (lines 228-229) still calls RFC-0006 one of "the two worked instances this procedure generalizes." RFC-0006's own Summary says it records an exit path "without implementing it yet" — its gates have not fired. The Summary (lines 11-15) correctly distinguishes "already implemented" vs. "gated and not yet implemented." Flagged and declined in 4 prior rounds.

  2. Line 89: "§8.10's migrate-before-deadlines commitment" — §8.10 now says "disallow dates." The word "deadlines" is a generic holdover, not a direct quote, so it's not a contradiction. Flagged and declined in round 5.

Anchored to CLAUDE.md hard rule #3 (zero legacy), threat model §8.10 (mechanism cross-reference), and docs/rfcs/README.md §5-6 (acceptance at merge).

github run

@opencode-agent

opencode-agent Bot commented Jul 2, 2026

Copy link
Copy Markdown

Verdict: Approve — no blocking findings after 5 review rounds.

What changed between the initial PR and the current state

The critical scope change per lead decision pulled the MANIFIESTO commitment #3 amendment into a deferred dedicated RFC. The PR is now purely: (1) the migration procedure RFC-0007 itself, and (2) the threat-model §8.10 cross-reference that anchors the existing commitment to its mechanism. MANIFIESTO.es.md is untouched.

Design soundness

The asymmetrical decision tree (no gate for retroactive-exposure primitives, gated with emergency override + disallow-date backstop for live-only) correctly extracts the core proven by the two precedents. A uniform gate would contradict immutable RFC-0005, and the RFC explicitly rejects it. The emergency path — practically-broken primitives void all gates regardless of retroactive/live class — closes the gap flagged in a prior review round. The threat-model change (§8.10: "deprecation deadlines" → "applicable NIST/IETF disallow dates") aligns the founding document with the procedure's own two-class distinction. ✓

Remaining nits (non-blocking, all previously flagged)

  1. Prior art § "worked instances" (line 229) conflates RFC-0005 (completed migration) with RFC-0006 (planned migration). The Summary section (§10–14) distinguishes them correctly; the Prior Art section does not. Flagged in 3+ review rounds. Non-blocking.

  2. "migrate-before-deadlines" (line 89) uses the pre-fix phrasing. §8.10 now reads "migrate before the applicable NIST/IETF disallow dates." Not a direct quote, not a contradiction — a residual terminology holdover. Non-blocking.

  3. Status: Accepted on an open PR. RFC README §5 requires a 14-day comment period; §6 ties acceptance to merge. The author argues this matches RFC-0005/RFC-0006 precedent (post-merge state recorded at merge time). Non-blocking procedural note.

CLAUDE.md rule anchors

  • Hard rule Generate and publish project PGP key for SECURITY.md #3 (zero legacy): The standing blocklist is correctly enumerated (SSH-1, RSA, DSA, ECDSA-NIST, CBC modes, diffie-hellman-group1/14-sha1, ssh-rsa, password auth, compression). The "never compiled in" ceiling is preserved. ✓
  • CLAUDE.md §"RFC vs ADR vs plain PR": The threat-model change to a non-goal (§8.10) correctly travels the RFC lane. ✓
  • Threat model §8.10: Cross-reference to RFC-0007 closes the documented gap — a commitment with no mechanism now has one. ✓

github run

@gonzafg2
gonzafg2 merged commit b2450e5 into main Jul 2, 2026
11 checks passed
@gonzafg2
gonzafg2 deleted the docs/rfc-0007-migration-procedure branch July 2, 2026 10:54
Comment thread docs/threat-model.md
Comment on lines +1466 to +1467
to track NIST and IETF guidance and to migrate before the applicable
NIST/IETF disallow dates, not to anticipate breakthroughs that have not yet

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commitment weakened by ~5 years; accepted RFC-0006 quotation is now permanently stale

The edit changes the project's operative migration commitment from "migrate before deprecation deadlines" to "migrate before the applicable NIST/IETF disallow dates." Per NIST IR 8547 — cited in this same document at §9 — deprecation is established by ~2030 and disallowance after ~2035. This is a substantive relaxation of the §8.10 backstop, not a clarification.

Two CLAUDE.md anchors:

  1. Threat model is authoritative. CLAUDE.md names docs/threat-model.md as "the authoritative reference; the operative rules a reviewer applies." A commitment shifted five years later in the authoritative document weakens the defensive posture the document is meant to record.

  2. Accepted RFC-0006 quotes the old text verbatim. docs/rfcs/0006-post-quantum-host-key-signatures.md line 35 reads: "The threat model commits to 'track NIST and IETF guidance and migrate before deprecation deadlines' (§8.10)…" After this PR that quoted text no longer matches §8.10. Per docs/rfcs/README.md lines 114–115, accepted RFCs are immutable ("we do not edit accepted RFCs in place; we layer new ones on top") and have no errata mechanism — so the stale quotation in RFC-0006 cannot be corrected without writing a superseding RFC.

Suggested fix: preserve "deprecation deadlines" as the primary commitment and add the disallow-date line as a hard backstop, so §8.10 stays consistent with RFC-0006's quotation and the RFC-0007 forward-pointer can still be added:

Suggested change
to track NIST and IETF guidance and to migrate before the applicable
NIST/IETF disallow dates, not to anticipate breakthroughs that have not yet
to track NIST and IETF guidance and to migrate before the applicable
NIST/IETF deprecation deadlines (and in all cases before the
applicable disallow dates), not to anticipate breakthroughs that have not yet

If the intent is genuinely to move the deadline to the disallow date, that change to a founding commitment belongs in its own dedicated RFC (RFC-0007 §3 explicitly defers this: "formalising the moving-frontier notion of 'legacy' into MANIFIESTO commitment #3 … is out of scope here and deferred to a dedicated RFC").

Comment on lines +87 to +88
exactly this window). MANIFIESTO #3's blocklist is the *floor* (those are already
disallowed); the frontier moves forward on the standards bodies' schedule, and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Those are already disallowed" is factually inaccurate and contradicts §3's own two-leg definition

The parenthetical asserts that items on MANIFIESTO #3's blocklist "are already disallowed" — meaning disallowed by NIST/IETF, since that is the precise technical meaning the surrounding paragraph has established ("disallowance (~2035) is the line past which a primitive is legacy"). That claim is wrong for several blocklist members:

  • ECDSA-NIST is still NIST-approved under FIPS 186-5; it is not disallowed.
  • RSA and CBC are likewise not past any NIST/IETF disallow date.

These items are blocked by project policy (MANIFIESTO commitment #3), not because a standards body has disallowed them.

This is also internally contradicted by Reference §3's own two-leg definition (later in this file): "A primitive is legacy once it is past its NIST/IETF disallow date, or it is on the project's standing blocklist." The second leg ("or on the project's standing blocklist") exists precisely because blocklisted ≠ standards-disallowed. §3 even notes "the standing blocklist … is broader than the MANIFIESTO #3 prose." Collapsing the two legs into "those are already disallowed" undercuts the RFC's own distinction.

Suggested change
exactly this window). MANIFIESTO #3's blocklist is the *floor* (those are already
disallowed); the frontier moves forward on the standards bodies' schedule, and
disallowed); the frontier moves forward on the standards bodies' schedule, and

Should be:

Suggested change
exactly this window). MANIFIESTO #3's blocklist is the *floor* (those are already
disallowed); the frontier moves forward on the standards bodies' schedule, and
project-blocked, a stricter floor than the NIST/IETF disallow line); the frontier moves forward on the standards bodies' schedule, and

Comment on lines +149 to +155
### 3. How the procedure treats "legacy" (descriptive; formal amendment deferred)

The decision tree above needs a working notion of when a primitive has become
*legacy* (must be gone) versus merely *deprecated* (migration has been
triggered). The procedure uses this frontier:

- A primitive is **legacy** once it is past its NIST/IETF **disallow** date, or

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normative gap: Guide-level Step 3 cites §1 as authority for a claim that only §3 can support

Guide-level Step 3 (around line 91–92) asserts: "A deprecated-but-not-disallowed primitive legitimately stays compiled in under the decision tree above." The word "legitimately" here means "without violating MANIFIESTO #3's zero-legacy commitment." But the normative decision tree in Reference §1 never defines what "legacy" means for MANIFIESTO #3 purposes — it only specifies migration timing (retroactive vs. live-only, gated vs. ungated). The definition that makes Step 3's claim true — that deprecated-but-not-disallowed is not yet legacy — is exclusively in this §3, which is headed "descriptive; formal amendment deferred" and explicitly states: "This section is descriptive, not an amendment."

The RFC's own Drawbacks section acknowledges the gap: "The moving-frontier 'legacy' notion is described here but not yet normative in MANIFIESTO." Yet Guide-level Step 3 presents the conclusion as settled and anchors it to §1. A reviewer applying CLAUDE.md rule #3 ("Zero legacy — none of these may be compiled in") after this RFC is accepted cannot resolve from the normative sections alone whether a deprecated-but-not-disallowed primitive violates that rule. The answer requires §3, but §3 is non-normative.

CLAUDE.md anchor: "RFC — a shape-determining decision: … anything that contradicts or refines a README.md / MANIFIESTO.es.md commitment." The "legacy = disallow date" frontier is precisely such a refinement. RFC-0007 places it in a non-normative section while applying it normatively in the Guide — this leaves the MANIFIESTO and the RFC's normative sections in unresolved tension.

Suggested path: Either (a) promote §3 to normative status in this RFC (accepting that this RFC is itself the dedicated refinement RFC), or (b) remove the "legitimately stays compiled in" language from Step 3 and instead note that the question of whether deprecated-but-not-disallowed primitives satisfy MANIFIESTO #3 is deferred and will be resolved by the §3 follow-on RFC.

gonzafg2 added a commit that referenced this pull request Jul 2, 2026
* docs(rfc): RFC-0008 — SSH certificate authentication

Resolves the #41 gap (a Phase-2 mitigant named in threat-model §5.3.2 but
undesigned). Fixes three decisions:

1. Native OpenSSH cert format (*[email protected], tracking
   draft-ietf-sshm-cert); X.509 rejected on commitment #4 (ASN.1 surface
   on the pre-auth path).
2. The CA signing key is BOUND to RFC-0006's composite ML-DSA+Ed25519
   target and its two gates — a CA key is higher-value than any single
   host key (one forgery = universal impersonation), so it gets the
   highest bar. The format may ship earlier with an Ed25519 CA (same
   live-only asymmetry), flipping to composite when the gates fire.
3. Short-lived certificates are the primary revocation story; KRL is a
   bounded, opt-in, SSHSIG-signed add-on, not a launch requirement.

Trust anchoring via cert-authority-in-authorized_keys (the config-file
surface is Phase 2). New audit fields (serial, key id, CA fingerprint,
principal) land via a superseding ADR-0024. Verification stays in the
userauth type-state stage — no accept-and-branch. threat-model §5.3.2
now points at RFC-0008. Status: Draft.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0008 review fixes; Status → Accepted

copilot on #95:
- Status Draft → Accepted (thesis approved: native cert format, CA bound
  to RFC-0006, short-lived-primary revocation).
- Made the Implementation-PR reference a proper internal anchor.

(The RFC-0007 links the reviewers flagged as dangling resolve once #93
lands on main, ahead of this PR in the merge order.)

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0008 — reject host-type certificates in user auth

claude-review: the validation enumerations named CA-signature, validity,
principal, and critical-options but omitted the certificate TYPE check. A
host-type cert (type=2) whose valid-principals happened to contain a
username would pass every named check — OpenSSH enforces the type match
for exactly this reason. Added "certificate type MUST be user; host-type
rejected" to both the guide-level and reference-level enumerations,
consistent with the RFC's fail-closed posture.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0008 — reframe as one decision (adopt cert auth)

claude-review (one-decision-per-RFC): the RFC bundled three separable
decisions (format / CA posture / revocation), each with its own
alternatives — so an objection to one blocked all three, the exact
failure the scope rule prevents. Per the lead's call, reframed as a
single shape-determining decision — "adopt SSH certificate authentication
in Phase 2" — with format/CA/revocation presented as the recommended
*shape* (design sub-choices), each finalised in an implementing ADR that
can be revised without re-opening the adopt/defer decision. Rationale
section now runs one decision (adopt/defer/never) + sub-choices, not
three parallel analyses.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

---------

Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Jul 18, 2026
Amends MANIFIESTO commitment #3, the amendment RFC-0007 deliberately
deferred (folding it into the procedure RFC bundled decisions and, in
review, inverted governance by making CLAUDE.md normative). One decision:
refine "Cero legacy" from a fixed blocklist into a permanent floor plus a
standards-defined moving frontier.

- Legacy = the fixed floor, plus anything NIST/IETF has *disallowed*.
  Deprecation triggers a managed migration; disallowance is the legacy
  line. Keeps the commitment coherent with RFC-0006 (Ed25519 through
  2030–2035) and RFC-0007's disallow-date backstop.
- Classical-only is forbidden; classical-plus-PQ (the hybrid posture) is
  not — the classical half of a hybrid is not legacy.
- The floor is enumerated authoritatively IN the RFC (SSH-1, RSA, DSA,
  ECDSA-NIST, CBC, dh-group1/14, ssh-rsa, password, compression); CLAUDE.md
  rule #3 is the reviewer-facing mirror, not the source of authority
  (fixes the governance-inversion the #93 review surfaced).

Edits MANIFIESTO.es.md and nothing else; the migration mechanism stays in
RFC-0007. Incorporates every coherence fix from the #93 review rounds so
it lands clean.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Jul 18, 2026
…ier (amends MANIFIESTO #3) (#96)

* docs(rfc): RFC-0009 — zero-legacy as a standards-defined moving frontier

Amends MANIFIESTO commitment #3, the amendment RFC-0007 deliberately
deferred (folding it into the procedure RFC bundled decisions and, in
review, inverted governance by making CLAUDE.md normative). One decision:
refine "Cero legacy" from a fixed blocklist into a permanent floor plus a
standards-defined moving frontier.

- Legacy = the fixed floor, plus anything NIST/IETF has *disallowed*.
  Deprecation triggers a managed migration; disallowance is the legacy
  line. Keeps the commitment coherent with RFC-0006 (Ed25519 through
  2030–2035) and RFC-0007's disallow-date backstop.
- Classical-only is forbidden; classical-plus-PQ (the hybrid posture) is
  not — the classical half of a hybrid is not legacy.
- The floor is enumerated authoritatively IN the RFC (SSH-1, RSA, DSA,
  ECDSA-NIST, CBC, dh-group1/14, ssh-rsa, password, compression); CLAUDE.md
  rule #3 is the reviewer-facing mirror, not the source of authority
  (fixes the governance-inversion the #93 review surfaced).

Edits MANIFIESTO.es.md and nothing else; the migration mechanism stays in
RFC-0007. Incorporates every coherence fix from the #93 review rounds so
it lands clean.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0009 review fixes

claude-review + copilot on #96:
- Fixed the core coherence issue: the MANIFIESTO fixed list ("RSA-1024",
  password "en el perfil por defecto") is narrower than RFC-0009's
  authoritative floor. The amendment now marks the manifesto list as
  ILLUSTRATIVE and delegates the complete/authoritative floor to RFC-0009,
  so the two no longer disagree — without rewriting the list (a separate
  decision).
- Completed the floor-vs-prose gap enumeration (all RSA not just RSA-1024;
  dh-group14; password-auth outright vs "default profile").
- Aligned the RFC's Spanish blockquote with the actual MANIFIESTO text.
- Qualified the monotonicity claim against the un-disallow case (Future).
- "lema" -> "motto"; "edits X and nothing else" / "no other document" ->
  "no code change; only existing doc amended is the manifesto".

Thesis unchanged (moving frontier by disallow date; hybrid classical half
not legacy).

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0009 — narrow to the moving frontier only

Round-2 review showed the RFC had over-reached: by re-declaring an
authoritative floor and casting CLAUDE.md as a "mirror", it opened three
pre-existing inconsistencies unrelated to its actual decision (CLAUDE.md
not updated to match; "classical-only forbidden" contradicting the
sanctioned bare-Ed25519 signature interim; password "en el perfil por
defecto" vs never-compiled). Per the lead's call, narrow to the single
decision:

- The amendment now adds ONLY the moving frontier — "legacy is also
  whatever NIST/IETF has disallowed, on top of the existing list" — with
  the deprecation/disallow distinction. It does not re-enumerate or
  re-authority the blocklist, touch CLAUDE.md, or reopen the classical-
  signature interim (RFC-0006 governs that).
- Added an explicit "Scope boundary" section stating what it does not
  touch; reconciling manifesto-prose-vs-CLAUDE.md gaps is left as a
  separate concern.
- Hybrid clause narrowed to the KEX (X25519), with a note that it says
  nothing about the signature interim.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0009 → Draft; open the 14-day comment window

Review correctly flagged that the RFC process (docs/rfcs/README.md §5)
requires a 14-day comment window for a non-trivial RFC, Status Draft
until it closes (precedent: RFC-0003, lazy consensus). Amending a
MANIFIESTO commitment is the highest lane, which raises the bar. Marking
this Draft with the comment period through 2026-07-16; it advances to
Accepted at close absent substantive objection. Content is settled;
this is the process window, not a content change.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): apply review findings — Accepted status and blockquote link sync

The comment period (through 2026-07-16) closed with no substantive
objection; advance the Status to Accepted by lazy consensus as the
Status line itself announced. Sync the amendment blockquote with the
committed MANIFIESTO text: restore the RFC-0009/RFC-0007 markdown
links (retargeted relative to docs/rfcs/ so they resolve from this
file).

Claude-Session: https://claude.ai/code/session_01J2SZwLuDm1KjfYyPM8npTa
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): apply Claude review — plain Accepted status, IETF term mapping

The Status line cited README.md §5 for lazy consensus, but that rule
lives in the unnumbered Decision-rule section; adopt the plain
'Accepted (date)' form every other merged RFC uses. Operationalize the
IETF half of the frontier trigger: MUST NOT maps to disallowance (the
frontier fires), SHOULD NOT maps to deprecation (starts the RFC-0007
migration clock), closing the checkable-answer gap the review named.

Claude-Session: https://claude.ai/code/session_01J2SZwLuDm1KjfYyPM8npTa
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): anchor Roadmap issue to the Phase-2 issue

The Roadmap-issue field led with a research issue (#42), the pattern
docs/rfcs/README.md §Tracking rules out. Lead with the Phase-level
issue instead — #109 (Phase 2, the current roadmap phase), as RFC-0010
does — keeping the RFC-0007/#42 provenance note. Not #9 as the review
suggested: Phase 1 is closed and this amendment is not one of its
deliverables.

Claude-Session: https://claude.ai/code/session_01J2SZwLuDm1KjfYyPM8npTa
Signed-off-by: Gonzalo Fleming <[email protected]>

---------

Signed-off-by: Gonzalo Fleming <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design: no mechanism defined for migrating cryptographic primitives as NIST/IETF deprecates them

2 participants