Skip to content

docs: drop roadmap estimates; codify one-decision-per-file conventions - #25

Merged
gonzafg2 merged 8 commits into
mainfrom
docs/drop-roadmap-estimates-and-rfc-adr-conventions
May 27, 2026
Merged

gonzafg2 merged 8 commits into
mainfrom
docs/drop-roadmap-estimates-and-rfc-adr-conventions

Conversation

@gonzafg2

Copy link
Copy Markdown
Owner

Summary

Two coupled process changes that fell out of the Phase-0/Phase-1 boundary review and which the project lead approved before this PR was opened.

1. Drop per-Phase calendar estimates from the roadmap.

README.md §"Roadmap" no longer commits to per-Phase calendar estimates. The previous wording — "We expect Phase 1 to take weeks. Phase 2, months. Phase 3, a year or more." — was an implicit schedule promise that invited scope/quality compromises whenever a phase's real work outgrew the estimate. Phase 1's greenfield-vs-`russh` tension is the concrete case that surfaced this: the honest engineering answer (greenfield, several months) collided with the "weeks" promise, and the document was being asked to do two incompatible things at once.

Replacement wording:

Each phase ships when it is ready, not on a calendar. We do not estimate Phase durations: the schedule is a function of correctness, scrutiny, and community formation, and committing to a timeline would invert the priority. We are not in a hurry. Cryptographic infrastructure earns trust slowly.

The high-level ambitions in MANIFIESTO.es.md §"Cómo medimos el éxito" (year one / year two / year five outcomes) are deliberately kept — they are ambitions, not scope estimates, and removing them would weaken the project's stated direction.

2. Codify one-decision-per-file and Phase-issue-as-tracker conventions.

