Skip to content

docs(rfc): mark RFC-0012 as Accepted - #214

Merged
gonzafg2 merged 1 commit into
mainfrom
docs/rfc-0012-accepted
Oct 28, 2026
Merged

gonzafg2 merged 1 commit into
mainfrom
docs/rfc-0012-accepted

Conversation

@gonzafg2

Copy link
Copy Markdown
Owner

Summary

This PR only flips the Status of RFC-0012 from Draft to Accepted (2026-10-28). #172 merged on 2026-10-28 (029ff37). docs/rfcs/README.md step 6 makes the merge the acceptance, and the Status flips in a follow-up PR, as #168 did for RFC-0011.

The 14-day comment period of step 5 ran from 2026-10-08 to 2026-10-22, so the merge came after it closed. Claude and Codex both approved the final head.

No other change.

https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T23:02:17.656223Z 0562a6b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@opencode-agent

Copy link
Copy Markdown

APIError: Insufficient Balance (request_id: 783c1e45-7130-4dc7-9d96-1194ae2bf151)

github run

#172 merged on 2026-10-28 (029ff37); per docs/rfcs/README.md step 6
merge is acceptance, and the Status flips in a follow-up as #168 did
for RFC-0011.

Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp
Signed-off-by: Gonzalo Fleming <[email protected]>
@gonzafg2
gonzafg2 force-pushed the docs/rfc-0012-accepted branch from 0562a6b to 873a12e Compare October 28, 2026 23:02
@opencode-agent

Copy link
Copy Markdown

APIError: Insufficient Balance (request_id: b7f361cb-0c49-4385-be28-dcb809ab486d)

github run

@claude

claude Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

