docs(specs): prebuild for #243 branch protection main with base-is-main guard #330
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!330
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/c-batch/canary-pr-body-context-bug-prebuild"
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
Bug prebuild (codex's preferred shape per 2026-05-17 feedback: reproduction + evidence + expected/actual + hypothesis ranking + minimal fix surface + acceptance + tests) for issue #85.
Bug observed
Canary reviewers (claude/codex/glm) report
PR description: nonefor PRs with non-empty Forgejo body. Reached 3-iter cap on PR #84 due to this false dissent.Hypothesis ranking
run_reviewCLI/builder3-state model (per ADR-0018)
Decision packet evidence must distinguish:
pr_body_source: provided(body supplied to reviewer)pr_body_source: forgejo_empty(legitimately empty PR body)pr_body_source: runner_error(pipeline failure to fetch)Without this, agent reads conflated signal as "PR description: none" → false blocker → wasted operator-attention. Direct ADR-0018 application (agent-readable surface that lies = wrong action).
Files
docs/specs/canary-pr-body-context-bug/README.mddocs/specs/canary-pr-body-context-bug/01-reproduction.md(steps + evidence from PR #82/#84)docs/specs/canary-pr-body-context-bug/02-expected-vs-actual.md(3-state model)docs/specs/canary-pr-body-context-bug/03-hypothesis-ranking.md(ranked H1-H5 with test procedures)docs/specs/canary-pr-body-context-bug/04-minimal-fix-surface.md(files allowed/forbidden per hypothesis)docs/specs/canary-pr-body-context-bug/05-acceptance-and-tests.md(5 regression test cases + fixture spec)prompts/codex-canary-pr-body-context-bug.md(codex execution: investigate → fix → tests, per ADR-0018 stop conditions)Tier
Trivial per ADR-0007 (docs-only prebuild). The downstream fix (separate PR) is Lite.
Part of batch C (process/governance) prebuild shift
This is 2/6 prebuilds. Others: #243 branch protection (PR #327 done), #86 security-sensitive routing, #49 ADR-0002 CI enforcement, DeepSeek #11 ADR-0018 mechanical guard, #75 governance globalne.
Refs #85 #82 #84
docs(specs): bug prebuild for #85 canary PR body in reviewer contextto docs(specs): prebuild for #243 branch protection main with base-is-main guardTitle corrected (fork-anchor szpachla 2026-05-17)
Original title said "bug prebuild for #85 canary PR body in reviewer context" but the 6 committed files are entirely #243 branch protection Spec Kit (docs/specs/branch-protection-main-base-guard/* + prompts/codex-branch-protection-main-base-guard.md). Fork-anchor cross-branch collision.
Retitled to reflect actual content. The #85 canary PR body bug prebuild was genuinely lost. Retry #85 in fresh worktree session.
This PR addresses #243.