Skip to content

ci: harden repository gates and document audit - #10

Merged
TheStreamCode merged 2 commits into
mainfrom
docs/codeql-triage-and-agent-contract
Aug 2, 2026
Merged

ci: harden repository gates and document audit#10
TheStreamCode merged 2 commits into
mainfrom
docs/codeql-triage-and-agent-contract

Conversation

@TheStreamCode

@TheStreamCode TheStreamCode commented Aug 1, 2026

Copy link
Copy Markdown
Owner

What

This pull request records the current security/code-review disposition and tightens two repository gates without changing product behavior.

Repository contract and CodeQL triage

  • Documents the pinned Rust/Node toolchain, npm-only launcher workflow, generated files, protected assets, public visibility, and release rules in AGENTS.md.
  • Records the current 309 open CodeQL alerts by query and explains the verified test-only or unreachable paths. No alert is dismissed, so later true positives remain visible.

CI and secret-scan hygiene

  • Updates every actions/checkout use from the pinned v7.0.0 SHA to the verified v7.0.1 tag SHA. The patch includes Git argument escaping and pull-request safety fixes.
  • Adds inline gitleaks:allow annotations only to the three synthetic AWS/GitHub credential fixtures. Full-history fingerprints remain unchanged and real-secret detection is not relaxed.

Verification

Check Result
npm test pass (10/10)
npm run verify:release pass — 0.4.2 aligned across 4 Cargo and 6 native npm packages
npm pack --dry-run --json pass — 9 files, 21.9 kB, no lifecycle scripts
cargo fmt --all -- --check pass
cargo check -p chutes-build-core --locked pass
cargo test -p chutes-build-core --locked pass (57/57)
cargo test -p xai-grok-tools --lib implementations::chutes:: --locked pass (34 passed, 1 credentialed live OCR test ignored by design)
Gitleaks worktree and full history pass
Relative Markdown links pass — 72 links across 166 tracked Markdown files, 0 broken
git diff --check pass
Published npm smoke pass — isolated install reports chutes-build 0.4.2 (f5fb363)

The pull-request CI and CodeQL checks provide the authoritative cross-platform workflow validation.

Risk and compatibility

No public API, runtime behavior, dependency graph, package version, or artifact content changes. The only Rust edits are scanner annotations on test fixtures. CHANGELOG.md keeps the changes under Unreleased; no new package, tag, release, or deployment is appropriate before review and merge.

Known residual issues

  • Two low-severity lru alerts (GHSA-rhfx-m35p-ff5j) remain open. The fixed version is outside the ranges used by ratatui 0.29 and the current AWS SDK path; a broad Cargo dry-run would update 386 packages and introduces an MSRV 1.96 dependency above the repository's Rust 1.94.1 pin, so this requires a separately tested migration.
  • The PR requires one external/code-owner approval under the protected main rules.

TheStreamCode and others added 2 commits August 1, 2026 21:57
Add a static-analysis triage section to the security review covering the
309 open CodeQL alerts. All four critical `hard-coded-cryptographic-value`
hits are `#[cfg(test)]` nonce fixtures; the cleartext-transmission hits on
the retained upstream backend, feedback, and session-registry clients are
unreachable because `REMOTE_SESSION_REGISTRY` forces `StorageMode::Local`
and the product policy constants gate the remaining handlers. No alert is
dismissed, so a later true positive stays visible.

Document the pinned Rust/Node toolchain, the single supported package
manager, the artifacts the project produces, the protected assets and
generated files, and the repository-visibility rules in AGENTS.md.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@TheStreamCode TheStreamCode changed the title docs: record CodeQL triage and repository contract ci: harden repository gates and document audit Aug 1, 2026
@TheStreamCode
TheStreamCode merged commit 6345ee2 into main Aug 2, 2026
10 checks passed
@TheStreamCode
TheStreamCode deleted the docs/codeql-triage-and-agent-contract branch August 2, 2026 09:40
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