docs(identity): document W4b Forgejo MCP reality #439

Closed
codex wants to merge 1 commit from codex/w4b/identity-mcp-reality-check into main
Collaborator

Canary status: missing — docs/spec reality-check PR; rely on required Forgejo checks before merge

Canary Context Pack

Product story

W4 needs to close the agent identity risk without launching a new MCP router runtime component. The current safe standard already exists: direct Forgejo API calls with actor PATs from macOS Keychain, with identity verification before and after writes.

What changed

  • Added docs/specs/forgejo-mcp-identity-split-v0/04-current-reality.md.
  • Marked the MCP router plan as a future implementation path, not a W4 blocker.
  • Updated the spec README/tasks/plan with the current standard.
  • Updated W4 output to record W4b reality-check prep.

Why it changed

#56 is valid as a future identity-boundary issue, but W4 does not need the full router to avoid the known failure mode. docs/forgejo-agent-operations.md already forbids MCP writes when they authenticate as pdurlej; this PR makes that reality explicit inside the #56 spec kit.

Files touched

  • docs/specs/forgejo-mcp-identity-split-v0/04-current-reality.md
  • docs/specs/forgejo-mcp-identity-split-v0/README.md
  • docs/specs/forgejo-mcp-identity-split-v0/02-plan.md
  • docs/specs/forgejo-mcp-identity-split-v0/03-tasks.md
  • state/cycle/W4-secrets-access-hardening-output.md

Relevant context

  • #56 Forgejo MCP identity split
  • docs/forgejo-agent-operations.md canonical direct-curl write path
  • W4 secrets/access hardening
  • ADR-0010 cousin identity
  • ADR-0018 agent-visible root causes

Runtime evidence

None. This PR is docs/spec only and performs no runtime mutation.

Known constraints

The MCP router is deferred, not rejected. Admin MCP disabled-by-default remains the desired future invariant.

Explicit out-of-scope

  • No MCP implementation.
  • No runtime service.
  • No token movement or rotation.
  • No Forgejo MCP write usage.
  • No changes to macOS Keychain, BW, Infisical, or RS2000.

Requested decision

Merge as W4b reality check. Treat #56 as future Milestone 06/router work rather than a W4 blocker.

Merge blockers

Any statement that weakens the current rule against MCP writes as pdurlej, or any accidental token/secret disclosure.

Spec sources read

  • docs/forgejo-agent-operations.md — current canonical direct-curl write path and identity rules
  • docs/specs/forgejo-mcp-identity-split-v0/README.md — current spec-kit status and scope
  • docs/specs/forgejo-mcp-identity-split-v0/00-constitution.md — identity invariants
  • docs/specs/forgejo-mcp-identity-split-v0/01-specify.md — acceptance criteria
  • docs/specs/forgejo-mcp-identity-split-v0/02-plan.md — router plan
  • docs/specs/forgejo-mcp-identity-split-v0/03-tasks.md — slice plan
  • state/cycle/W4-secrets-access-hardening-output.md — W4 handling for #56

Refs #56

Canary status: missing — docs/spec reality-check PR; rely on required Forgejo checks before merge ## Canary Context Pack ### Product story W4 needs to close the agent identity risk without launching a new MCP router runtime component. The current safe standard already exists: direct Forgejo API calls with actor PATs from macOS Keychain, with identity verification before and after writes. ### What changed - Added `docs/specs/forgejo-mcp-identity-split-v0/04-current-reality.md`. - Marked the MCP router plan as a future implementation path, not a W4 blocker. - Updated the spec README/tasks/plan with the current standard. - Updated W4 output to record W4b reality-check prep. ### Why it changed #56 is valid as a future identity-boundary issue, but W4 does not need the full router to avoid the known failure mode. `docs/forgejo-agent-operations.md` already forbids MCP writes when they authenticate as `pdurlej`; this PR makes that reality explicit inside the #56 spec kit. ### Files touched - `docs/specs/forgejo-mcp-identity-split-v0/04-current-reality.md` - `docs/specs/forgejo-mcp-identity-split-v0/README.md` - `docs/specs/forgejo-mcp-identity-split-v0/02-plan.md` - `docs/specs/forgejo-mcp-identity-split-v0/03-tasks.md` - `state/cycle/W4-secrets-access-hardening-output.md` ### Relevant context - #56 Forgejo MCP identity split - `docs/forgejo-agent-operations.md` canonical direct-curl write path - W4 secrets/access hardening - ADR-0010 cousin identity - ADR-0018 agent-visible root causes ### Runtime evidence None. This PR is docs/spec only and performs no runtime mutation. ### Known constraints The MCP router is deferred, not rejected. Admin MCP disabled-by-default remains the desired future invariant. ### Explicit out-of-scope - No MCP implementation. - No runtime service. - No token movement or rotation. - No Forgejo MCP write usage. - No changes to macOS Keychain, BW, Infisical, or RS2000. ### Requested decision Merge as W4b reality check. Treat #56 as future Milestone 06/router work rather than a W4 blocker. ### Merge blockers Any statement that weakens the current rule against MCP writes as `pdurlej`, or any accidental token/secret disclosure. ## Spec sources read - `docs/forgejo-agent-operations.md` — current canonical direct-curl write path and identity rules - `docs/specs/forgejo-mcp-identity-split-v0/README.md` — current spec-kit status and scope - `docs/specs/forgejo-mcp-identity-split-v0/00-constitution.md` — identity invariants - `docs/specs/forgejo-mcp-identity-split-v0/01-specify.md` — acceptance criteria - `docs/specs/forgejo-mcp-identity-split-v0/02-plan.md` — router plan - `docs/specs/forgejo-mcp-identity-split-v0/03-tasks.md` — slice plan - `state/cycle/W4-secrets-access-hardening-output.md` — W4 handling for #56 Refs #56
docs(identity): document W4b Forgejo MCP reality
All checks were successful
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 4s
canary-required / canary (pull_request) Has been skipped
patchwarden-pr-sanity / sanity (pull_request) Successful in 23s
af35450039
Author
Collaborator

Integrator note: this fork output has been consolidated into #443.

Please merge #443 instead of this PR. Keeping this PR open temporarily as fallback/source evidence until #443 lands.

Integrator note: this fork output has been consolidated into #443. Please merge #443 instead of this PR. Keeping this PR open temporarily as fallback/source evidence until #443 lands.
codex closed this pull request 2026-05-24 20:25:50 +02:00
All checks were successful
base-is-main / guard (pull_request) Successful in 1s
Required
Details
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 4s
canary-required / canary (pull_request) Has been skipped
patchwarden-pr-sanity / sanity (pull_request) Successful in 23s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform!439
No description provided.