Repository navigation
ci(a0): smoke-test Polaris routing with real VIA and discipline repositories - #5
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3756a29dac
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| assert set(plan["routing"]["disciplines"]) == expected, "Wrong disciplines" | ||
| assert {task["discipline"] for task in plan["composition"]["tasks"]} == expected |
There was a problem hiding this comment.
Reject duplicate disciplines in the composition
If Polaris emits a duplicate discipline or handoff, such as two Axis tasks, both set comparisons still equal expected, so this step passes and reports an “exact” structurally ready composition despite containing extra work. Also assert the lengths or compare a counted/normalized sequence so every expected discipline occurs exactly once.
Useful? React with 👍 / 👎.
| assert not plan["product_source"]["dirty"], "Adopter checkout is not clean" | ||
| assert not plan["composition"]["coverage_gaps"] | ||
| for task in plan["composition"]["tasks"]: | ||
| assert not task["source"]["dirty"], "Discipline source is not clean" | ||
| assert len(task["source"]["revision"]) == 40 |
There was a problem hiding this comment.
Verify reported revisions against the checked-out commits
When the router reports a stale or fabricated 40-character revision, this assertion still passes, and the product revision is not checked at all. That leaves the workflow green while its summary claims the real checkout revisions were validated; compare each reported revision, including product_source.revision, with git rev-parse HEAD in the corresponding checkout rather than checking only string length.
Useful? React with 👍 / 👎.
Motivation
The VIA Copy summary feature has passed application CI, but this does not prove any Codex/Polaris orchestration. Add a narrow, read-only GitHub Actions integration smoke test against real VIA + Polaris + Axis + Meridian + Sentinel repository checkouts (all public and their merged main-branch contracts).
Procedure
via/docs/rather than globally adopting Polaris for VIA.polaris/automation/a0.py route; check applicable disciplines, unified mode, source revisions, clean checkouts, zero uncovered concerns, andplanned+empty-evidence handoffs.Safety
No secrets, paid services, external writes, deploy, production data or permissions escalation. GitHub Actions runs in ordinary read-only CI. Reuse existing contracts; no constitutional changes.
Acceptance
Workflow and VIA's existing CI pass on the actual PR head. Link evidence to A0 goal and M1 contract CI. Do not count as completing A0 G1–G6; real Codex execution, human acceptance and comparative baseline remain outstanding.