feat: /land-and-deploy first-run dry-run, staging-first, trust ladder

First run shows a dry run — detect deploy infrastructure, validate commands,
show what will happen — then confirm before proceeding. Staging-first option
when staging detected. Config decay: re-triggers dry run if deploy config
changes. Full wordsmithed copy for every user-facing message.

Key changes:
- Step 1.5: first-run dry-run with infrastructure validation table
- Step 3.5a-bis: inline review gate before deploy
- Step 4a/4b: merge queue + CI auto-deploy detection and messaging
- Step 5a: staging-first option with verify-then-promote flow
- Voice & Tone section: narrate-the-journey, teacher mode vs efficient mode
- Config fingerprinting: trust decays when deploy config changes
This commit is contained in:
Garry Tan
2026-03-26 11:41:08 -06:00
parent 1bf888d75c
commit df486f321a
5 changed files with 1000 additions and 134 deletions
+8 -4
View File
@@ -133,10 +133,12 @@ export const E2E_TOUCHFILES: Record<string, string[]> = {
'gstack-upgrade-happy-path': ['gstack-upgrade/**'],
// Deploy skills
'land-and-deploy-workflow': ['land-and-deploy/**', 'scripts/gen-skill-docs.ts'],
'canary-workflow': ['canary/**', 'browse/src/**'],
'benchmark-workflow': ['benchmark/**', 'browse/src/**'],
'setup-deploy-workflow': ['setup-deploy/**', 'scripts/gen-skill-docs.ts'],
'land-and-deploy-workflow': ['land-and-deploy/**', 'scripts/gen-skill-docs.ts'],
'land-and-deploy-first-run': ['land-and-deploy/**', 'scripts/gen-skill-docs.ts', 'bin/gstack-slug'],
'land-and-deploy-review-gate': ['land-and-deploy/**', 'bin/gstack-review-read'],
'canary-workflow': ['canary/**', 'browse/src/**'],
'benchmark-workflow': ['benchmark/**', 'browse/src/**'],
'setup-deploy-workflow': ['setup-deploy/**', 'scripts/gen-skill-docs.ts'],
// Autoplan
'autoplan-core': ['autoplan/**', 'plan-ceo-review/**', 'plan-eng-review/**', 'plan-design-review/**'],
@@ -252,6 +254,8 @@ export const E2E_TIERS: Record<string, 'gate' | 'periodic'> = {
// Deploy skills
'land-and-deploy-workflow': 'gate',
'land-and-deploy-first-run': 'gate',
'land-and-deploy-review-gate': 'gate',
'canary-workflow': 'gate',
'benchmark-workflow': 'gate',
'setup-deploy-workflow': 'gate',