Skip to content

ci(a0): smoke-test Polaris routing with real VIA and discipline repositories - #5

Merged
pedrobritx merged 1 commit into
mainfrom
ci/a0-real-adopter-preflight
Oct 18, 2026
Merged

pedrobritx merged 1 commit into
mainfrom
ci/a0-real-adopter-preflight

Conversation

@pedrobritx

Copy link
Copy Markdown
Owner

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

  • Check out 5 separate repositories at specific actual run-time Git revisions, read-only with no persisted credentials.
  • Use the pilot-only config/intake under via/docs/ rather than globally adopting Polaris for VIA.
  • Run polaris/automation/a0.py route; check applicable disciplines, unified mode, source revisions, clean checkouts, zero uncovered concerns, and planned+empty-evidence handoffs.
  • Report that this proves only plan-structure integration, not AI execution, app behavior, security or accessibility.

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.

@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
via Ready Ready Preview Oct 18, 2026 12:34am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T00:39:23.989388Z 3756a29 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +79 to +80
assert set(plan["routing"]["disciplines"]) == expected, "Wrong disciplines"
assert {task["discipline"] for task in plan["composition"]["tasks"]} == expected

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Comment on lines +83 to +87
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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@pedrobritx
pedrobritx merged commit 798096d into main Oct 18, 2026
5 checks passed
@pedrobritx
pedrobritx deleted the ci/a0-real-adopter-preflight branch October 18, 2026 00:42

This branch was successfully deployed

1 active deployment
Preview — 3756a29d Deployed Oct 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant