Skip to content

docs: add documentation and secret-scan CI backstop #1

Closed

Description

@stousignant

Goal

Add a small CI backstop for documentation structure, supported local file links and obvious credential patterns. This is repository validation tooling, not an installer, runtime, deployment or publishing system.

Scope

Only .github/workflows/ci.yml, scripts/check_docs.py, scripts/check_secrets.py, tests/test_checks.py and a contributor-validation section in the root README.md. Keep all blueprint files and their catalog byte-identical. Preserve the existing licence and repository visibility.

Acceptance criteria

  • Enforce the catalog's published Markdown/layout contract, exact recipe sections and catalog coverage. Verify supported local file links resolve within their permitted scope; reject unsafe paths, symlinks, ambiguous or unsupported syntax. HTTPS targets are syntax-checked, not fetched.
  • Use a pinned, checksum-verified official Gitleaks binary for both the working tree and all fetched Git history. Force default detector rules; repository config, ignore files and inline allow comments cannot silently disable checks. History detection must survive binary diff attributes and disabled textconv/external diff.
  • Unit tests cover valid content and negative structure/link/path/scanner controls. Real-scanner canaries run in CI with fabricated credentials constructed at runtime, including one deleted from the working tree but retained in Git history. No live-service credential verification.
  • All findings and scanner errors fail. Emit fixed safe diagnostics; do not publish scanner findings, token text or report artifacts.
  • Run on push, pull request and manual dispatch with read-only contents permissions, no secrets, no pull_request_target, no persisted checkout credential, pinned action SHA, finite timeout/concurrency and full fetched history. Extract the scanner outside the workspace only after hash verification.
  • Local tests and checks pass. A stable independent implementation review is resolved, checks tied to the current PR head pass before merge, and the installed workflow and successful default-branch run are read back afterward.
  • Explain the bounded Markdown subset, non-network HTTPS checks, default-pattern secret detection and the fact that post-upload CI is not comprehensive pre-publication privacy clearance.

Exclusions

No licence edit, private policy or private dependency, deployment, schedule, publishing automation, blueprint expansion or unrelated repository change.

Activity

  1. stousignant commented on Oct 7, 2026

    @stousignant
    OwnerAuthor

    Completion evidence

    Delivered in #2, merged as a61d3f24f4fc16f537c693dfa70b87c54d0e8157.

    • Published structure/catalog/local-file-link checks pass; negative structure/path/link fixtures fail.
    • All 19 tests pass locally and in the default-branch CI run, with no native-canary skips. Default-pattern detection is exercised on fabricated credentials, root scanner-control inputs and credentials deleted from history despite disabled diff attributes.
    • Missing/erroring scanner checks fail with safe diagnostics; scanner output is suppressed. Native test execution is mandatory in CI.
    • Upfront and stable independent implementation reviews completed; narrow follow-up findings corrected and parent-verified with refreshed tests/coverage and actual positive controls.
    • Current-head push/PR checks passed. Default-branch run 37558616485 completed successfully on the merged SHA; installed workflow blob and a fresh clone's complete 25-file tree/bytes match the verified candidate.
    • Original corpus/catalog and LICENSE are byte-identical to the base. No private policy/dependency, visibility change, licence edit, deployment or schedule.

    README records the bounded syntax, default exclusions and post-upload privacy limitations. All authorized acceptance criteria are verified; no workplace adoption claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions