Release gates — full assertion detail¶
This file preserves the complete, unabridged text that previously lived in
README.md's ## Status and ## Contributing sections. It exists so the
README can carry a short summary while this document keeps every factual
claim about what release:check, packed-tarball smoke, and registry smoke
actually verify. Nothing below has been dropped or reworded from the
original README prose — only split into bullets at natural boundaries
(", plus ", " also verifies ", "and ", etc.) for readability.
See README.md for the short version, docs/ROADMAP.md
for the full phase log, and docs/PRODUCT-READINESS.md
for the current completion boundary.
Status detail (v4.56.0)¶
Currently at v4.56.0: public npm publish, provenance-backed GitHub Actions release, public registry smoke, Website Console MCP readiness, workspace learning restore/eval coverage, handoff bundle verification, and 90%+ component coverage are complete.
Core design consulting workflows are locally release-ready. The website
improvement control tower is available as a zero-dependency static Web App at
docs/website-console/index.html, plus a
website-improvement route/skill/command for:
- Site Profiles, audit checklists, MCP readiness, refactor prompts
- Browser-local handoff evidence tracking
- CLI/bundle evidence export with verified bundle evidence metadata
- Generated bundle contract verification
- Bundle repair preview/apply with repair report
--out fileoutput-file persistence - Packed-tarball evidence preservation smoke coverage
- Handoff reports
Local learning preferences are available through design-ai learn, with:
- Starter profile bootstrap via preview-first
learn --init - Explicit
learn --feedbackkeep/improve/avoid guidance - Explicit
check --learn --yescapture for local QA warning/failure results - Read-only
learn --signalsregistry reports that join learning audit, usage sidecar, eval signal files, check capture entries, deterministic agent development backlog actions, and workspace readiness without mutatinglearning.json - Focused read-only
learn --agent-backlogreports that expose only the local AI/agent next-action queue with JSON/Markdown output and strict gating learn --signals --report --out learning-signals.mdMarkdown handoff artifactslearn --signals --strictgating for warning/failing signal registry or backlog status- Preview-only
learn --propose-skillsreports that convert repeated check-capture signals into candidate skill instruction deltas without editing skill files - Adjustable
learn --propose-skills --min-evidence Nthresholds for stricter or faster local proposal review - Read-only
learn --propose-skills --review-file skill-proposals.review.jsondecision joins for applied/rejected proposal state - Read-only
learn --propose-skills --review-file skill-proposals.review.json --review-checkreview-file readiness checks for current proposals - Read-only
learn --propose-skills --review-file skill-proposals.review.json --apply-planaccepted proposal apply plans for manual skill edits --review-template --out skill-proposals.review.jsonJSON decision scaffolds--report --out skill-proposals.mdMarkdown review artifacts- Preview-only
--patch --out skill-proposals.patchunified diff handoffs for manual review learn --propose-skills --strictgating when proposal review or upstream signal readiness is pending- Read-only
design-ai workspacedogfood readiness snapshots for git, canonical repository remote/metadata alignment, learning, optional or sibling--learning-usagesidecar summaries with stale selected-id/profile-mismatch readiness warnings - Optional
--learning-evalcheckpoint summaries with freshness metadata - Automatic sibling
learning-eval.jsoncheckpoint detection - Checkpoint freshness warnings when the active learning profile changed after checkpoint generation or no longer matches checkpoint metadata
- Shell-safe learning usage/eval next-action commands for local paths
- Usage-aware
learn --curate --usage-filenext actions when learning profile audit or usage sidecar drift needs review - Companion
learn --curate --report --out learning-curation-report.mdworkspace report next actions before archive cleanup - Eval-template bootstrap next-action hints when a clean learning profile has entries but no checkpoint
- Release-script state with
--strictreadiness gating
design-ai site covers:
- Sample workspace generation, prompt template listing
- Deterministic MCP readiness checks through
--mcp-check - Opt-in read-only MCP probe checks through
--mcp-check --probes - Markdown or JSON MCP action plan export through
--mcp-plan,--mcp-plan --probes, and--mcp-plan --probes --json - Portable workflow graph export through
--graph --json - Complete handoff bundle export through
--bundle --out - Handoff bundle checksum/fingerprint and generated contract verification through
--bundle-check --strict --json - Handoff bundle comparison through
--bundle-compare --strict --json - Target-repo handoff prompt generation from a verified bundle through
--bundle-handoff --strict --json - Local handoff bundle repair through
--bundle-repair --yes --json - Refactor task generation, single prompt template export with task selection
- Validation/report/prompt generation from Website Console JSON exports
Additional learning surfaces:
- Full portable
learn --backup --jsonprofile export with safe--outfile output and--forceoverwrite control - Redacted portable
learn --redact --jsonprofile export for sharing from the local profile or portable JSON via--from-file/--stdin - Non-mutating
learn --verifyimport validation - Read-only
learn --diffprofile comparison against portable JSON - Preview-first full-profile
learn --restorereplacement from portable backups with automatic rollback backup and optional--backup-filepath - Read-only
learn --restore-backupsinventory for sibling rollback backups - Preview-first
learn --restore-backups --prune --keep Ncleanup for older sibling rollback backups - Portable
learn --importdry-run/confirmed profile merge - Query-filtered
learn --list --explain/learn --exportinspection without recency fallback - Read-only
learn --auditcleanup suggestions /learn --stats - Read-only
learn --usagereports for local prompt/pack usage sidecar activity - Runnable
learn --eval-templatecheckpoint generation from the active profile - Read-only
learn --evalcheckpoint reports for deterministic local learning selection QA with--strictfailure gating and sanitized checkpoint metadata - Safe
learn --audit --fix --dry-runpreviews plus confirmed--fix --yescleanup - Archive-first
learn --curatepreview/apply flow for duplicate and sensitive learning entries pluslearn --curate --report --outMarkdown audit trails and advisory usage review hints for profile mismatch, stale selected ids, and unused active entries - Opt-in
prompt/pack --with-learningwith brief-relevance ranking, category/limit scoping, selection scoring metadata, learned-context audit summaries, and locallearning.usage.jsonsidecar events that store selected entry ids plus a short brief hash instead of raw brief text
AI model training or fine-tuning remains outside the shipped scope.
The corpus has been audited under CI checks since v1.7. It currently runs 8 audits: - Frontmatter validity - Internal link resolution - Korean copy quality - Raw hex color hygiene in examples - Integration walkthrough completeness - Stale-content freshness - Component coverage report freshness - Top worked example QA for every routed workflow
All 8 pass on every commit to main.
release:check coverage¶
npm run release:check is the core gate before release PRs or tags. It covers:
npm testCLI unit testsnpm run audit:strictall 8 auditsgit diff --checkwhitespace checksnpm run package:checkpackage contents checksnpm run release:metadatarelease metadata checks with release metadata JSONproduct_readiness_checked: trueProduct Readiness guard coveragenpm run release:self-testrelease assertion self-tests (including audit runner exit-code and coverage timestamp preservation fixtures)npm run package:smokepacked-tarball smoke for installed-bin plus one-shotnpm exec --package <tarball>paths, covering:design-ai workspace --strict --jsonworkspace strict failure/success readiness checks plus workspace--learning-usagesidecar summaries and workspace--learning-evalcheckpoint summaries with freshness metadata plusdesign-ai workspaceworkspace learning restore-backups readiness with restore rollback backup inventorydesign-ai site --stdin --jsonWebsite Console export validationdesign-ai site --stdin --next-actions --json --out file --forceWebsite Console next-action operator checklist output-file persistencedesign-ai site --stdin --next-actions --out file --forceWebsite Console next-action human checklist output-file persistencedesign-ai site --sampleWebsite Console sample workspace coveragedesign-ai site --intake-templateWebsite Console intake template coverage for JSON stdout, Markdown stdout, Markdown--out, JSON--out, and--language koKorean JSON/Markdown plus Korean Markdown--outin installed-bin and one-shot pathsdesign-ai site --from-intakeWebsite Console from-intake filled Markdown intake import coverage for workspace JSON stdout, stdin workspace JSON stdout, stdin next-actions JSON stdout, stdin next-actions JSON--outfile output-file persistence, stdin next-actions human--outfile output-file persistence, stdin workspace JSON--outfile output-file persistence, workspace JSON--outfile output-file persistence, from-intake task generation, stdin from-intake task JSON--outoutput-file persistence, from-intake task handoff bundle generation, stdin from-intake task handoff bundle generation, stdin handoff bundle generation, and from-intake handoff bundle generation in installed-bin and one-shot pathsdesign-ai site --initWebsite Console project init workspace coverage in installed-bin and one-shot pathsdesign-ai site --init --bundle --out <dir>Website Console init handoff bundle coverage in package bin path and one-shot pathsdesign-ai site --prompt-list --jsonWebsite Console prompt template listingdesign-ai site --stdin --mcp-check --jsonWebsite Console MCP readiness checkdesign-ai site --stdin --mcp-check --probes --jsonWebsite Console MCP readiness probe JSON with--outfile-write confirmation plus shared MCP probe output-file smoke assertions plus embedded MCP check probe next-step commands plus executable embedded MCP check probe command smoke coverage plus human MCP check probe command guidance and output-file smoke coverage plus embedded MCP check probe human report output commanddesign-ai site --stdin --mcp-planWebsite Console MCP action plandesign-ai site --stdin --mcp-plan --probesWebsite Console MCP probe action plandesign-ai site --stdin --mcp-plan --probes --jsonWebsite Console MCP probe action plan JSON with--outfile-write confirmation plus embedded MCP action plan probe output-file commands plus MCP action plan human report output command parity plus MCP action plan emitted human report command smoke coverage plus MCP action plan emitted check JSON command smoke coverage plus MCP action plan emitted self-archive command smoke coverage plus shared MCP action plan command mapping self-test coveragedesign-ai site --stdin --graph --jsonWebsite Console workflow graph exportdesign-ai site --stdin --bundle --out <dir>Website Console handoff bundledesign-ai site <bundle-dir> --bundle-check --strict --jsonWebsite Console handoff bundle check with SHA-256 checksum verification, bundle digest/fingerprint verification, and generated bundle contract verificationdesign-ai site <bundle-dir> --bundle-compare <other-bundle-dir> --strict --jsonWebsite Console handoff bundle compare with bundle digest comparison plus packed-tarball and public-registry smoke for warning-state Website Console bundle-compare strict failures where identical warning bundles keepsameBundle: truewhile exiting non-zero under--strictdesign-ai site <bundle-dir> --bundle-handoff --strict --jsonWebsite Console target-repo handoff prompt from a verified bundle digest plus--bundle-handoff --task task-content-quality --strict --jsontask-selected bundle handoffdesign-ai site <bundle-dir> --bundle-repair --yes --jsonWebsite Console bundle repair preview/apply drift recovery with repair report--out fileoutput-file persistence, shared repair guidance smoke helpers, and shared repair report assertion helpersdesign-ai site --stdin --tasksWebsite Console refactor task generationdesign-ai site --stdin --prompt codex-implementation --task task-homepage-ctaWebsite Console task-selected single prompt generation- Human
design-ai versionand machine-readable version metadata from JSONdesign-ai version --json design-ai helptop-level help, thedesign-ai help --jsontopic catalog with probe-capable Website Console site help usage, command alias help and functional alias output, command-specific help topic output, shared Website Console site help topic example smoke assertions including thedesign-ai site website-workspace.json --next-actions --out website-next-actions.mdnext-actions Markdown help example plus from-intake stdin help examples (cat company-website-intake.ko.md | design-ai site --from-intake --stdin --out website-workspace.json --force,cat company-website-intake.ko.md | design-ai site --from-intake --stdin --next-actions --out website-next-actions.md --force,cat company-website-intake.ko.md | design-ai site --from-intake --stdin --tasks --out website-workspace.tasks.json --force,cat company-website-intake.ko.md | design-ai site --from-intake --stdin --bundle --tasks --out website-handoff-bundle)- All three
listcatalog domains in human and JSON mode, human / JSON corpus discovery output, route JSON output, route catalog output, and route stdin input - Explicit
show --linesoutput androute --explainoutput - Unknown command failure, unknown help-topic failure, unknown list-domain failure, and unknown search-dir failure
- Unknown route-id suggestion, unknown option suggestion, unknown value suggestion, and numeric range failure
- Prompt JSON output, prompt markdown output, prompt from-file output, prompt stdin output, pack JSON output, pack markdown output, pack from-file output, and pack stdin output
- Prompt/pack forced
--outoverwrite and prompt/pack file-write confirmations - Check examples output, check artifact output, check stdin output, check all-routes output, and check learning capture output
- Human
design-ai audit --strict --quietoutput and JSONdesign-ai audit --strict --quiet --jsonmachine-readable repository-audit output - JSON
design-ai learn --feedbackoutput plus learn feedback--outfile-write confirmation - JSON
design-ai learn --initoutput, JSONdesign-ai learn --backupoutput, JSONdesign-ai learn --redactoutput,design-ai learn --redact --from-fileoutput,design-ai learn --redact --stdinoutput, learn JSON--outfile-write confirmation and forced overwrite coverage - JSON
design-ai learn --verifyoutput plus learn verify--outfile-write confirmation - JSON
design-ai learn --restorepreview/apply output plus learn restore--outfile-write confirmation plus learn restore rollback backup verification plus learn restore--backup-filepath coverage plusdesign-ai learn --restore-backupsrestore rollback backup inventory coverage plusdesign-ai learn --restore-backups --prunerestore rollback backup pruning coverage - JSON
design-ai learn --importdry-run/apply output plus learn import--outfile-write confirmation - Human / JSON
design-ai learn --statsprofile summary output plus learn stats--outfile-write confirmation - Query-filtered human learn list explanation and export JSON output
- Brief-relevant prompt/pack learning selection, prompt/pack learning usage sidecar recording
- Human / JSON
design-ai learn --usageusage sidecar report plus learn usage--outfile-write confirmation - Human / JSON
design-ai learn --signalslearning signal registry plusdesign-ai learn --signals --strict --jsonstrict gate plus learn signals--outfile-write confirmation - Human / JSON
design-ai learn --eval-templatecheckpoint generation plus generated checkpoint strict validation - Human / JSON
design-ai learn --evalcheckpoint report plus learn eval--outfile-write confirmation plus learn eval--strictfailure gate - Human / JSON
design-ai learn --auditcleanup suggestion output plus learn audit--outfile-write confirmation - Human / JSON
design-ai learn --curatearchive-first curation output plus usage-aware curation JSON review - Human
design-ai update --dry-runoutput,design-ai update --dry-run --jsonmachine-readable update plan - Human diagnostics output from
design-ai doctor --strict, machine-readable diagnostics output fromdesign-ai doctor --json - Human
design-ai installoutput plusdesign-ai install --jsonmachine-readable install lifecycle output - Human
design-ai statusoutput plus JSON status includingdesign-ai status --jsonmachine-readable install-state output - Human
design-ai uninstalloutput plusdesign-ai uninstall --jsonmachine-readable uninstall lifecycle output
Additional preserved guard phases under the same npm run release:check gate:
- Website Console bundle
mcp-probes.jsonsaved-payload guard phases through package contents, release self-tests, and packed-tarball smoke. - Website Console bundle boundary metadata guard phases for bundle-check JSON/human and bundle-handoff JSON/prompt boundary metadata plus full
release:self-testevidence recording through unit tests, strict audits, whitespace checks, package contents, release metadata, release self-tests, and packed-tarball smoke. - The Product Readiness release policy full gate guard for Website Console bundle boundary metadata full
release:checkevidence through unit tests, strict audits, whitespace checks, package contents, release metadata, release self-tests, and packed-tarball smoke. - The Product Readiness release policy full gate evidence guard through unit tests, strict audits, whitespace checks, package contents, release metadata, release self-tests, and packed-tarball smoke.
Packed-tarball smoke coverage¶
In addition to the release:check coverage above, packed-tarball smoke also verifies:
- Route eval, prompt eval, and pack eval checkpoint output for installed-bin and one-shot
npm exec --package <tarball>paths. design-ai learn --signals --report --out learning-signals.mdMarkdown signal reports, learn signals JSON--outfile-write confirmations, anddesign-ai learn --agent-backlog --report --out agent-backlog.mdfocused agent backlog Markdown reports plus agent backlog JSON--outfile-write confirmations anddesign-ai learn --agent-backlog --strict --jsonagent backlog strict gates, focused agent backlog readiness summaries,optionalGapDetailsJSON field coverage, check index JSON field coverage, Markdown check index section coverage, and check-capture optional-gap semantics for installed-bin and one-shotnpm exec --package <tarball>paths. That smoke coverage also preserves the optional refresh-only runbook selection reason so no-command agent backlog output treats refresh as status metadata, not an executable handoff command.design-ai learn --propose-skills --min-evidence 3 --jsonthreshold skipping, learn skill proposals JSON--outfile-write confirmations,design-ai learn --propose-skills --report --out skill-proposals.mdMarkdown review artifacts,design-ai learn --propose-skills --review-file skill-proposals.review.json --jsonread-only review decision joins,design-ai learn --propose-skills --review-file skill-proposals.review.json --review-check --jsonread-only review-file readiness checks,design-ai learn --propose-skills --review-file skill-proposals.review.json --review-check --report --out skill-proposal-review-check.mdread-only review-check Markdown reports,design-ai learn --propose-skills --review-file skill-proposals.review.json --apply-plan --jsonread-only accepted proposal apply plans, human apply-plan command contract summaries viadesign-ai learn --propose-skills --review-file skill-proposals.review.json --apply-planwith theCommand contractsection,design-ai learn --propose-skills --review-file skill-proposals.review.json --apply-plan --report --out skill-proposal-apply-plan.mdread-only apply-plan Markdown reports,design-ai learn --propose-skills --review-template --out skill-proposals.review.jsonJSON review templates,design-ai learn --propose-skills --patch --out skill-proposals.patchunified diff handoffs, anddesign-ai learn --propose-skills --strict --jsonas an expected-failure skill proposal readiness gate for installed-bin and one-shotnpm exec --package <tarball>paths.
Registry smoke coverage¶
After npm publish completes, npm run registry:smoke verifies the public npm exec --package install path, including:
- Human
design-ai versionand machine-readable version metadata from JSONdesign-ai version --json design-ai helptop-level help, thedesign-ai help --jsontopic catalog with probe-capable Website Console site help usage, functional aliases- All three
listcatalog domains in human and JSON mode, human / JSON corpus discovery output, route JSON output, route catalog output, and route stdin input - Explicit
show --linesoutput androute --explainoutput - Unknown command failure, unknown help-topic failure, unknown list-domain failure, and unknown search-dir failure
- Unknown route-id suggestion, unknown option suggestion, unknown value suggestion, and numeric range failure
- Prompt JSON output, prompt markdown output, prompt from-file output, prompt stdin output, pack JSON output, pack markdown output, pack from-file output, and pack stdin output
- Prompt/pack forced
--outoverwrite and prompt/pack file-write confirmations - Check examples output, check artifact output, check stdin output, check all-routes output, and check learning capture output
- Human
design-ai audit --strict --quietoutput and JSONdesign-ai audit --strict --quiet --jsonmachine-readable repository-audit output - Public registry JSON
design-ai learn --verifyoutput plus public registry learn verify--outfile-write confirmation - Public registry JSON
design-ai learn --backupoutput plus public registry learn backup--outfile-write confirmation - Public registry human / JSON
design-ai learn --statsprofile summary output plus public registry learn stats--outfile-write confirmation - Human
design-ai update --dry-runoutput,design-ai update --dry-run --jsonmachine-readable update plan - Human diagnostics output from
design-ai doctor --strict, machine-readable diagnostics output fromdesign-ai doctor --json - Human
design-ai installoutput plusdesign-ai install --jsonmachine-readable install lifecycle output - Human
design-ai statusoutput plus JSON status includingdesign-ai status --jsonmachine-readable install-state output - Human
design-ai uninstalloutput plusdesign-ai uninstall --jsonmachine-readable uninstall lifecycle output
Additional registry smoke assertions:
- Registry smoke also verifies public registry
design-ai workspace --strict --jsonworkspace strict failure/success readiness checks from the published package path. - Registry smoke also verifies public registry
design-ai workspace --learning-eval learning-eval.json --strict --jsoncheckpoint summaries with freshness metadata plus auto-detected learning usage sidecar summaries from the published package path. - Registry smoke also verifies public registry
design-ai workspaceworkspace restore-backups readiness with restore rollback backup inventory from the published package path. - Registry smoke also verifies public registry
design-ai siteWebsite Console export validation, including public registrydesign-ai site --stdin --next-actions --jsonnext-action operator checklist contract withmcpProbeCountsprobe count telemetry plus shared smoke assertion self-test coverage for Website Console next-actions MCP probe counts plus public registrydesign-ai site --stdin --next-actions --json --out file --forcenext-action operator checklist output-file persistence plus public registrydesign-ai site --stdin --next-actions --out file --forcenext-action human checklist output-file persistence, sample workspace coverage, prompt template listing, MCP readiness, MCP readiness probes, MCP readiness probe JSON with--outfile-write confirmation plus shared MCP probe output-file smoke assertions plus embedded MCP check probe next-step commands plus executable embedded MCP check probe command smoke coverage plus human MCP check probe command guidance and output-file smoke coverage plus embedded MCP check probe human report output command, MCP action plan, MCP probe action plan, MCP probe action plan JSON with--outfile-write confirmation plus embedded MCP action plan probe output-file commands plus MCP action plan human report output command parity plus MCP action plan emitted human report command smoke coverage plus MCP action plan emitted check JSON command smoke coverage plus MCP action plan emitted self-archive command smoke coverage plus shared MCP action plan command mapping self-test coverage, handoff bundle, bundle-check JSON/human and bundle-handoff JSON/prompt boundary metadata for deterministic-local, no-external-call, and no-target-repo-mutation handoff validation, bundle-check/compare/handoffmcpProbeCountsprobe count telemetry plus package smoke self-test coverage for Website Console bundle MCP probe counts plus bundled Website Consolemcp-probes.jsonsaved probe evidence payload assertion instead of the fullsite --mcp-check --probes --jsonresponse, bundle-repair, refactor task generation, and task-selected prompt generation from the published package path. - Registry smoke also verifies public registry JSON
design-ai learn --feedbackoutput plus public registry learn feedback--outfile-write confirmation, public registrydesign-ai learn --feedback --from-file, public registrydesign-ai learn --feedback --stdin, public registry JSONdesign-ai learn --initpreview/apply output, and public registry learn init duplicate-skip output. - Registry smoke also verifies public registry JSON
design-ai learn --restorepreview/apply output plus public registry learn restore--outfile-write confirmation, public registry learn restore rollback backup verification, public registry learn restore--backup-filepath coverage, public registrydesign-ai learn --restore-backupsrestore rollback backup inventory coverage, and public registrydesign-ai learn --restore-backups --prunerestore rollback backup pruning coverage. - Registry smoke also verifies public registry JSON
design-ai learn --importdry-run/apply output plus public registry learn import--outfile-write confirmation plus public registry JSONdesign-ai learn --redactoutput, public registrydesign-ai learn --redact --from-file, public registrydesign-ai learn --redact --stdin, and public registry learn redact--outfile-write confirmation. - Registry smoke also verifies public registry human / JSON
design-ai learn --auditcleanup suggestion output plus public registry learn audit--outfile-write confirmation and public registrydesign-ai learn --audit --fix --dry-runcleanup preview and confirmed apply output. - Registry smoke also verifies public registry query-filtered learn list explanation/export JSON output, public registry brief-relevant prompt/pack learning selection and prompt/pack learning usage sidecar recording with public registry prompt/pack --with-learning, and public registry
design-ai learn --eval-templatecheckpoint generation plus public registry generated checkpoint strict validation. - Registry smoke also verifies public registry learning readiness Markdown report coverage so
design-ai learn --signals --report --out learning-signals.mdanddesign-ai learn --agent-backlog --report --out agent-backlog.mdpreserve theReadiness check indexsection from the published package path.
Other release:check bar items¶
These are short items that were already concise in the README and remain there as well as here for completeness:
- Knowledge files use
<!-- hand-written -->marker if hand-authored. - Skill PLAYBOOKs include a verification phase checklist.
- Korean strings spelled out in Korean (no machine translation passing through).
- All audits pass.
- Before pushing for CI, run
npm run ci:localwhen you need local parity with the non-publishing GitHub workflows. It wrapsrelease:check, Python syntax checks, knowledge size budget, VS Code extension compile/unit tests, the MkDocs build, and the MkDocs warning policy used by the docs deployment workflow: no non-refs/warnings, with refs-only warnings capped at the accepted baseline.