docs: add aFIPC maintenance planning package#91
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a maintainer-facing maintenance spec + execution plan under docs/superpowers/ and updates supporting repository docs/templates to standardize PR triage, duplicate-bot PR handling, and planning artifact links—without touching R/aFIPC.R or package numerical behavior.
Changes:
- Add a maintenance design spec and step-by-step implementation plan (with queue-classification lanes and validation gates).
- Update the maintenance runbook with repo-scoped
ghcommands, duplicate-bot PR triage policy, FigJam link, and packrat-separation policy. - Add a “Change Category” classification checklist to the PR template and update
ARCHITECTURE.md’s repo URL.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/superpowers/specs/2026-07-02-afipc-maintenance-design.md | New maintenance design spec capturing constraints, evidence, lane classification, and risks. |
| docs/superpowers/plans/2026-07-02-afipc-maintenance-plan.md | New execution plan with task checklist steps, commands, and verification gates. |
| docs/operations/maintenance-runbook.md | Runbook updates for repo-scoped commands, duplicate-PR policy, planning artifact links, and packrat separation guidance. |
| ARCHITECTURE.md | Updates repository URL to the current org repo. |
| .github/PULL_REQUEST_TEMPLATE.md | Adds a PR “Change Category” checklist for consistent triage/review routing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
OpenCode reviewed the current-head evidence but found unresolved reviewer or review-agent threads before approval.
Findings
1. HIGH .github/workflows/opencode-review.yml:1 - Unresolved reviewer thread blocks automated approval
- Problem: OpenCode reached an APPROVE control result, but the approval step found unresolved, non-outdated human or review-agent thread evidence on the current pull request.
- Root cause: Reviewer and review-agent feedback can arrive after bounded model evidence is prepared, so the approval step must re-query GitHub immediately before publishing an approval.
- Fix: Address or resolve the listed reviewer thread(s), then re-run OpenCode on the current head.
- Regression test: Keep the approval gate querying reviewThreads(first: 100) after model output and before create_pull_review APPROVE, including bot review agents other than OpenCode itself.
Review thread evidence
Latest unresolved reviewer thread evidence
docs/operations/maintenance-runbook.md line 12
-
Latest reviewer comment: @copilot-pull-request-reviewer at 2026-07-02T00:14:16Z
-
Comment URL: #91 (comment)
-
Comment excerpt: The Dependabot rebase command is written as a multi-line inline code span (backticks across a newline). Markdown code spans cannot contain newlines, so this will render incorrectly and may fail markdownlint. Prefer a single-line command (or a fenced code block) here.
-
Result: REQUEST_CHANGES
-
Reason: unresolved reviewer or review-agent thread(s) were present before approval.
-
Head SHA:
c291deba43df88d9f670320a296f561e973e2e35 -
Workflow run: 28556316021
-
Workflow attempt: 1
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file (2 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (2 files)"]
R1 --> V1["required checks"]
Evidence --> S2["Docs (3 files)"]
S2 --> I2["operator or user guidance"]
I2 --> R2["Review risk: Docs (3 files)"]
R2 --> V2["docs review"]
OpenCode Review Overview
Pull request overviewOpenCode exhausted the configured model pool without a usable current-head review conclusion. This is not approval evidence, so the PR is blocked until a source-backed review can establish approval sufficiency or identify concrete fixes. Findings1. HIGH docs/superpowers/plans/2026-07-02-afipc-maintenance-plan.md:1 - OpenCode could not establish approval sufficiency
Summary
No PR approval was posted because model-output failure is not evidence that the PR has no blockers. Changed-File Evidence Mapflowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file (2 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (2 files)"]
R1 --> V1["required checks"]
Evidence --> S2["Docs (3 files)"]
S2 --> I2["operator or user guidance"]
I2 --> R2["Review risk: Docs (3 files)"]
R2 --> V2["docs review"]
|
c291deb to
00ebc97
Compare
There was a problem hiding this comment.
Pull request overview
OpenCode exhausted the configured model pool without a usable current-head review conclusion. This is not approval evidence, so the PR is blocked until a source-backed review can establish approval sufficiency or identify concrete fixes.
Findings
1. HIGH review evidence:1 - OpenCode could not establish approval sufficiency
- Problem: every configured model path failed to produce a usable current-head control block.
- Root cause: model execution, timeout, export, normalization, or approval-gate validation did not complete after exponential retry across the configured model pool.
- Impact: approving from deterministic check state alone would miss PR-intent mismatches, missing files, edge-case bugs, robustness gaps, UX/DX regressions, security issues, and CodeGraph-backed base/head flow changes.
- Fix: rerun OpenCode after model availability recovers, or update the PR with the missing files, tests, docs, generated artifacts, and verification evidence needed for a source-backed review conclusion.
- Regression test: keep the approval gate posting REQUEST_CHANGES, not APPROVE or check-only failure, when no model produces a valid current-head review.
Summary
- Result: REQUEST_CHANGES
- Reason: coverage-evidence passed and peer GitHub Checks completed without failures, but no model produced a valid review control block.
- Deterministic evidence checked but not used for approval: current-head changed-file evidence (.github/PULL_REQUEST_TEMPLATE.md, ARCHITECTURE.md, docs/operations/maintenance-runbook.md, docs/superpowers/plans/2026-07-02-afipc-maintenance-plan.md, docs/superpowers/specs/2026-07-02-afipc-maintenance-design.md); coverage-evidence result success; peer checks from statusCheckRollup excluding this OpenCode check.
- Model outcome: model_pool=exhausted; selected_model=none.
- Head SHA:
00ebc9764548987c643713f9e7c1dd8093dfd85c - Workflow run: 28556832690
- Workflow attempt: 1
No PR approval was posted because model-output failure is not evidence that the PR has no blockers.
Inline comment note: OpenCode could not find an added RIGHT-side diff line for this PR, so the model-exhaustion blocker is attached to the PR review body instead of a file line.
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file (2 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (2 files)"]
R1 --> V1["required checks"]
Evidence --> S2["Docs (3 files)"]
S2 --> I2["operator or user guidance"]
I2 --> R2["Review risk: Docs (3 files)"]
R2 --> V2["docs review"]
There was a problem hiding this comment.
Pull request overview
OpenCode exhausted the configured model pool without a usable current-head review conclusion. This is not approval evidence, so the PR is blocked until a source-backed review can establish approval sufficiency or identify concrete fixes.
Findings
1. HIGH docs/superpowers/plans/2026-07-02-afipc-maintenance-plan.md:1 - OpenCode could not establish approval sufficiency
- Problem: every configured model path failed to produce a usable current-head control block.
- Root cause: model execution, timeout, export, normalization, or approval-gate validation did not complete after exponential retry across the configured model pool.
- Impact: approving from deterministic check state alone would miss PR-intent mismatches, missing files, edge-case bugs, robustness gaps, UX/DX regressions, security issues, and CodeGraph-backed base/head flow changes.
- Fix: rerun OpenCode after model availability recovers, or update the PR with the missing files, tests, docs, generated artifacts, and verification evidence needed for a source-backed review conclusion.
- Regression test: keep the approval gate posting REQUEST_CHANGES, not APPROVE or check-only failure, when no model produces a valid current-head review.
Summary
- Result: REQUEST_CHANGES
- Reason: coverage-evidence passed and peer GitHub Checks completed without failures, but no model produced a valid review control block.
- Deterministic evidence checked but not used for approval: current-head changed-file evidence (.github/PULL_REQUEST_TEMPLATE.md, ARCHITECTURE.md, docs/operations/maintenance-runbook.md, docs/superpowers/plans/2026-07-02-afipc-maintenance-plan.md, docs/superpowers/specs/2026-07-02-afipc-maintenance-design.md); coverage-evidence result success; peer checks from statusCheckRollup excluding this OpenCode check.
- Model outcome: model_pool=exhausted; selected_model=none.
- Head SHA:
00ebc9764548987c643713f9e7c1dd8093dfd85c - Workflow run: 28556832690
- Workflow attempt: 2
No PR approval was posted because model-output failure is not evidence that the PR has no blockers.
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file (2 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (2 files)"]
R1 --> V1["required checks"]
Evidence --> S2["Docs (3 files)"]
S2 --> I2["operator or user guidance"]
I2 --> R2["Review risk: Docs (3 files)"]
R2 --> V2["docs review"]
| @@ -0,0 +1,524 @@ | |||
| # aFIPC Maintenance Implementation Plan | |||
There was a problem hiding this comment.
HIGH OpenCode could not establish approval sufficiency
- Problem: the model pool exhausted without a valid current-head review control block, so this changed line cannot be approved from deterministic check state alone.
- Impact: PR-intent mismatches, missing files, robustness bugs, UX/DX regressions, and CodeGraph-backed flow changes could be missed.
- Fix: rerun OpenCode after model availability recovers, or add the missing source/test/docs/generated verification evidence needed for a source-backed approval.
- Verification: rerun the OpenCode Review workflow and confirm it emits APPROVE or source-backed REQUEST_CHANGES for this head SHA.
Summary
ContextualWisdomLab/aFIPCcommands, duplicate bot PR triage policy, the FigJam board link, and packrat migration separation policy.ARCHITECTURE.mdrepository URL to the current org repo.FigJam: https://www.figma.com/board/G6GNn2sGFJ19T8uFv9EtgI
Validation
npx markdownlint-cli2 README.md AGENTS.md ARCHITECTURE.md CLAUDE.md CONTRIBUTING.md .github/**/*.md docs/**/*.mdgit diff --checkNotes
No Figma Code Connect tools were used. This is documentation and maintainer-process scope only; it does not change
R/aFIPC.Ror package numerical behavior.