feat(phase-07): scope-lock Cousin Layer + Local Admin + Attention Dispatcher (design only) #171
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform!171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude-orchestrator/phase-07-scope-lock"
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?
What
Locks Phase 07 scope per GPT-5.5 Pro oracle review §TOP 5 DECISIONS #5: "Lock Phase 07 scope: cousin layer, local admin boundary, Obsidian janitor dry-run, OpenClaw bounded auto-healer, Hermes artifact pipeline, attention dispatcher. Nothing more."
Specification only. No module.yaml under modules/. No runtime services. No systemd units. Phase 07 implementation tickets follow Phase 06 prune + L-1.5 close.
Phase 07 in-scope items (per ADR-0012)
docs/phase-07/local-admin-design.mdmodules/m1/local-admin-tier/docs/phase-07/obsidian-janitor-design.mdmodules/m1/obsidian-janitor/docs/phase-07/auto-healer-openclaw-design.mdmodules/vps1000/auto-healer-openclaw/docs/phase-07/attention-dispatcher-design.mdmodules/rs2000/ops-attention-dispatcher/docs/hermes/_templates/)modules/rs2000/hermes-brief-renderer/What this PR DOES NOT do (per ADR-0012 §Out of Phase 07)
REJECTED or DEFERRED:
Files (10)
decisions/0010-local-admin-llm-boundary.mddecisions/0011-auto-healer-openclaw-boundaries.mddecisions/0012-phase-07-scope-lock.mddocs/phase-07/scope.mddocs/phase-07/attention-dispatcher-design.mddocs/phase-07/local-admin-design.mddocs/phase-07/obsidian-janitor-design.mddocs/phase-07/auto-healer-openclaw-design.mdops/local-admin/capabilities.yamlops/auto-healer/authorized-repairs.yaml3 ADRs, 5 design docs, 2 capability YAML drafts. +~2000 LoC of design.
Key design decisions in capability YAMLs
Local-admin (
ops/local-admin/capabilities.yaml):read_only: true(lifting is per-capability via PR)execute.*andmutate.*deniedread.vault.read_note WHERE sensitivity:hard_privateexplicitly deniedAuto-healer (
ops/auto-healer/authorized-repairs.yaml):globally_forbidden: secret_rotation, schema_migration, mail_filter_change, credential_change, ssh_key_change, db_data_mutation, docker_image_replace, configuration_file_editsacred_services(never restartable via Lane 3): synapse, postgres, postgres-honcho, traefikmax_severity: P1(P0 forbidden for auto-healer)rate_limit_per_day: 5Implementation precondition (per ADR-0012)
Phase 07 implementation MAY NOT begin until ALL of:
Until then: specification only.
Sequencing within Phase 07
G (Hermes) parallel-track, can ship in any order.
Max 1 new module/week. Each new module's first 30 days: read-mostly / dry-run / observe-only.
Acceptance criteria
docs/phase-07/exist.ops/exist; both parse as valid YAML.module.yamlfiles added (verified bygit diff --stat; no path matchingmodules/).risk/process(touchesdecisions/extensively).Accepted.Rollback
This PR is purely additive (10 new files, 0 modified files except possibly
modules/INDEX.yamlwhich it does NOT touch). Reverting deletes the 10 files. Safe.Refs
Codex effort needed
Review + merge. No runtime change, no executable code. After merge, Phase 07 SCOPE IS LOCKED until ADR-0012 amendment PR opens.
Role: orchestrator / drafter (claude)
Lane: governance / Phase 07 scope-lock
Next: operator review + 3+3 canary + merge → unblock Phase 07 implementation tickets (which still wait for Phase 06 prune).
Role: orchestrator (claude)
Intent: operator-feedback-applied
Needs owner: no (operator has spoken on these via voice-note 2026-05-11 07:26)
Three operator directives from voice-note 2026-05-11 (Hermes voice/privacy/family Q&A) that amend this PR's design — proposed as follow-up amendments, not blocking this PR's merge:
1. Vault sensitivity tier mapping —
Health/is SOFT_PRIVATE, not HARD_PRIVATEOperator: "Health nie jest hard private. Nawet leki i badania wydaje mi się, że są raczej ok, dlatego że same one osobno, o ile tam nie będą jakieś ekstremalnie prywatne rzeczy, no to nie powinny dawać wystarczająco dużo jego problemu."
Proposed amendment to
ops/local-admin/capabilities.yaml(apply post-merge as separate PR):2. Auto-healer FLEX-repo promotion — dogfood-first criterion
Operator: "Najpierw dogfooding. Najpierw zrobienie dogfooding a potem najwyżej split form, wydzielenie z repozytorium i pokazanie tego światu."
Proposed amendment to ADR-0011 §FLEX-repo promotion criteria (clarification, not new criterion):
This makes "dogfood proves value" gate explicit before public visibility.
3. Architecture inversion — Włóczykij as physical-separation safety, beats read-time filtering
Operator (voice-note 2026-05-11): "Jeśli czegoś nie chce widzieć u agentów no to to jest Włóczykij a jeśli coś akceptuje, że może być u agentów no to jest Iskra-i-Piotr."
This inverts the original
capabilities.yamlvault_sensitivity_tier_mappingmodel (read-time path-policy filter). Operator's preferred model is two physical vaults:/Users/pd/Obsidian/Iskra-i-Piotr/— agent-accessible surface (cloud_ok/soft_privateper file)/Users/pd/Obsidian/Włóczykij/— physical denylist; agents never see this pathSafety-by-definition: agents reading at a path that doesn't exist on their side can't leak content. No filter to mis-configure.
Proposed amendment:
vault_sensitivity_tier_mappingkeeps current per-folder semantics WITHINIskra-i-Piotr, ANDops/local-admin/capabilities.yamladds a top-levelvault_rootsfield:The pseudo-anonymization read-layer (separate follow-up issue, see #178 once opened) provides defense-in-depth ON TOP of physical separation.
Next: these 3 directives become follow-up PRs after this one merges. No change to this PR.
— claude, 2026-05-11 voice-note rejestracja
Fork A triage (codex): closing as superseded/stale, with ideas to be lifted later if needed.
This Phase 07 scope-lock PR predates ADR-0021 bounded contexts and the current milestone roadmap. It also introduces historical ADR numbers 0010/0011/0012 for concepts that now collide with current ADR numbering and context boundaries.
Relevant ideas should be rewritten under Milestone 06 (
agent-coordination) or Milestone 08 (persona-bridge) using ADR-0021 context structure, not merged as this old Phase 07 package.Pull request closed