PR Review: docs(rfc): mark RFC-0012 as Accepted (#214)

Decision: 🟢 Approved
Iteration: First review
Lenses applied: Design decision (docs/rfcs/) — RFC governance process, MANIFIESTO commitments

Executive summary

This is a single-line status flip — Draft → Accepted (2026-10-28) — in docs/rfcs/0012-composite-host-key-cutover.md, following the established follow-up-PR acceptance pattern (RFC-0011 / PR #168). The governance prerequisites are met: the 14-day comment period closed 2026-10-22; the implementing PR (#172) merged 2026-10-28; both RFC-0006 adoption gates (WG adoption and OpenSSH 10.6 enabling the bare name) fired before acceptance. The RFC decision — composite ssh-mldsa44-ed25519 host key cutover, no @openssh.com experimental name compiled in, no NIST P-384 fallback — is sound on all five MANIFIESTO commitments. Commit message follows Conventional Commits. No blocking or important findings.

@gonzafg2
gonzafg2 merged commit ea86b20 into main Oct 28, 2026
10 of 11 checks passed
gonzafg2 added a commit that referenced this pull request Oct 29, 2026
#194 merged on 2026-10-28 (f2ce221). Per docs/rfcs/README.md step 6,
the merge is the acceptance, and the Status flips in a follow-up, as
#214 did for RFC-0012. ADR-0041's and ADR-0042's Related lines no longer
call it a Draft.

Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp
Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Oct 29, 2026
…hed byte counts (Proposed) (#195)

* docs(adr): ADR-0041 and ADR-0042 — SFTP v3 server details; exec.finished byte counts (Proposed)

Implementing ADRs for RFC-0013 (Draft, #194):

- ADR-0041 locks the SFTP server: the subsystem request rules, the
  helper dispatch and the Config::helper rename, OpenSSH's 256 KiB and
  read bounds, a 256-handle cap, exactly one response per request, the
  operation mapping on std::fs/rustix, OpenSSH's RENAME and SYMLINK
  semantics, the four advertised extensions, fixed status messages, and
  a numeric, UTC longname. It answers the RFC's open questions 1, 2 and 4.
- ADR-0042 adds bytes_received and bytes_sent to exec.finished for every
  request type, counted at the channel driver, realising threat model
  §5.4.4's record (the RFC's question 3).

Both stay Proposed until RFC-0013 is accepted and the implementation
lands.

Refs #109

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

* docs(adr): ADR-0041 applies RFC-0013's §5.4.5 entry; ADR-0038 Status pointer for request_type

- The threat model's new §5.4.5 entry now comes from RFC-0013 (RFC
  lane), and the implementation PR adds it verbatim; §5.4.4 gets only a
  factual pointer to ADR-0042.
- The implementation PR also records on ADR-0038's Status that this ADR
  extends §9's request_type values with "subsystem".

From opencode's review of #195.

Refs #109

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

* docs(adr): ADR-0041 — APPEND writes, CLOSE errors, OpenSSH's full RENAME, ADR-0038 §1 pointer

From the reviews of #195 (Codex, claude-review, opencode), checked
against openssh-portable V_10_6_P1 and rustix 1.1.5:

- WRITE on an APPEND handle uses write_all, as OpenSSH skips lseek for
  O_APPEND; positional writes never carry APPEND, since pwrite ignores
  O_APPEND on macOS (POSIX).
- CLOSE syncs a written file with sync_data before dropping it and maps
  a failure, the only safe way to see a deferred write error: File's
  Drop ignores close errors and rustix's close is unsafe and returns
  nothing. The fdatasync per written file is a recorded cost.
- RENAME follows OpenSSH fully: the EOPNOTSUPP/ENOSYS/EXDEV fallback to
  check-then-rename, and removing the spare link when unlink fails.
- The planned ADR-0038 Status pointer names §1 (subsystem now honoured)
  as well as §9.

Refs #109

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

* docs(adr): ADR-0041 — OpenSSH's OPEN flags, realpath and expand-path; EPERM link fallback; no sync on special files

Codex on #195, each checked against openssh-portable V_10_6_P1:
- OPEN builds OpenSSH's flags_from_portable flags with rustix::fs::open:
  READ|APPEND stays read-only and READ|CREAT is valid, which OpenOptions
  cannot express;
- REALPATH follows OpenSSH's sftp-realpath.c, the final symlink included
  (32 links), so a dangling final symlink resolves to its target;
- expand-path takes ~ from the working directory ($HOME or /), as
  process_extended_expand uses getcwd;
- RENAME's link fallback also covers Linux EPERM (LINK_OPNOTSUPP_ERRNO);
- CLOSE syncs written regular files only: fdatasync fails with EINVAL on
  FIFOs, sockets and devices.

Refs #109

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

* docs(adr): ADR-0041 — RENAME's existence check does not follow symlinks; future mtimes show the year

Codex on #196:
- every RENAME existence check uses symlink_metadata, so a dangling
  symlink at the destination is never replaced (stricter than OpenSSH's
  stat, in the direction of the no-overwrite invariant);
- the longname uses the time form only for an mtime in the six months
  up to now; a future mtime gets the year (OpenSSH's sftp-common.c rule).

Refs #109

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

* docs(adr): ADR-0041 — cap checked before OPEN; non-blocking SETSTAT size; READDIR errors and metadata

Second review round on #196:
- the handle cap is checked before the open: a refused OPEN has no side
  effect;
- SETSTAT's size on a path uses a write-only, non-blocking open and
  ftruncate, so a FIFO with no reader fails at once (OpenSSH: truncate(2));
- READDIR's metadata comes through the open directory without following
  symlinks; unreadable entries are skipped (as OpenSSH's failed lstat);
  a failed directory read is the reply's status, EOF only when exhausted.

Refs #109

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

* docs(adr): ADR-0041 — exit 0 only at EOF on a packet boundary (RFC-0013)

Follows RFC-0013's clarification from Codex on #194; the implementation
already returns 2 for EOF inside a packet (read_packet).

Refs #109

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

* docs(adr): ADR-0041 — Alternative 1 lists every rustix use

claude-review on #195: the rationale said rustix is used only for
utimensat, but §4 now also uses it for OPEN's flag mapping and for
SETSTAT's non-blocking size change on a path.

Refs #109

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

* docs(adr): ADR-0041 — an empty path is read as "." (RFC-0013 §4)

OpenSSH's sftp-server normalizes the empty path only in REALPATH and
expand-path; the helper does it for every path argument, as SFTP v3
§6.2 defines, except SYMLINK's target.

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

* docs(rfc): mark RFC-0013 as Accepted

#194 merged on 2026-10-28 (f2ce221). Per docs/rfcs/README.md step 6,
the merge is the acceptance, and the Status flips in a follow-up, as
#214 did for RFC-0012. ADR-0041's and ADR-0042's Related lines no longer
call it a Draft.

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

---------

Signed-off-by: Gonzalo Fleming <[email protected]>
@gonzafg2
gonzafg2 deleted the docs/rfc-0012-accepted branch December 1, 2026 20:13
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.

1 participant