Repository navigation
maws-app: the filter, the overlay, the secret scan and the hosted Mac's setup (hosted Macs M1) - #151
Merged
Merged
Conversation
.github/scripts/maws-app-tree.sh (filter v2) writes the tree SSFSKIM/maws-app runs CI on from one MAWS commit: git archive, less .github/workflows/, .smns, research/, the evidence but the probe cli.test.ts reads, the bench's recordings and the mockups' screenshots; the owner's four addresses redacted as bytes, everywhere; the overlay (.github/maws-app/, read from the commit itself) written to README.md and .github/workflows/hosted-mac.yml, then removed. hosted-mac.yml runs one request's group on macos-26 and answers on ci/result/<suffix>; a Hosted-Cancel commit cancels through the concurrency group; the stale guard stops a job that starts past its deadline or whose ref no longer points at it; the schedule sweeps refs older than 6 hours and warms main's caches, the only ones a ci/hosted/ branch can restore. The setup action sets a GitHub-hosted Mac's display to 1920x1080 at 1x, prints the desktop's line (fails on any other display), and caches the pnpm store and Electron's download there as on hosted Linux. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
.github/scripts/maws-app-scan.sh scans a directory with gitleaks 8.30.1, pinned by version and by its archive's sha256 and downloaded with curl when PATH lacks that release, under gitleaks' default rules and .github/maws-app/gitleaks.toml. It fails closed: a finding, or a scanner it cannot download, verify or run, exits 1 with `maws-app-scan: refused`; a finding is printed as its file, line and rule, never its value. No .gitleaksignore or inline allow in the scanned tree is honoured. The allowlist covers the 3,413 findings of a full scan of the filtered tree, each entry with why its values are not credentials; the filter removes it from the published tree. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
gitleaks.toml no longer extends gitleaks' default configuration, whose global allowlist exempts lockfiles, images, fonts, vendored and minified code and any gitleaks.toml: it carries 8.30.1's default rules itself (less two path-only allowlists for a node_modules README), keeps that allowlist's values and drops its paths. The browser probe's saved pages allow only their saved values, not every finding under their directory. A fresh full scan of the filtered tree finds nothing new. Tests: a credential in each formerly exempt kind of file is found, a new Google key beside or inside a saved page is found, and a symlink out of the scanned directory is not followed. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
…iled listing, no warm-up The filter refuses a commit with a symlink at a directory it enters or at an overlay file, reads the overlay from git's objects, and replaces the files it writes, so an export never reads or writes outside its directory; the redaction's walk follows no link. The overlay's sweep reads the whole ci/ ref listing before it loops and fails when the listing fails, where the process substitution ended an empty loop green; commit ages come from gh's own jq. The warm job and the hosted-macOS cache lines in the setup action are gone: a cache saved on a ci/hosted/ branch is that branch's alone, and the hits measured no gain. Tests: a symlinked overlay file and a symlinked evidence directory are refused with the host files untouched, a link elsewhere is published as the link, and the sweep step runs against a fake gh. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
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. |
SSFSKIM
added a commit
to SSFSKIM/ci-kit
that referenced
this pull request
Oct 26, 2026
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M1 of ci-kit's spec
docs/doperpowers/specs/2026-10-26-maws-hosted-mac-design.md(branchmaws-hosted-mac-spec). It adds the parts of MAWS that run some Mac e2e groups on GitHub's hosted Macs through the public repository SSFSKIM/maws-app:.github/scripts/maws-app-tree.sh <git dir> <sha> <empty dir>turns one MAWS commit into the tree maws-app runs CI on, deterministically..github/workflows/,.smns,research/, the evidence directory (the CLI probe file stays), the parity-bench recordings and the mockup shots.v2..github/maws-app/): the publicREADME.mdandhosted-mac.yml.hosted-mac.ymlis the only workflow on maws-app.ci/hosted/**, its 6-hourly sweep, or a dispatch. It reads no secret and has nopull_requesttrigger.planreads the request's trailers;e2eruns onmacos-26behind a stale guard;resultwrites the result commit;sweepremoves refs older than 6 h..github/scripts/maws-app-scan.sh <dir>runs a pinned gitleaks 8.30.1, checked by sha256, and fails closed.gitleaks.tomlinlines gitleaks' default rules verbatim. Extending the default config would also inherit its file exemptions, which skippnpm-lock.yaml, vendored code, images and minified files.gitleaks:allowcomments and a.gitleaksignoreare ignored.runner.environment == 'github-hosted' && runner.os == 'macOS', which does not run on self-hosted runners.ci-kit desktop: … display 1920x1080@1x. It fails the job on any other display.Gate lists,
gate.yml's jobs,gate-plan.mjsandci-gate.share untouched (M2 wires them).Validation Evidence
scripts/ci-gate.sh /private/tmp/maws-hosted-m1 --gates static --label hosted-m1→ci-gate: run 40276188707 success. The gate-script tests: pass 174, fail 0. That includesmaws-app-tree.test.mjs(10) andmaws-app-scan.test.mjs(8).p1-e8/g0-cli-probe.txtis present, and.github/maws-app/is absent;.github/workflows/holds exactlyhosted-mac.yml, and the README is the overlay's;secrets.reference and nopull_requesttrigger;display 1920x1080@1x; its result commit was written;cancelled, and the cancel's run 40272211679 planned nothing;hosted: stale requestin 4 s;main: 40276522078 success. maws-app holds onlymain.MAWS-Source, thengit add -A --forceandgit write-tree, gives the request's tree.mainis 6d44bb9, the v2 tree of 21bad07. It was fast-forwarded after a clean full-tree scan.mainblocks deletion and non-fast-forward pushes, with no bypass.maws-hosted-mac.all_external_contributors.doperpowers:reviewer-high(the spec's rung for M1);Residue
gitleaks.toml's rules section is gitleaks 8.30.1's default config with its file exemptions removed. The file's header names the source and the changes. Moving the gitleaks pin means rebuilding that section from the new release; a small committed generator (or a scan-time fetch of the pinned default config, sha-checked) would make that mechanical.libreofficeinput or not (the input is Linux-only). On a hosted Mac it is a large share of the setup's brew time. This is a ci-kit change, out of this initiative's scope.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)