Deployment readback (2026-10-30): PR #129 merged the reviewed 18-target manifest into
main. October 29 and October 30 bot alerts each report scans of all 18 and real new merge transitions. This confirms post-migration operation on those dates, not uninterrupted subsequent hourly runs or autonomous feedback closure.
Owning issue: opensiro/upstream #125. Related empirical upstream improvement #56.
Current organizational boundary (2026-10-26): Upstream Contributions is the fourth admitted operational S1 domain of the bounded OpenSiro VSM OSS organization after the applied Organization #274 S5 decision and application #292. This PR Maintenance workflow is still a read-only detector/inbox inside that domain; the separate bounded construction witness for #274 gate #6 was accepted on the evidence of Upstream #139, merged PR #140 and successful post-merge verify/watch/acceptance, as recorded in Organization's S1 return. A cron job, GitHub App, or bot is not by itself evidence of an S1 decision owner or an autonomy grade.
Durable local outcome: an external PR's maintainer feedback is noticed, classified, and resolved with a justified native-tested correction, clear response, documented no-change, or escalated issue; upstream acceptance/merge decisions remain exclusively with upstream maintainers.
Local environment: the explicit public PR target list in targets.json, external GitHub review and status events, external contribution policies, current source revisions and permitted fork branches.
Current delegated envelope of the read-only monitor:
- Observe and compare public PR state, head/base, mergeability (
mergeable=falseandmergeable_state=dirty), first-party/inline comments (including edited existing comments), reviews includingCHANGES_REQUESTED, check runs and commit status. - Classify human feedback and actionable CI check conclusions as
ACTION_REQUIRED; notify only the OpenSiro inbox #125.APPROVED,MERGED,CLOSED_UNMERGED, head/status transitions are information for subsequent reporting, not invitations to merge. - Keep an idempotent checkpoint (compressed JSON) as a single GitHub Actions bot comment on this issue. An actionable digest has a stable issue-comment marker to prevent duplicate alerts if checkpoint writing failed. First scan establishes a baseline; historical comments do not become artificial new events.
- Schedule hourly (minute 13, UTC) on
main; also accept manualworkflow_dispatch. The first default-branch run succeeded and initialized the checkpoint. Job summary and issue comments link the original external PRs.
Constrained S1-like maintenance work (human/agent in later execution): Use the event triage and closure packet to bind an actual source event to its admission, source/authority checks and native-test/return receipts.
- On
ACTION_REQUIRED, independently read current upstream code, reviewer request, exact PR diff, source and CI failures. - Admit only if the requested fix remains within the original reviewed PR scope, source rights, contributor requirements and the operator's actual bounded decision envelope; otherwise
ESCALATED. - Reproduce the defect and repair on an authorized contribution fork branch. Validate with native deterministic tests only, no LLM or live agent runs; update the existing PR only when an operative write mandate covers that update.
- Return exact head, tests, external response or reason for no-change. Reobserve upstream replies. A reviewer comment does not create new permission; submitting a new external PR, CLA/DCO attestation, merge, scope expansion, or modified VSM grade is NOT authorized by this watcher.
This is a construction/operating contract. The read-only detector and alert transport do not by themselves prove that an autonomous S1 operator has closed an actual maintainer request. Positive classification requires decision-right/owner and closure evidence under the owning VSM Profile and Methodology.
.github/workflows/pr-maintenance.yml has verification and two independent, conditional schedule/dispatch jobs. verify has read-only contents permission; watch observes review/CI/lifecycle events, while acceptance calculates the separately defined resolved-only PR rate. Both conditional jobs run after verification and have contents:read and issues:write restricted in code to this repository's inbox #125. No token is passed to PR-submitted code on the verification route. The metric job maintains a distinct bot-owned summary comment, never the review watcher's compressed checkpoint, and does not write to any external repo.
The watcher uses Python standard library only and authenticates using the GitHub Actions token. Each observation is a live GET from the GitHub repository that owns it; unexpected API errors, missing identities, unknown states and truncated pagination fail closed. Third-party message bodies are deliberately not stored, executed, or trusted as instructions: only event IDs, author, status and GitHub URLs are used. Humans/agents inspect the exact review on the external source before repairing.
Current pinned targets are 33 reviewed external PR identities for contributor xLagerFeuer (18 previously retained, seven 2026-11-10 publication readbacks, KnowWork #4, Runloop #1, CodeAct #26, Clouds-Coder #50, yoagent #450, and phax #205 and Fara #96 on 2026-11-11), including Headcount #47 (previously verified but returning GitHub 404 on 2026-11-05), closed-unmerged StarNet #56, and six earlier Corrective PRs: Workflow One #173 (merged 2026-10-29), Reef/Polyp #19, Spartan #1, BESSER #205, BabyAI #128, and Phoenix #1. This list is a versioned scope snapshot and is not dynamically widened by an unreviewed search result. Adding/removing targets requires a reviewable manifest change and explicit checkpoint-migration handling. Closed/merged PRs remain in the snapshot to preserve lifecycle evidence until a deliberate archival change.
Reviewed availability-only exception (Upstream #139 / PR #140): Headcount #47 is retained as the eighteenth identity, with the sole allowlisted monitoring: verify_404_only manifest mode. Every run MUST GET that exact source and confirm HTTP 404. It may then report 17 fully observed / 1 explicitly UNVERIFIABLE of 18, continue reading the other 17, and store a distinct availability marker instead of stale PR fields. The first transition emits one inbox SOURCE_UNVERIFIABLE alert, never a fabricated close/merge/review. Recovery (HTTP 200), a different status, any additional unavailable URL, or a malformed source fails closed pending source review and removal of the exception. The state is never silently OPEN or CLOSED_UNMERGED. This is a reviewed change to monitoring coverage, not a removal of the historical cohort, or permission to claim an 18-of-18 event snapshot. A returned count of 17 is prominently labelled in the observer and inbox output.
Checkpoint migration for #173, Reef #19, Spartan #1, BESSER #205, BabyAI #128 and Phoenix #1: The watcher explicitly allows only these six reviewed additive URLs. Workflow One #173 was already baselined into the existing bot-owned 13-PR checkpoint. Reef #19, Spartan #1, BESSER #205, BabyAI #128 and Phoenix #1 add five observations while preserving all 13 prior snapshots. New arrivals receive NEW_TRACKED_PR informational events instead of backfilled historic review/CI alerts; subsequent real transitions are tracked normally. An unapproved URL or removal still fails closed without inbox writes. A --probe-only live scan checks the migration without modifying the checkpoint; a scheduled/dispatch run on the merged default branch can persist the 18-PR checkpoint.
Checkpoint migration for the seven 2026-11-10 external PRs (Upstream #202): The exact reviewed additions are Wanman #38, LACP #128, Friday #23, CrewDeck #1, talktorana Agent Harness #1, Dark Factory #106 and NovaCode #1. These seven additional URLs only are allowlisted for an additive 18 → 25 transition. The existing 18 snapshots—including the Headcount HTTP 404 exception—remain intact. On migration, new entries produce informational NEW_TRACKED_PR events without replaying historical reviews or CI failures as alerts. All removals and any eighth unreviewed addition still fail closed. The pull-request --probe-only check is read-only; persistent migration occurs only in the existing authorized default-branch watcher.
Checkpoint migration for KnowWork #4 (2026-11-11, Upstream #217): The exact published PR URL is separately allowlisted after an authenticated publication readback. This authorizes the additive 25 → 26 baseline, preserves all prior snapshots, and does not replay existing maintainer activity. No other additions or removals are authorized. The PR-run probe remains read-only; the default-branch watcher owns persistence.
Checkpoint migration for Runloop #1 (2026-11-11, standing publication mandate): The exact external Runloop #1 was published Open/Ready from fork-local #1 and independently read back at head 4a2cf1552aebf3fce76da56e51d46e70ff87af39 after 32/32 native PostgreSQL-backed tests passed. This single allowlisted addition permits 26 → 27 checkpoint migration while preserving prior states, emitting NEW_TRACKED_PR without inventing prior maintainer activity. Publication does not imply maintainer acceptance or deployment.
Checkpoint migration for CodeAct #26 (2026-11-11, standing publication mandate): The external CodeAct #26 was submitted Open/Ready from fork-local #1 and independently read back at head 797c8acdecf6ee857bc3f092f4f68691e1ee7d78; native Tornado concurrency regressions 2/2 PASS, while live Docker/Jupyter integration was not run. This single addition permits 27 → 28 checkpoint migration without replaying historical reviews. No maintainer acceptance is implied.
For the Headcount transition, the existing checkpoint key is preserved and replaced with an explicit availability: unverifiable / reason: HTTP_404 marker only after all other sources have been checked. Subsequent unchanged runs do not rewrite the checkpoint or repeat the alert. If a future reviewed change restores full monitoring, re-baseline the newly available source without retroactively replaying historical review events. No partial scan is described as complete or silently treated as success.
python3 scripts/pr_maintenance_watch.py --validate-only validates the manifest without network or write operations.
python3 -m unittest discover -s tests -p test_pr_maintenance_watch.py -v tests distinct check conclusions, no-repeat notices, genuine review/CI changes, old comment suppression, callback routing and fail-closed behavior without calling GitHub.
- The implementation was merged in PR #126 and activated on
main. The manual default-branch run succeeded; check current Actions runs for subsequent hourly execution, rather than inferring each run from the schedule declaration. - New or edited human review comments are actionable signals, not necessarily proven defects or authorized instructions. Inspect the actual updated source comment before triage; deleted comments and missed intermediate edit versions are not reconstructed by polling.
- GitHub check conclusions have distinct meanings:
failure→CI_FAILED,timed_out→CI_TIMED_OUT,action_required→CI_ACTION_REQUIRED(all alert for triage);cancelled→ informationalCI_CANCELLEDwithout a failure alert.action_requiredcan mean workflow approval or some other required action: inspect the source check before attributing a code defect. - A newly confirmed GitHub merge conflict raises
MERGE_CONFLICT.mergeable=nullmeans computation is pending, and branch protection/check failures are not necessarily conflicts. The last settled conflict state is kept separately through transient unknown responses; observed API fields are unchanged. Preexisting conflicts are not backfilled as new when adding mergeability fields to the checkpoint. Inspect the actual PR before rebasing; the target base need not bemain. - Example manual triage: StarNet PR #56 was already
dirty, but the maintainer had independently released the requested tool; the external PR was later closed unmerged by OpenSiro with an explicit reason. This is a justified no-patch local result, not an OpenSiro merge. - GitHub scheduled workflows may run late or be skipped under platform load;
hourlydescribes configuration, not guaranteed latency. - Monitoring is not the same as event ownership. Maintainer review requests must be independently triaged and closed through an authorized operator.
- The existing daily portfolio lifecycle freshness check is still authoritative for its historical experimental cohort; this watcher does not overwrite it or mutate the frozen 34-case Corrective ledger.
- If GitHub issues are locked, Actions token cannot write to #125, or checkpoint state is ambiguous, the watcher must fail and alert via failing Actions, not silently reset its cursor.
Checkpoint migration for Clouds-Coder #50 (2026-11-11, standing publication mandate): The external Clouds-Coder #50 was submitted Open/Ready from fork-local #1 and read back with exact head 9b396673a9834ec914e760a32858e6a4efb88bf9. Targeted native collaboration 61/61 and split-distribution 6/6 PASS, while whole-repository pytest was not validated; this single allowlisted addition migrates 28 → 29 without replaying historical events. Publication is not a maintainer acceptance, adoption or product benefit claim.
Checkpoint migration for yoagent #450 (2026-11-11, standing publication mandate): The external yoagent #450 was submitted Open/Ready from fork-local #1 and read back at head b06e768ad53ab01c4e1f26dca4af156652712684. Native Rust fmt, clippy, rustdoc and full Linux all-features suite PASS (1,937 passed, 17 ignored), with the initial GASP file-permission failure attributed to a root-container capability after a successful capability-restricted rerun; other OS CI remains unverified. This exact allowlisted addition permits 29 → 30 checkpoint migration without manufacturing historic events. The external maintainers retain sole merge authority; no adoption or product benefit is claimed.
Checkpoint migration for phax #205 (2026-11-11, standing publication mandate): External phax #205 was submitted Open/Ready from fork-local #1 and read back at head 45e90eaad89f7503ef7dbaed1d24a41c0418e3d5 against original main@75afd70adae7adebe7f750c49942abbad308e774. The exact source-matched Node 24 first-party pnpm check:full exited 0 (429 unit and 238 integration test files, typecheck/lint/format/architecture/knip/model-catalog all PASS); pnpm build and pnpm site:build also PASS. GitHub confirmed three changed files and disclosure v3. This exact allowlisted addition permits 30 to 31 maintenance targets without replaying historical events. There is no third-party acceptance, deployment or measured product adoption claim.
Checkpoint migration for Fara #96 (2026-11-11 UTC, standing publication mandate): External Fara #96 was published Open/Ready from fork-local #1 after exact GitHub readback of original base a675d6d61c41c47ae87bacefeab22caad18e3e84 and fork head 5b2499026322e25ac6d6182778914171a85f56b6, two changed files and first-party Python targeted regression 3/3 PASS. Full browser/model tests were not executed. This exact allowlisted addition permits a 31 to 32 maintenance-target migration without replaying historical comments or inventing maintainer activity. Publication is not third-party acceptance, measured downstream benefit or a VSM regrade.
Checkpoint migration for Evidence Bench #9 (2026-11-12 UTC, standing publication mandate): External Evidence Bench #9 was published Open/Ready from fork-local #1, on original main at 85b396a824dfad6ec0880cbe07d86d3e24920ae8, source-native branch head 9710d908adb05bc5effc6a557de321bff8cda142; two changed files. Native Python policy regression 16/16 PASS, full Python non-live suite command exited 0 after uv sync frozen/dev/analysis; no test total separately recorded. The contributor's documented npm ci step was not performed, with Node/npm absent, disclosed in external body. This single allowlisted addition enables 32 to 33 maintenance targets, preserving earlier checkpoint state and recording only NEW_TRACKED_PR informational transitions. No maintainer merge, real-world benefit, or VSM-grade change is inferred.