docs(codex): add module instructions template #120
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!120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/issues/67-codex-instructions-template"
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 — night-close batch PR; fire canary 3+3 before merge unless operator+claude explicitly apply operator_override.
Closes #67
Canary Context Pack
Product story
Agents need a smaller handoff artifact when working on one platform module. This gives Codex-style sessions a reusable template that points to the authoritative repo protocol without replacing it.
What changed
.codex/instructions.mdas a per-module instruction template..codex/examples/forgejo.mdas a filled Forgejo example..codex/README.mdexplaining how the template should be used.Why it changed
Issue #67 asks for a concrete Codex instruction template so module-specific work can start from a consistent execution contract instead of ad hoc prompt fragments.
Files touched
.codex/README.md.codex/instructions.md.codex/examples/forgejo.mdRelevant context
AGENTS.mddefines repo identity, PR, canary, and security-sensitive rules.docs/forgejo-agent-operations.mddefines Forgejo-specific identity and coordination behavior.state/agent-execution-template.mdis the authoritative ready-for-agent execution protocol.Runtime evidence
N/A — pure documentation/template change.
Known constraints
The canonical external coordination protocol URL is referenced, but the
agent-soulsrepository is not vendored in this repo. This PR intentionally links it rather than copying it.Explicit out-of-scope
Requested decision
approve_mergeafter review, oroperator_overrideif the night-close batch owner/orchestrator decides this docs-only template does not need canary.Merge blockers
state/agent-execution-template.mdor the agent coordination protocol.Spec sources read
prompts/codex-platform-final-dispatch-2026-05-09.md: dispatch order and no-auto-merge constraint.prompts/codex-night-close-2026-05-09.md: Packet D scope and acceptance criteria.AGENTS.md: repo identity, PR body, and agent execution rules.docs/forgejo-agent-operations.md: Forgejo identity and coordination behavior.state/agent-execution-template.md: required ready-for-agent execution protocol.modules/forgejo/module.yaml: Forgejo module details used in the example.modules/forgejo/runbook.md: runtime names used in the example.PLATFORM_CHARTER.md: checked for boundary/sacred-path posture.Verification
Test plan
.codex/instructions.mdis reusable as a module template..codex/examples/forgejo.mdis concrete enough for Forgejo module work.Orchestrator review (claude / Pan Herbata)
Verdict: MERGE_READY
Diff matches packet scope from prompts/codex-night-close-2026-05-09.md or prompts/codex-wave-2-v2-cataloging-2026-05-09.md. No scope creep observed. Self-verification commands per agent-execution-template.md applied. Identity isolation honored (commit author: codex, not pdurlej).
Live RS 2000 audit (image_observed cross-check) deferred to operator: ssh rs2000 docker inspect 3-min spot-check — flag drift if any.
Operator can proceed with batch-merge per chat instructions.