Skip to content

ci(a0): execute fixed VIA checks with source-matched evidence receipts - #6

Merged
pedrobritx merged 3 commits into
mainfrom
ci/a0-source-matched-evidence
Oct 18, 2026
Merged

pedrobritx merged 3 commits into
mainfrom
ci/a0-source-matched-evidence

Conversation

@pedrobritx

Copy link
Copy Markdown
Owner

Why

M0 and the real five-repository Polaris plan preflight pass. M1 still lacks source-matched execution evidence. This PR supplies CI-observed verification for actual VIA test commands without claiming Codex orchestration or independent user testing.

Implementation

  • scripts/a0_capture_checks.py runs only VIA's existing hard-coded test/typecheck/lint/build commands; captures actual return codes, stdout/stderr hashes and exact Git HEAD into runner-local receipts. Does not use AI, dynamic shell commands, or secrets.
  • .github/workflows/a0-evidence.yml uses read-only checkouts, a pinned Polaris validator, existing npm dependencies and check-result + a0_evidence.py integrity checks. Its job fails when commands or the audit fail.
  • Publishes only short-lived JSON receipts, not raw captured logs. Report is execution=partial, verification=partial, approval=pending, with explicit coverage gaps (no Codex run, no manual a11y/clipboard observation, no independent review/baseline).
  • docs/a0-evidence-ci.md explains limitations, evidence retention/privacy and remaining gates.

Boundaries

No deployment, merge, production data, new provider keys, new app dependency or changes to the Polaris Constitution. Uses existing repo CI behavior and existing GitHub Actions quotas. No additional agent runtime introduced.

Acceptance

Both this workflow and existing VIA CI pass at the exact PR revision; source SHA and receipt checks match real CI command results. Human approval remains required before merging. Relevant A0-009, A0-012, A0-013.

@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 10:45pm 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-18T22:52:39.120667Z 3d4cd12 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: 3d4cd12907

ℹ️ 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 +6 to +10
paths:
- ".github/workflows/a0-evidence.yml"
- "scripts/a0_capture_checks.py"
- "docs/a0-copy-summary.md"
- "docs/a0-codex-runbook.md"

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 Run evidence capture when reviewed sources change

After this workflow is merged, a PR that changes src/components/ExportButtons.tsx, src/i18n/shareSummary.ts, or their tests will not trigger this job because none of those paths are included here, even though the generated result identifies those files as the artifacts being verified. The ordinary CI workflow will still run, but it does not create the A0 receipts, so there will be no source-matched evidence for the revision that actually changes the reviewed feature; include the review scope in this filter or remove the filter.

Useful? React with 👍 / 👎.

@pedrobritx
pedrobritx merged commit 26b93db into main Oct 18, 2026
6 checks passed
@pedrobritx
pedrobritx deleted the ci/a0-source-matched-evidence branch October 18, 2026 22:58

This branch was successfully deployed

1 active deployment
Preview — 3d4cd129 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