Skip to content

ci: give docs-only trees a short checked gate run - #551

Open
SSFSKIM wants to merge 5 commits into
static-parallelfrom
docs-only-gate
Open

SSFSKIM wants to merge 5 commits into
static-parallelfrom
docs-only-gate

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Stacked change

Land after #550. This PR is based on static-parallel, not master.

The workflow computes the git diff itself. Direct merge heads compare against their first parent. A ci-gate nonce requires BOTH its unwrapped tested commit’s first-parent diff AND the cumulative origin/master merge-base diff to be docs-only; cancelling an unlanded code change cannot turn the wrapper into a docs-only run. Only unread docs paths qualify; suite-read evidence stays a code change. A docs-only change replaces static with a real docs job; every other selected gate remains unchanged. Neither an input nor a trailer can declare docs-only.

The docs job checks tracker table widths and consecutive single-line P5 Decision Log numbering without installing app dependencies. Both rules pass the origin/master baseline.

Verification

Eleven focused tests pass, including real git repositories with nonce commits, cumulative unmerged code, merge heads and cross-border renames. GitHub docs verification is green: run 42793143694, docs job 6 seconds, plan 10 seconds, full workflow 23 seconds. Static was skipped, and the temporary branch was deleted. The earlier docs trial took 15 seconds for docs / 43 seconds for the whole run. Code-branch verification is also green: 42793132658 selected static, skipped docs, and passed every part (static 4m24s, ci-gate 5m31s). Review corrections to the two-diff nonce boundary and short GFM table delimiters are committed at 0dfeb04 (11 focused docs tests pass, including both RED-to-GREEN regressions). Final committed-head verification is GREEN: 42794256258 on 0dfeb04, using the preserved pool static-local lane; docs skipped and static passed (534/534 gate-script tests, all six typechecks, lint, build and both session-host checks), ci-gate 3m49s. No full suites were run on the MacBook.

Before landing, ci-gate necessarily sees the unmerged CI implementation as code. As agreed with the dispatcher, verify docs selection via workflow_dispatch on a temporary merge with a docs-only first-parent diff over the implementation, and verify static selection via ci-gate on this code branch. True ci-gate docs-only timing is deferred until both PRs land; the architect will measure it then. The temporary measurement branch will be deleted.

O15 coordination

No CLASS1_E2E, HOSTED_MAC_E2E, MAC_VM_E2E or measured lists changed. This PR does not change gate-plan.test.mjs; new docs cases live in gate-docs.test.mjs. The parent #550 lists its isolated gate-plan.test.mjs job-name updates.

The workflow uses --git-docs solely as a mode switch: the planner computes the fact from git. Tests on a real code-changing tree show that gate requests, nonce trailers (including forged docs/affected claims), workflow_dispatch inputs, unsupported ci-gate flags, and environment/repository runner variables cannot force docs-only. Ordinary planner clients do not read history merely because they inherit Actions environment variables. Failed docs results map back to the static request in refusal-recovery commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T09:33:57.452555Z ec9666f PR opened
ℹ️ 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.

SSFSKIM added a commit that referenced this pull request Nov 10, 2026
A docs-only tree runs a docs check in place of static (the tracker's rows match their header's cell count; P5's Decision Log entries are consecutive, one line each) and still concludes success on its head. Docs-only is computed by the gate from git: a merge by its first-parent diff, a ci-gate nonce only when the tested commit's first-parent diff and its merge-base diff are both docs-only; suite-read evidence paths do not count as docs.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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