docs(specs): prebuild for #56 Forgejo MCP identity split per agent v0 #367
No reviewers
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform!367
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/fork-A2-forgejo-mcp-identity-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fork-A2 prebuild for issue #56 (operator Signal report 2026-05-04). Today's Forgejo MCP layer defaults to operator
pdurlejadmin identity for tool calls — even when active session is a cousin. Misattribution + admin token exposure surface too wide + reviewers can't tell which cousin performed an action.What's in
Spec Kit (6 files in
docs/specs/forgejo-mcp-identity-split-v0/):00-constitution.md— 9 principles (P1-P9: one default identity per cousin, admin disabled by default, fail-closed on ambiguity, composes with Agent Access Plane, iskra deferred to v0.1) + non-goals + sacred boundary statements01-specify.md— 9 machine-checkable acceptance criteria (A1-A9) + smoke contract02-plan.md— 10 design decisions with alternatives compared (D1: thin router in platformctl; D2: PAT backing via Access Plane capability handle; D4: env-flag + typed confirmation for admin break-glass; D5: iskra deferral; D6: DeepSeek read-only-only)03-tasks.md— 4 slices (a/b/c/d); ~1850 LOC; ~10-14h codex; tier per slice (Lite/Full)04-implement-notes.md— 12 gotchas + prior art + composition notesREADME.md— overviewExecution prompt (
prompts/codex-forgejo-mcp-identity-split.md):Composes with
Key principles preserved (durable for context-compressed cousins)
enabled_by_default: false— explicit break-glass only (env flag + typed confirmation + audit log)Per ADR-0018: if a future implementer thinks 'admin fallback would be easier', the Spec Kit explicitly rejects that — it IS the bug, not the workaround.
Tier
Trivial per ADR-0007 (prompt + spec docs, no runtime/schema/sacred-path mutation in this PR).
Implementation slices (Slice a/c = Lite; Slice b/d = Full + canary 3+3) land sequentially per
03-tasks.md.Worktree note
This PR opened from
claude/fork-A2-forgejo-mcp-identity-splitbranch in dedicated worktree/Users/pd/Developer/iskra-platform-2026-04-30-fork-A2/per fork-dispatch-2026-05-18-retry-batch.md v0.1 isolation pattern. Zero shared-checkout collision risk (lesson from 2026-05-17).Refs #56, PR #42 (STATE_OF_PLATFORM gap noted), PR #323 (Agent Access Plane sibling), fork-dispatch-2026-05-18 (PR #356)