release-gate-validator
Turns three pre-launch reports that already exist into one release posture (HOLD or ready) without running any of them. Ingests the security red team's on-disk results table mechanically, takes the preflight and performance tables as verbatim pastes, and computes the posture with a script. Use when the lanes were run earlier or by someone else, or when a deploy decision is needed now from those reports and re-running three skills is not affordable. Runs no attacks, no probes, no measurements, no subagents. A lane's pass never covers another lane, and an absent lane is reported absent. Not for producing the reports in the first place (use release-gate-chair), and not for deploying.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- release-gate-validator
- version
- 0.1.0
- description
- Turns three pre-launch reports that already exist into one release posture (HOLD or ready) without running any of them. Ingests the security red team's on-disk results table mechanically, takes the preflight and performance tables as verbatim pastes, and computes the posture with a script. Use when the lanes were run earlier or by someone else, or when a deploy decision is needed now from those reports and re-running three skills is not affordable. Runs no attacks, no probes, no measurements, no subagents. A lane's pass never covers another lane, and an absent lane is reported absent. Not for producing the reports in the first place (use release-gate-chair), and not for deploying.
- argument-hint
- <red-team-run-dir> [production URL] [--report <path>]
02 资源文件 5
- 其他.gitignore28 B
- 参考文档references/ledger.md4.1 KB
- 脚本scripts/check_gate.mjs8.5 KB
- 脚本scripts/gate_ingest.mjs6.7 KB
- 脚本scripts/gate_record.mjs4.2 KB
03 SKILL.md 正文
Release gate validator
This fork judges, it does not test. Nothing here touches a target. It reads reports that already exist, puts them in one ledger, and applies the same deterministic posture rule the other two forks use. Its entire value is that the posture arithmetic is redone by a script and the freshness of every lane is written down rather than remembered.
<skill-dir> is this skill's directory.
What each lane can be, and how it gets here
| Lane | Source of truth | How recorded |
|---|---|---|
app-tests |
.pre-ship-red-team/<run-id>/results/group-*.md |
scripts/gate_ingest.mjs parses the 12-column table — no prose summarising |
exposure |
the web-preflight report |
its host verdict plus its finding table, pasted verbatim through scripts/gate_record.mjs |
perf |
the pre-ship-performance-audit report |
its before/after tables and PERF-<nn> rows, pasted verbatim |
The red team is the only lane with a machine-readable artifact, so it is the only lane parsed
automatically. Accepting the other two as pastes instead of paraphrasing them is the point: a
summary is where a fixed-unproven quietly becomes a fixed-verified.
1. Ingest what exists
node "<skill-dir>/scripts/gate_ingest.mjs" .release-gate/<run-id> <red-team-run-dir> <git-sha-when-it-ran> <app-target> --checker <exit-of-check_results.mjs>
It writes one app-tests lane row and one finding row per scenario that had a severity, and prints
what it skipped (not-applicable and no-severity rows are coverage, not findings). Re-running it
replaces only the REDTEAM-* rows and the app-tests row; other lanes' rows survive.
Pass --checker only if you actually ran
node "<red-team-skill-dir>/scripts/check_results.mjs" <red-team-run-dir> --require-fixes
and saw the exit code. Without it the lane holds on R3, which is the correct outcome — this fork does not run that checker for you.
2. Record the other two lanes
node "<skill-dir>/scripts/gate_record.mjs" lane .release-gate/<run-id> --lane exposure --target <host> --verdict <PASS|PASS WITH FIXES|BLOCK|INCONCLUSIVE|untested> --sha <sha>
node "<skill-dir>/scripts/gate_record.mjs" lane .release-gate/<run-id> --lane perf --target <host> --verdict <measured|not-measured> --sha <sha>
One finding row per finding in those reports, copying severity, remediation and evidence exactly
as the report wrote them. Fill touches from what the finding says: data, money, role, none
or unknown. A lane that has no report at all gets --verdict untested, never an omitted row — an
omitted row is silence, and silence is not a pass.
3. Compute the posture
node "<skill-dir>/scripts/check_gate.mjs" .release-gate/<run-id> --sha <current-head-sha>
Exit 0 ready, 1 HOLD, 2 contract break. Report the rule codes. Staleness is the failure mode
of this fork, so always pass --sha: a lane recorded at another commit fires R6, and ready then
means only what the fresh lanes covered. Read the report as "what was true of this build", never as
"what is true of the site".
Urgency does not change posture. Deploying on a HOLD, or on a stale lane, is the user's call and
gets recorded as such.
4. Deliver
Print the register with the coverage line, the GAP: list and the accepted-risk attributions. State
plainly that no lane was re-run here and name the run dates. Then recommend the user run the live
web-preflight lane against the production host if the exposure lane is older than the last deploy.
Does not
- Send a single request to any target, dispatch a subagent, or fix anything.
- Invent a verdict for a lane whose report is missing, ambiguous, or contradicts the ledger.
- Merge verdicts into a score, or let one lane's pass cover another's absence.
- Present itself as equivalent to the other two forks. It is the cheapest and the least fresh.
If a caffeinity-stack skill is installed, read it before reporting Caffeinity work. Brew 3 · Espresso in caffeinity-routing is the sequence
this skill validates.
Verify
node "<skill-dir>/tests/posture.mjs"
node "<skill-dir>/scripts/gate_ingest.mjs" /tmp/empty /tmp/nope
The second must exit 2 with NOT-INGESTABLE. An ingester that invents an empty ledger for a
missing report is a gate that passes on nothing.
04 同仓库更多 Skills
tune-and-ship
Takes one published skill at a time from as-is to tuned, fact-checked, released and live, then moves to the next one in the catalog. Each run tunes the skill with tune-skill, checks every version number, flag, price and command it states against the primary source, re-reads its siblings' real SKILL.md files, polishes the listing with findable-polish, writes the version and release notes, opens one PR, and after the merge confirms the site page and marketplace copy are live. Use whenever the user wants to fine-tune their other skills, work through the catalog, give a published skill the full treatment, fact-check a skill's claims, or ship a tune instead of drafting it, even if they never say "ship". Not for a tune with no release (use tune-skill), drafts with nothing pushed (use tune-and-polish), a new skill (use skill-launch), regressions from the nightly health check (use caffeinity-routing's Descale brew), or a whole collection (use skill-estate).
skill-estate
Takes a whole collection of agent skill repos from scattered to published, consistent and self-maintaining, in gated phases: inventory every repo, reconcile site, marketplace and README listings, test and tune the family, close workflow gaps, wire publishing so new skill repos go live on their own, bundle a plugin with agents, add trigger tests and directory listings, and leave a maintenance loop and a map. Each phase hands off to the skill that owns it and ends in PRs. Use when someone's skills site and GitHub disagree, wants all their skill repos audited or cleaned up, wants new skills to publish themselves, or wants that cleanup repeated on another org, even if they never say estate. Not for one skill (use tune-skill), one listing (use findable), the site pipeline alone (use publish-pipeline), or weekly upkeep (use caffeinity-routing's Descale brew).
paper-trail
Drafts the policy pages a small product needs before it takes money or data (privacy policy, terms of service, refund policy, cookie notice) from a fact sheet about what the product actually collects, stores, shares and charges, then checks the drafts for placeholders, missing sections and facts nobody supplied. Use when someone needs a privacy policy, terms, refund or cookie page for a site, app, SaaS, newsletter or digital product, asks what legal pages they need before launch, or wants existing policy pages checked against what the product really does, even if they never say "legal". Not legal advice and not for contracts, NDAs or employment documents (use a lawyer), and not for the launch plan itself (use solo-income-blueprint) or the site build (use site-prompt).
course-builder
Designs a course for a group of learners (a class, cohort, workshop series, bootcamp or internal training): measurable outcomes, a module sequence with prerequisites, activities and assessments aligned to each outcome, a time budget that fits the hours available, and a rubric, then checks the plan with a script so no outcome goes untaught or unassessed. Use when someone is teaching others and asks for a curriculum, syllabus, course outline, module plan, cohort or workshop structure, or wants an existing course checked for gaps and overload, even if they never say "curriculum". Not for one person's own learning plan (use study-system), for being taught the topic (use topic-primer), or for marketing the course (use sales-copy).
wordsmith
Write, draft, rewrite, edit, proofread, polish and improve text while preserving the author's intended meaning, facts and voice. Use when the user wants clearer, shorter or better-toned writing; grammar, structure or flow fixes; emails, website or marketing copy, headlines, outlines or summaries; a different reading level; an accessibility, inclusivity or accuracy review; or content prepared for publication, even if they never say "edit". Also handles /wordsmith commands such as draft, critique, audit, tighten, tone and final. Not for resumes, CVs or LinkedIn profiles (use recruiter-lens if installed), not for code or code comments, and not for building .docx or .pdf files (write the text here, then use the file skill).
web-preflight
Use when shipping, deploying, publishing, launching, reviewing, or pre-flighting a website or API and you want a lightweight check for accidental exposure of secrets, source or configuration files, admin and debug surfaces, unsafe redirects, missing security controls, and misleading 200 responses. Trigger phrases include "before we ship", "security check", "preflight", "audit the site", "check the production URL", "is my .env exposed", and "why does /.env return 200", including when access-log or analytics evidence is supplied. Checks only sites the user owns or is authorized to assess, with bounded GET and HEAD requests and a fixed compact path set; distinguishes genuine resources from SPA catch-all and blanket WAF responses. Not for penetration testing, exploitation, credential testing, broad port scanning, or application-code review; use a dedicated authorized security-testing or code-review workflow instead.