chore(governance): DeepSeek-findings remediation package (ADR-0006/0007 + REVIEW.md + DR runbook + recovery template + Pan Herbatka prep) #184
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!184
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/orders/codex-prep-deepseek-2026-05-11"
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?
Canary status: missing — Full tier per new ADR-0007 (touches 2 new ADRs + REVIEW.md + AGENTS.md + canonical operator status file). Fire canary 3+3 manually OR operator_override per ADR 0001 (operator dispatched this batch explicitly: "Lecę full").
Why this PR exists
DeepSeek-v4-Pro independent review of
pdurlej/platformon 2026-05-11 (operator-shared via pi CLI) surfaced HIGH-severity governance gaps plus 5+ medium gaps. Operator's request: "chciałbym żebyś jak najwięcej przygotował ty po swojej stronie tak żeby już kodeks jak o pierwszej w nocy to rzuci okiem i wiedział dokładnie co ma robić."This PR drafts the full remediation package. Codex reviews + force-pushes adjustments + operator approves.
What ships (14 files, +1351 / -53)
New ADRs
state/STATUS_NOW.md. Closes status file proliferation (DeepSeek HIGH finding).New top-level files
REVIEW.md— Anthropic-pattern repo-specific reviewer instructions; highest-priority instruction layer. Cites ADR-0006/0007 + sensitive paths list + tier auto-detection rules.New runbooks
runbooks/dr-restore-test.md— 3-tier DR test cadence (T1 weekly integrity / T2 monthly partial / T3 quarterly full). Closes 35-day stale-DR-test gap (DeepSeek HIGH finding).runbooks/recovery-section-template.md— Template for filling## How to recoversection in all 80 module runbooks. 6 class variants (stateful DB / stateless / edge / AI runtime / observability / sunset).New Codex prompt
prompts/codex-recovery-batch-2026-05-11.md— Codex batch-apply instructions for filling recovery sections across 80 modules. Lite-tier PRs, 5 modules each, 16 PRs total. Closes "65/80 modules with TODO recovery" gap (DeepSeek HIGH finding).New state
state/pan-herbatka-day1-checklist.md— Handoff doc for future-me post-compaction. One-thread-per-repo discipline per operator's 2026-05-11 decision. Companion to Prof Kong's longer prompt for sibling-thread dispatch (which we are NOT doing).Modified
state/STATUS_NOW.md— Full rewrite as canonical operator status (per ADR-0006). Includes Owner Action Board, recent lessons codified, wakeup cookbook.AGENTS.md— Amendment under § Conventions adding ADR-0006 + ADR-0007 sections. PR size classes table preserved during ADR-0007 trial period.Archived (with explanatory headers)
5 stale operator-facing status files moved to
state/archive/per ADR-0006:BLOCKERS_FOR_OPERATOR.md→state/archive/2026-04-30-...HANDOFF_SUMMARY.md→state/archive/2026-04-30-...OPERATOR_ACTIONS.md→state/archive/2026-05-02-...state/OPERATOR_INBOX.md→state/archive/2026-05-02-...state/DECISION_REQUIRED.md→state/archive/2026-05-02-...DeepSeek findings addressed
What this PR does NOT do
Out of scope
Spec sources read
PLATFORM_CHARTER.md(sacred paths, RTO/RPO targets)AGENTS.md(full ~1000 lines; specific § canary + identity discipline)decisions/0001-canary-mandatory-pm-cadence.md(base for ADR-0007 extension)decisions/0005-agent-coordination-lanes.md(reviewer identity discipline cited in REVIEW.md)baseline/recovery/PROCEDURES.md(emergency restore — referenced from DR runbook)runbooks/forgejo-actions-runner.md(referenced by REVIEW.md sensitive paths)modules/forgejo/runbook.md+modules/postgres/runbook.md(sample to validate recovery template format)check_docs_drift.pyexecution (validated DeepSeek's docs/ci/ claim as false positive)Test plan
REVIEW.md— are the severity definitions and skip rules correct for our repo?runbooks/dr-restore-test.md— does the T1/T2/T3 cadence work with operator's calendar?runbooks/recovery-section-template.md+prompts/codex-recovery-batch-2026-05-11.md— is the per-class variant correct?state/pan-herbatka-day1-checklist.md— does this capture enough for post-compaction future-me?prompts/codex-recovery-batch-2026-05-11.mdTier classification (self-reported, per ADR-0007)
Full — touches:
REVIEW.md(sensitive path)AGENTS.md(governance doc)state/STATUS_NOW.md(canonical operator file per ADR-0006)Cannot self-assess as Trivial or Lite. Full canary 3+3 + operator-override per ADR-0001 Rule 2.
Cousin coordination
🍵 — "Spend more time with family while shipping at small-team velocity." Operator's North Star honored.
— Drafted by claude (Pan Herbatka) 2026-05-11
Dispatch: operator's "Lecę full" via 32% Anthropic budget
Source: DeepSeek-v4-Pro independent review 2026-05-11
Pattern sources: Anthropic Code Review + Cloudflare AI Code Review + Spacelift IaC + community homelab GitOps
Refs: DeepSeek-2026-05-11-review