docs/rfcs/README.md gains two new sections:

  • Scope: one decision per RFC. Each RFC addresses one shape-determining decision. Subsidiary operative decisions (workspace topology, dependency version pins, configuration parameters) split into separate ADRs that cite the RFC, never packaged inside it. Reason: reviewability. A substantive objection to one half of a packaged RFC should not block the other half.
  • Tracking: roadmap issues, not per-RFC issues. RFCs cite the Phase-level GitHub issue (e.g. #9 for Phase 1) in their Roadmap issue: field. Discussion of a specific RFC happens on its PR; the roadmap + Phase issues are the project's single tracking surface.

docs/adr/README.md gains a symmetric Scope: one decision per ADR section: when an RFC is accepted, the implementing decisions split into separate ADRs, each citing the RFC; ADRs are cheap, disentangling two decisions later is not.

docs/rfcs/0000-template.md renames its Tracking issue: field to Roadmap issue: with default guidance to cite the Phase issue. RFC-0001 predates this convention and is left as historical record. The companion PR #24 (RFC-0002 Draft) applies the new field name retroactively in its own branch.

Why one PR for both changes

The two changes are coupled: dropping schedule estimates makes it obvious that the project is willing to invest the time good RFCs/ADRs deserve, and the granularity conventions are how that investment turns into reviewable artefacts rather than sprawl. They are also small enough that splitting them adds review overhead without buying anything.

Test plan

  • Diff review of the five files: README.md (one paragraph), docs/rfcs/README.md (two new sections), docs/adr/README.md (one new section), docs/rfcs/0000-template.md (one field rename), CHANGELOG.md (one Changed + three Added).
  • Confirm RFC-0001's Tracking issue: #20 field is not edited — it predates the convention and is historical record.
  • Confirm MANIFIESTO.es.md §"Cómo medimos el éxito" is not edited — those year-one / year-two / year-five hits are ambitions, not estimates, and the lead has confirmed they stay.
  • CI green (workspace-state guards remain self-disabled per ADR-0011).

Order with adjacent PRs

This PR is independent of #23 (factual errata) and #24 (RFC-0002 Draft). All three can merge in any order. #24 will receive a small follow-up commit to apply the new Roadmap issue: field to RFC-0002.

Two coupled process changes that fell out of the Phase-0/Phase-1
boundary review.

1. README.md §"Roadmap" no longer commits to per-Phase calendar
estimates. The previous wording ("Phase 1 takes weeks. Phase 2,
months. Phase 3, a year or more.") was an implicit schedule promise
that invited scope/quality compromises whenever a phase's real work
outgrew the estimate. Phase 1's greenfield-vs-russh tension is the
concrete example that surfaced this: the honest engineering answer
(greenfield, several months) collided with the "weeks" promise, and
the document was being asked to do two incompatible things at once.
The replacement makes the project's actual posture explicit: phases
ship when they are ready, the schedule is a function of correctness
and scrutiny, not the reverse. The high-level ambitions in
MANIFIESTO.es.md §"Cómo medimos el éxito" (year one / year two /
year five outcomes) are deliberately kept; they are ambitions, not
scope estimates.

2. docs/rfcs/README.md and docs/adr/README.md codify two conventions
that were tacit until now:

   a. One decision per file. Each RFC addresses one shape-determining
      decision; subsidiary decisions split into separate ADRs that
      cite the RFC, never packaged inside it. Each ADR records one
      decision. The reason is reviewability: an RFC reader must be
      able to state the decision in one sentence and the alternatives
      as a list, and a substantive objection to one half of a packaged
      RFC should not block the other half.

   b. Tracking via Phase-level issues, not per-RFC issues. The
      project's roadmap plus the Phase-level GitHub issues (e.g.
      #9 for Phase 1) are the tracking surface. RFCs cite the Phase
      issue in their Roadmap issue field; discussion of a specific
      RFC happens on its PR. Creating a separate issue per RFC would
      duplicate the roadmap and fragment the discussion across two
      surfaces.

   The template (docs/rfcs/0000-template.md) is updated to rename the
   Tracking issue: field to Roadmap issue: accordingly. RFC-0001
   predates this convention; its existing tracking-issue field is
   left as historical record rather than retroactively rewritten.
   RFC-0002 (PR #24) applies the new field name in the same PR.
Copilot AI review requested due to automatic review settings May 13, 2026 23:06
gonzafg2 added a commit that referenced this pull request May 13, 2026
Renames the Tracking issue: field to Roadmap issue: and points at the
Phase 1 tracking issue (#9), matching the convention codified in the
companion PR (#25). No content change to the RFC body itself.

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

Documentation-only PR that (1) removes per-Phase calendar estimates from the README roadmap and (2) codifies a one-decision-per-file convention for RFCs and ADRs, plus a roadmap-issue-as-tracker convention for RFCs.

Changes:

  • README roadmap paragraph reworded to drop week/month/year estimates.
  • docs/rfcs/README.md and docs/adr/README.md gain new "Scope" sections; rfcs README also adds a "Tracking" section.
  • RFC template field Tracking issue: renamed to Roadmap issue:; CHANGELOG updated.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Replaces calendar estimate sentence with no-timeline wording.
docs/rfcs/README.md Adds "one decision per RFC" and "roadmap issues, not per-RFC issues" sections.
docs/rfcs/0000-template.md Renames Tracking issue: field to Roadmap issue:.
docs/adr/README.md Adds symmetric "one decision per ADR" section.
CHANGELOG.md Documents the above under Added/Changed.

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

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

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

Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread docs/rfcs/0000-template.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>

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

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

Comment thread docs/rfcs/0000-template.md Resolved
Comment thread CHANGELOG.md Resolved
gonzafg2 and others added 2 commits May 24, 2026 20:38
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread docs/rfcs/0000-template.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@gonzafg2
gonzafg2 merged commit f9bb0cc into main May 27, 2026
6 checks passed
@gonzafg2
gonzafg2 deleted the docs/drop-roadmap-estimates-and-rfc-adr-conventions branch May 27, 2026 01:45
gonzafg2 added a commit that referenced this pull request May 27, 2026
Copilot Autofix reverted the field name from `Roadmap issue:` back to
`Tracking issue:` in commit 342c67f. Restore the field name so RFC-0002
is consistent with the convention codified in PR #25 (now merged at
f9bb0cc), which renames `Tracking issue:` to `Roadmap issue:` in the
RFC template and documents the rule in docs/rfcs/README.md.

Only this field-name regression is restored; the other Autofix-era
edits (closure-condition rewording, Summary restructure) are kept.
gonzafg2 added a commit that referenced this pull request Jun 10, 2026
* docs(rfc): draft RFC 0002 -- Phase-1 UID model and non-goal §8.12

Proposes two coupled refinements to docs/threat-model.md so the
document describes what QuantumSSH actually enforces during Phase 1
rather than what it intends to enforce once privilege separation
lands in Phase 3.

1. §2.5 (Command execution authority) gains a Phase-bounded paragraph
   noting that the strong form of the goal -- "authority on the host
   as the authenticated user" -- is the Phase 3 target, and pointing
   the reader at §8.12 for the Phase 1 reality. The asset definition
   itself is unchanged.

2. §8 (Out of scope) gains a new §8.12 "Per-user UID isolation until
   Phase 3", modelled on §5.5.4's disposition pattern. The non-goal
   has a named closure condition (a follow-up RFC that supersedes
   §8.12 when the Phase 3 privsep work lands), so the entry is
   auditable as temporary rather than as a permanent exemption.

The RFC also proposes a small addition to §2.7 (Audit record): the
log emitted on each command-execution boundary records executing_uid
distinct from authenticated_identity, so the gap §8.12 names is
visible to anyone who greps server logs.

Motivation: implementing real per-user UID isolation in Phase 1
requires running quantumsshd as root (or with CAP_SETUID + CAP_SETGID
on Linux), a privsep monitor, passwd/nsswitch/getpwnam resolution,
the correct setgid/initgroups/setuid sequence, and a PAM integration
boundary. Each of those is its own attack surface; OpenSSH's
sshd-session.c is roughly 4000 lines of careful C precisely because
this is hard. Phase 1's MANIFIESTO commitment to a "small attack
surface, sharp edges" is incompatible with that expansion. The
pragmatic path is to (a) run quantumsshd as a dedicated non-root
service account, (b) execute the command as that service account's
UID, and (c) document this honestly in the threat model so operators
and auditors are not misled by a §2.5 sentence the implementation
cannot back. RFC 0002 is the documentation half of that pragmatic
path.

Process: substantive change (non-goal addition) so it goes through
the RFC process per docs/threat-model.md's maintenance clause, and
will be open for >=14 days for comments per docs/rfcs/README.md.

* docs(rfc): apply Roadmap issue convention to RFC-0002

Renames the Tracking issue: field to Roadmap issue: and points at the
Phase 1 tracking issue (#9), matching the convention codified in the
companion PR (#25). No content change to the RFC body itself.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* docs(rfc): restore Roadmap issue: field in RFC-0002

Copilot Autofix reverted the field name from `Roadmap issue:` back to
`Tracking issue:` in commit 342c67f. Restore the field name so RFC-0002
is consistent with the convention codified in PR #25 (now merged at
f9bb0cc), which renames `Tracking issue:` to `Roadmap issue:` in the
RFC template and documents the rule in docs/rfcs/README.md.

Only this field-name regression is restored; the other Autofix-era
edits (closure-condition rewording, Summary restructure) are kept.

* docs(rfc): fix accuracy issues in RFC 0002 supporting text

- Motivation: README §"Phase 1" lists six deliverables, not five;
  add the omitted "structured logging via tracing" entry.
- Unresolved Q1: drop the fabricated "Phase 3 will take a year or
  more" roadmap quote (the README carries no per-phase estimates);
  cite the README's actual estimate-free stance instead.
- §8.12: note the numbering deconflicts with RFC 0001's reserved
  §8.11, with renumber guidance if RFC 0001 does not land first.
- §2.7: make the audit-record amendment paste-ready, matching the
  §2.5 and §8.12 blockquote style.

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
gonzafg2 added a commit that referenced this pull request Jun 10, 2026
* docs(rfc): draft RFC 0003 -- Phase 1 SSH stack greenfield vs russh

Proposes the foundational decision for Phase 1's SSH-2 transport,
KEX, authentication, and channel layers. Three options analysed
against the five MANIFIESTO commitments and threat-model §3.2.6:

  A. Greenfield-modular on audited primitive crates (chosen).
  B. russh with maximum mitigations (named fallback).
  C. Hybrid -- ssh-key for authorized_keys parsing only.

A wins on MANIFIESTO #1 (memory safety), #3 (zero legacy),
#4 (small surface), on threat-model containment, and on cargo audit
cleanliness. The only dimension where B won -- the README's old
'Phase 1 takes weeks' commitment -- no longer exists after PR #25
removed per-phase calendar estimates on 2026-05-27.

The decision is RFC-level (not ADR-level) because Phase 1's
foundation determines what code runs in QuantumSSH's pre-auth path
for the lifetime of the project; reversing later costs an order of
magnitude more than choosing once. Four follow-up ADRs become
unblocked when this RFC merges (workspace topology, unsafe_code
forbid promotion, ML-KEM crate selection, CI interop hard gate).

Source material: claudedocs/phase1-open-decisions.md (2026-05-13)
adversarial panel analysis with external citations. This RFC is
the public, normative version of that analysis.

Roadmap issue: #9 (Phase 1 / Hito 1).

* docs(rfc): fix crate count and GOVERNANCE.md link text in RFC-0003
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.

2 participants