Repository navigation
feat(pi): restore gh_pr_status — per-PR charly/pr-validator status checking - #74
Merged
Merged
Conversation
…status checking Recovered from git history: ab2448f (#31) added .pi/extensions/github-pr-status.ts (gh_pr_status check/watch — GitHub PR + org-wide charly/pr-validator status), c291b96 (#61) accidentally slim-deleted it together with the APPEND_SYSTEM.md instruction to use it. Restoring verbatim, re-registering the extension in settings.json, and re-adding the system-prompt instruction: check EVERY PR with gh_pr_status after opening/fixing; watch in a background subagent while waiting.
Contributor
Review — PASSHead SHA: Security screen: PASS — read-only Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
atrawog
added a commit
that referenced
this pull request
Sep 7, 2026
…s (policy B) Syncs all submodule pins to their merged main HEADs via scripts/sync-gitlinks.sh: - charly -> c1229f00 (config: verb stack #558 + CC-3/CC-R10); - distro-cachyos -> 5bb0eb5 (crabbox wave beds #74); - layer-crabbox v2026.250.1023 / plugin-crabbox + pod-crabbox v2026.250.1019 (the crabbox v0.51.0 wave PR tags); - the tag-on-merge advances of the wave + CC-3 contracts (spec/sdk/plugin-box/ plugin-egress/plugin-deploy-pod/plugin-generate-packages + the charly-* box gitlinks + marketplace). All pins are merged refs (policy B). plugin-check is intentionally NOT in this sync (its working tree carries the CC-3 consumer wave's in-flight WIP under opencharly/plugin-check#33; its gitlink is unchanged here).
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 7, 2026
…y B) (#153) * chore(umbrella): sync charly + plugin-fleet gitlinks to the CC-2 tags * chore: umbrella sync — pin the crabbox v0.51.0 wave + CC-3/CC-R10 tags (policy B) Syncs all submodule pins to their merged main HEADs via scripts/sync-gitlinks.sh: - charly -> c1229f00 (config: verb stack #558 + CC-3/CC-R10); - distro-cachyos -> 5bb0eb5 (crabbox wave beds #74); - layer-crabbox v2026.250.1023 / plugin-crabbox + pod-crabbox v2026.250.1019 (the crabbox v0.51.0 wave PR tags); - the tag-on-merge advances of the wave + CC-3 contracts (spec/sdk/plugin-box/ plugin-egress/plugin-deploy-pod/plugin-generate-packages + the charly-* box gitlinks + marketplace). All pins are merged refs (policy B). plugin-check is intentionally NOT in this sync (its working tree carries the CC-3 consumer wave's in-flight WIP under opencharly/plugin-check#33; its gitlink is unchanged here). * fix: charly gitlink -> 1912c7ff (true merged main; c1229f00 was an unmerged CC-R10 PR head — policy B) * evidence: tier corrected + operator sign-off + policy-B distro clarification (A1/A3/R1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restores the pi agent's PR-validation status tool and its system-prompt instruction, both accidentally deleted by the
#61config cleanup ("slim project config to bare system prompt + plugins").Git-history archaeology:
ab2448f(#31) added.pi/extensions/github-pr-status.ts— thegh_pr_statusextension tool (check= one-shot PR + org-widecharly/pr-validatorstatus;watch= poll-until-conclusion, the "completion IS the wake" primitive for background subagents).c291b96(#61) slim-deleted it together with the.pi/APPEND_SYSTEM.mdinstruction telling agents to use it, leaving pi agents unable to learn validator verdicts without manually pollinggh(the GitHub Actions validator has no path into a pi session — it does not wake the agent).This change:
.pi/extensions/github-pr-status.ts— restored verbatim from its last pre-deletion state (c291b96^, 216 lines)..pi/settings.json— re-registers the extension ("extensions": ["./extensions/github-pr-status.ts"]); packages unchanged (11)..pi/APPEND_SYSTEM.md— system-prompt instruction restored and made unconditional: check EVERY PR withgh_pr_status checkafter opening/fixing it, rungh_pr_status watchin a background subagent while awaiting a verdict, with the failing-step semantics (Gate (BLOCK) vs wait-for-go-gate) and stale-comment head-SHA guard; plus the RCA'd tool-usage discipline (verify a child can execute before delegating — a tool-less child burns its turn probing names; long waits belong to a child, never the parent loop).How tested
(1) Live tool execution in a fresh
pi -psession (extension loaded, tool invoked on real PR #66):(2) Pre-commit gate on the commit:
pre-commit: OK.(3)
bash scripts/check-harness-parity.sh→check-harness-parity: OK — 5 shared harness files identical to charly/(.pi/settings.jsonis an umbrella-specific fork by design, HARNESS-PARITY.md).(4)
task verifyon the final tree → exit 0:check-policy-b: OK — 6 distro pins equal charly's gitlinks,verify-pins: OK — 356 submodules, policy B holds.Rulebook compliance
task verifygreen on final tree (pasted)Change classification
task verify) + pre-commit gate + livepi -ptool executionAssisted-by: pi ollama-cloud/deepseek-v4-flash:0731 (fully tested and validated)