Skip to content

Latest commit

 

History

History
134 lines (111 loc) · 7.45 KB

RELEASE_CHECKLIST.md

File metadata and controls

134 lines (111 loc) · 7.45 KB

Premature Contribution Firewall Release Checklist

Use this checklist before presenting Premature Contribution Firewall as a public pilot, README-ready demo, or GitHub maintainer tool. The point is evidence, not vibes.

Required Local Gates

Run these from the repository root:

npm run check
npm run repo:verify
npm test
npm run benchmark
npm run redtest
npm run demo:maintainer -- --fail-on-regression
npm run ci:verify
npm run package:verify
npm run demo:maintainer:write

Expected result:

  • Syntax check passes.
  • Repository hygiene verification passes.
  • Unit tests pass.
  • Benchmark stays at 46/46 or the documented case count increases with reviewed expectations.
  • Adversarial red test stays at 11/11 or grows with preserved breakage residue.
  • Maintainer demo reports PASS.
  • CI workflow verification reports all required gates present and forbidden write posture absent.
  • The packed-install gate exercises all three installed command shims from an isolated consumer directory, including preflight exit codes 0/1/2, lifecycle and MCP readiness. Record its tarball SHA-512 receipt; npm pack --dry-run alone is insufficient.
  • The root action.yml stays a read-only composite action that runs the public pilot and writes a markdown artifact.
  • docs/maintainer-demo-output.md is regenerated from the demo command, not hand-edited.

Required CI Gates

The GitHub Actions workflow at .github/workflows/pcf-verification.yml must run on pull requests and pushes to main. It must keep:

  • permissions.contents: read
  • PCF_DRY_RUN=true
  • PCF_POST_COMMENTS=false
  • PCF_APPLY_LABELS=false

It must run:

  • npm run ci:verify
  • npm run repo:verify
  • npm run check
  • npm test
  • npm run benchmark
  • npm run redtest
  • npm run demo:maintainer -- --fail-on-regression
  • npm run package:verify

It should upload regenerated proof artifacts after those gates pass, not before.

The Windows Gates job must also run npm run ci:gates. Study storage is intentionally unsupported on native Windows: its API/CLI rejection controls must pass without creating a store. The five POSIX study workflow tests run on Linux and are explicitly skipped on Windows. The MCP file-symlink test may skip only when Windows returns EPERM creating that link; direct stdio tests still run. Report these platform skips separately from passes. See the study storage requirements.

Evidence To Ship

  • docs/benchmark-results.md
  • docs/adversarial-red-team-results.md
  • docs/maintainer-demo-output.md
  • docs/API.md
  • docs/BUILD_ARC_36_HOURS.md
  • docs/GITHUB_ACTION.md
  • docs/RELEASE_POST_V0_1_0.md
  • docs/MAINTAINER_FEEDBACK_TRACKER.md
  • docs/WATCHLIST.md
  • docs/NEXT_ACTOR_MODEL.md
  • docs/MAINTAINER_DEMO.md
  • CONTRIBUTING.md
  • SECURITY.md
  • SUPPORT.md
  • CODE_OF_CONDUCT.md
  • .github/pull_request_template.md
  • .github/ISSUE_TEMPLATE/
  • action.yml
  • A screenshot or screen recording of the local queue, feedback, candidate export, and replay compare UI when presenting the browser experience.

Safety Gates

  • Keep GitHub writes disabled unless the deployment owner intentionally enables comments or labels.
  • Configure webhook HMAC verification before accepting public webhooks.
  • Add authentication, rate limiting, request logging, and operational alerting before public hosting.
  • Treat data/ as local runtime evidence. Do not commit feedback ledgers, candidate corpora, or queue-history files by accident.
  • Keep feedback candidate promotion separate from the permanent benchmark until a maintainer reviews the case and expectation.
  • Run npm run setup:pilot -- --repository owner/repo and verify the guided GitHub App pilot path is still accurate before sending the repo to a maintainer.
  • Run npm run pilot:public:markdown -- --repository owner/repo --limit 10 --write public-pilot.md privately before approaching a maintainer.
  • For upstream contributor scouting, run npm run pilot:scout -- --repository owner/repo --limit 10 --write scout.md, then separately gate contribution policy and current-upstream behavior before cloning or coding.
  • For repeated upstream scouting, run npm run pilot:watch -- --config config/watchlist.json --write watchlist.md; treat candidate rows as preflight leads, not permission to code.
  • For the GitHub Action pilot, use only contents: read, issues: read, and pull-requests: read, then upload pcf-queue.md as an artifact.
  • For evaluator changes from a live pilot, first run npm run pilot:public -- --repository owner/repo --limit 10 --capture /tmp/pcf-owner-repo-capture.json, then replay the captured payload with --fixture for before/after comparison.
  • Do not commit third-party pilot output or replay captures without maintainer consent.
  • Run a secret-pattern scan before publishing artifacts.

Claims Allowed

  • PCF evaluates review readiness, scope, evidence, repository policy, repository context, and maintainer attention cost.
  • PCF includes deterministic local benchmark and adversarial red-test corpora.
  • PCF can expose a read-only/dry-run GitHub maintainer queue and a callable local API.
  • PCF can run as a read-only GitHub Action that writes a markdown maintainer queue artifact.
  • PCF can preserve coarse queue actions while adding nextAction buckets that separate reporter evidence requests, duplicate/fixed checks, routing/process work, maintainer decisions, and blocked/not-actionable items.
  • PCF can print a guided GitHub App pilot checklist and first dry-run queue commands without exposing secret values.
  • PCF can generate a private public-repo shadow pilot artifact that preserves review-priority breakdowns and repository-context findings without writing to GitHub.
  • PCF can capture normalized private pilot payloads and replay them offline so before/after evaluator comparisons do not depend on live queue churn.
  • PCF can turn maintainer corrections into replayable fixture candidates when the original payload is available.
  • PCF can compare candidate replay baselines before evaluator or policy changes are accepted.

Claims Not Allowed

  • Do not claim AI-authorship detection.
  • Do not claim universal maintainer-preference accuracy.
  • Do not claim endorsement from the Linux kernel project or any maintainer group.
  • Do not claim production-hosted security readiness until auth, rate limits, webhook secret posture, storage policy, and operational logging are reviewed.
  • Do not claim feedback candidates are part of the permanent benchmark until they are intentionally promoted.

Release Blockers

  • Any failing unit, benchmark, red-test, or maintainer-demo gate.
  • Any failing packed-install gate, or an unverified final registry tarball after publication. Version selection and publication remain explicit maintainer decisions; a local package with manifest version 0.2.0 can contain unreleased code.
  • Any generated evidence artifact containing local absolute paths, private tokens, or runtime data paths.
  • Any public mode with GitHub writes enabled by default.
  • Any CI workflow that drops ci:verify, benchmark, red-test, or maintainer-demo gates.
  • Any release missing contribution, security, support, conduct, PR, or issue-template guardrails.
  • Any release missing a dry-run action.yml contract or documenting a write-enabled Action default.
  • Any CI workflow requesting issue, pull-request, or contents write permissions.
  • Any API or UI copy implying AI detection instead of review-readiness gating.
  • Any hidden mutation of GitHub issues, PRs, labels, or comments during dry-run demonstrations.