Skip to content

ci: add documentation and credential-scan backstops - #2

Merged
stousignant merged 2 commits into
mainfrom
feat/documentation-ci
Oct 7, 2026
Merged

stousignant merged 2 commits into
mainfrom
feat/documentation-ci

Conversation

@stousignant

@stousignant stousignant commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds standard-library checks for the published blueprint Markdown/layout contract, catalog coverage and supported local file links.
  • Adds checksum-pinned Gitleaks checks for working-tree files and all fetched history, with isolated default rules, safe diagnostics and no report artifacts.
  • Runs tests, native scanner canaries, docs checks and both scan modes on pushes, pull requests and manual dispatch, with read-only permissions and no persisted checkout credential.
  • Documents supported syntax, default detector/path exclusions, clean-checkout expectations and the limits of post-upload CI.

Tracks #1; the installed default-branch workflow and post-merge run are verified.

Verification

  • Local plain and coverage runs: 19 tests passed, no skips, including actual pinned Gitleaks positive/negative canaries. Source statement coverage: 82.7%.
  • Broken links/structure, unsafe paths/symlinks, ineffective repository config/ignore/inline allows, deleted-history credentials under disabled diff attributes, missing/erroring scanners and suppressed diagnostics exercised.
  • Documentation and actual working-tree/fetched-history scans: PASS.
  • Workflow YAML/pins/least permissions checked; the native test step fails if its scanner executable is absent rather than silently skipping canaries.
  • Independent stable implementation review completed. Narrow findings resolved and parent-verified: scanner-config content is now scanned in the working tree; failing-before/passing-after native control added; nested-temp proof tightened; default-branch proof runs are not cancelled by later pushes. No new authority or scope.
  • Candidate daa17986cb0897929577b196045071afc443b075 passed exact outgoing-content preflight. Current-head push and pull-request checks passed. Merged as a61d3f24f4fc16f537c693dfa70b87c54d0e8157; the first default-branch push run passed with all 19 tests and both scan modes. Fresh-clone full-tree/byte comparison and installed workflow-blob readback passed.

Boundaries

Only five authorized paths change. Existing blueprint/catalog files and LICENSE are byte-identical to the base. No private policy/dependency, repository visibility change, installer/runtime integration, licence edit, deployment or scheduled job. Local anchors and angle-wrapped local destinations fail closed; external HTTPS targets are syntax-checked, not fetched. Gitleaks default path exclusions remain active in history and ordinary files; CI is not comprehensive pre-publication privacy clearance and does not verify credentials with live services. No branch-protection setting is changed or claimed.

Diff: +1071/-0 LOC; 28.9% of changed lines are in test files (not coverage).

@stousignant
stousignant merged commit a61d3f2 into main Oct 7, 2026
2 checks passed
@stousignant
stousignant deleted the feat/documentation-ci branch October 7, 2026 01:44
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