deepseek-harness/docs/rfc/implemented
Tianyi Cui 90a19f072d docs(acp,rfc): fix stale ownership wording + propose unifying agent/session id (review)
Review follow-ups on the bash owner-token PR:

- packages/acp/README.md still described task isolation in object-identity terms
  ("records each background task's owning agent", "a different agent"). Rewrite
  to the session-token model: ownership is by `session.header.id`, stored on the
  executor's task, so a different Agent object on the same session may access it
  and ownership survives a tool-bash HMR reload.

- The reviewer flagged that the notice routes by `session.header.id` while the
  registry only enforces unique `agent.id`, so a programmatic caller could
  register two agents sharing a session token and mis-route a notice (not
  reachable via ACP). Rather than bolt a session-id invariant onto the generic
  registry, add a proposed RFC (2026-06-20-unify-agent-and-session-id) to remove
  the precondition by construction — an agent IS its session, one id — with a
  full risks discussion (forecloses multi-session-actor / fork futures, makes the
  config resume-or-create policy load-bearing, migration churn). The actual
  unification ships as its own Codex-converged PR. Cross-linked from the
  agent-lifecycle RFC's seam-precondition note.

- Reframe the tool-bash module-doc ownership paragraph to current-state (per the
  new AGENTS.md doc convention): contrast storing the token on the executor vs
  in the plugin as a standing rationale, not as "closing the old gap".
2026-06-20 13:38:48 +08:00
..
2026-06-11-content-block-vocabulary.md docs: retire completed tagged-envelope review TODO 2026-06-19 09:28:23 +08:00
2026-06-11-custom-schema-dsl.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-dev-invariants-over-deep-readonly.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-doc-sync-enforcement.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-event-sourced-sessions.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-microkernel-event-taxonomy.md Merge remote-tracking branch 'origin/master' into codex/pr48-repo-hardening-rfcs 2026-06-18 23:41:14 +08:00
2026-06-11-property-based-testing.md docs: address Codex review of the RFC reorg 2026-06-18 02:41:19 +08:00
2026-06-11-quality-gates.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-runtime-arg-validation.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-structured-error-taxonomy.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-tool-schemas-in-prompt-assembly.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-tsdown-over-dumble.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-11-vendor-cordis-as-source.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-13-capability-seams.md docs: address Codex review of the RFC reorg 2026-06-18 02:41:19 +08:00
2026-06-13-twin-llm-adapters.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-14-session-persistence.md refactor(session): drop the dead mutable SessionSummary 2026-06-20 01:03:57 +08:00
2026-06-15-turn-enclosure-invariant.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-16-pnpm-over-yarn.md docs: unify ADR/RFC trees into one lifecycle-organized RFC tree 2026-06-18 02:18:24 +08:00
2026-06-18-acp-terminal-and-tool-rendering.md fix(acp): address review of the terminal-card alignment (exit parse, background/error, capability snapshot) 2026-06-18 19:35:15 +08:00
2026-06-18-agent-lifecycle-and-ownership-seams.md docs(acp,rfc): fix stale ownership wording + propose unifying agent/session id (review) 2026-06-20 13:38:48 +08:00
2026-06-18-markdown-cross-link-lint.md docs: address Codex review of the RFC reorg 2026-06-18 02:41:19 +08:00
2026-06-18-shared-persistence-write-coordinator.md refactor(session-persistence): extract a shared write coordinator 2026-06-20 03:47:28 +08:00
2026-06-19-acp-snapshot-tests.md docs(rfc): keep implemented RFCs current; rewrite the llm-replay section in place 2026-06-19 17:06:20 +08:00
2026-06-19-drop-mutable-session-summary.md refactor(session-persistence): extract a shared write coordinator 2026-06-20 03:47:28 +08:00
2026-06-19-real-api-e2e-ci.md docs(rfc): record real-API e2e CI decision + security model 2026-06-19 18:42:27 +08:00
AGENTS.md docs(rfc): keep implemented RFCs current; rewrite the llm-replay section in place 2026-06-19 17:06:20 +08:00
CLAUDE.md docs(rfc): keep implemented RFCs current; rewrite the llm-replay section in place 2026-06-19 17:06:20 +08:00