Skip to content

docs: document smoke-test final-release human-approval gate - #1410

Merged
c-vigo merged 1 commit into
devfrom
feature/1409-document-smoke-approval-gate
Aug 11, 2026
Merged

c-vigo merged 1 commit into
devfrom
feature/1409-document-smoke-approval-gate

Conversation

@c-vigo

@c-vigo c-vigo commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Description

Documents the smoke-test final-release human-approval gate shipped in 1.7.0 (#1391 / PR #1392). The mechanism is live-proven, but its operational contract lived only in issue threads and workflow comments — an operator following the current docs at the next final leg would hit a silent 30-minute stall, because devkit's release.yml does not block on downstream state and nothing signals that the smoke listener is waiting for an approval.

Closes #1409

Type of Change

  • docs -- Documentation only

Changes Made

  • docs/CROSS_REPO_RELEASE_GATE.md
    • Receiver Responsibilities: new step for the approval gate — candidates leave the smoke release PR unapproved (deferred-approval model, feat(ci): gate RC dispatch on CI only — move approval + ready-for-review to the final release #902); the final dispatch polls reviewDecision (20 s interval, 30 min) for a human approval; cleanup-recreate semantics explain why the approval must happen while the gate is waiting
    • New Contract dependencies section: (1) smoke-test main must require ≥1 approving review or reviewDecision never computes (org-config-owned, org-config#127; workflow approvals blocked org-wide by org-config#122); (2) the listener executes from the smoke repo's default branch — asset is SSoT, urgent fixes are hotfixed to smoke main and mirrored (precedents devkit-smoke-test#345/fix(ci): normalize smoke-test workspace ownership after installer #353)
    • Failure Signals: gate timeout added, distinguishing "nobody approved" (approve + re-run failed jobs) from "required reviews dropped" (org-config drift)
  • docs/RELEASE_CYCLE.md
    • Phase 4: notes the one human exception in the otherwise automated gate
    • Phase 5 runbook: explicit operator step 2 — locate the waiting listener run, approve the freshly created smoke release PR (gh commands included), timeout recovery; subsequent steps renumbered
  • CHANGELOG.md (+ synced assets/workspace/.devcontainer/CHANGELOG.md copy, propagated by the sync-manifest hook)

Changelog Entry

Changed

  • Document the smoke-test final-release human-approval gate (#1409)
    • docs/CROSS_REPO_RELEASE_GATE.md now describes the approval gate shipped in 1.7.0 and its two contract dependencies: required reviews on smoke-test main (org-config-owned) and default-branch listener execution (asset SSoT, hotfix-main + mirror procedure)
    • docs/RELEASE_CYCLE.md Phase 5 gains the explicit operator step: approve the freshly created smoke-test release PR while the final dispatch is paused at the gate, with timeout recovery

Testing

  • Manual testing performed (describe below)

Manual Testing Details

Docs-only change — TDD not applicable. Full just precommit suite green locally (the sync-manifest hook propagated the changelog to the workspace asset; committed). Content verified against the shipped gate implementation (assets/smoke-test/.github/workflows/repository-dispatch.yml, Gate final release on human approval of release PR), the org-config live config (vig-os.jsonnet devkit-smoke-test Main protection), and the 1.7.0 train record (#1391, org-config#122/#127, smoke run 31221248513).

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors

@c-vigo c-vigo added this to the 1.7.1 milestone Aug 11, 2026
@c-vigo c-vigo added the docs Improvements or additions to documentation label Aug 11, 2026
@c-vigo
c-vigo enabled auto-merge August 11, 2026 07:12
@c-vigo
c-vigo merged commit 9956931 into dev Aug 11, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/1409-document-smoke-approval-gate branch August 11, 2026 07:20
c-vigo added a commit that referenced this pull request Aug 11, 2026
## Description

Refreshes `CLAUDE.md` — stale since the 1.4.0 era — and lands the one
hard release rule that existed only as tribal knowledge. Follows the
same agent-docs review as #1409/#1410.

Closes #1411

## Type of Change

- [x] `docs` -- Documentation only

## Changes Made

- **`CLAUDE.md`**
- Title corrected: "vigOS Devcontainer" → "vigOS Devkit
(`vig-os/devkit`)" (stale pre-rename names have already caused a real
bug, #1396)
- `/solve-and-pr` added to the command table (was in `.claude/skills/`
but unlisted)
- New lean **Release Operations** section: pointers to
`RELEASE_CYCLE.md`, `CROSS_REPO_RELEASE_GATE.md`,
`DOWNSTREAM_RELEASE.md`, `MIGRATION.md`/`SOLO_ADOPTION.md`,
`WORKFLOW_SECURITY.md`, plus three hard rules (green-CI-before-dispatch,
immutable-release forward-fix, adoption is automated — no per-consumer
lane dispatch). Pointers only; docs remain SSoT.
- **`docs/RELEASE_CYCLE.md`** Phase 2 (Publish Candidates): hard rule
that `release.yml` must never be dispatched — candidate or final — until
the release-branch PR CI is fully green; the release PR opening is not
the go-signal. This mistake recurred across trains and was previously
written down nowhere in the repo.
- `CHANGELOG.md` (+ synced workspace asset copy via `sync-manifest`
hook)

## Changelog Entry

### Changed

- **Refresh `CLAUDE.md` and add the green-CI dispatch rule**
([#1411](#1411))
- `CLAUDE.md`: correct the project title to `vig-os/devkit`, add the
missing `/solve-and-pr` command row, and add a lean "Release Operations"
section pointing at the release doc set plus the agent-behavioral hard
rules
- `docs/RELEASE_CYCLE.md` Phase 2: state the hard rule that
`release.yml` must never be dispatched until the release-branch PR CI is
fully green

## Testing

- [x] Manual testing performed (describe below)

### Manual Testing Details

Docs-only — TDD not applicable. Full `just precommit` suite green
locally. Command-table row verified against
`.claude/skills/solve-and-pr/SKILL.md`; hard rules cross-checked against
`RELEASE_CYCLE.md` (immutability/forward-fix policy) and the 1.7.0 train
record (automated adoption, #1404/#1405).

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have updated the documentation accordingly (edit
`docs/templates/`, then run `just docs`)
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant