Skip to content

v1.93.20.0 docs: version flow under changelog fragments; scorecard pass cap of 2 (GST-1003) - #3882

Merged
capy-ai[bot] merged 4 commits into
mainfrom
garrytan/gst-1003-stale-docs
Nov 2, 2026
Merged

capy-ai[bot] merged 4 commits into
mainfrom
garrytan/gst-1003-stale-docs

Conversation

@garrytan

@garrytan garrytan commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3882,
  "head": "bd0ce4ac5f0aff41931d386138513e7d474205e5",
  "version": "1.93.10.0",
  "base": "main",
  "session_kind": "unattended",
  "head_tree": "902d1bc371ef518498ef82f926fdaa5afa746b35",
  "product_patch_id": "90949614c09827e78f16dfdb7a2e91402db08ba9",
  "gstack_version": "1.92.66.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 48,
    "rules": "551486253e156572",
    "base": "daf661374fb9ab73f8a4ac891de228c13a714339",
    "registry": "daf661374fb9ab73f8a4ac891de228c13a714339",
    "gate_scan": {
      "tagged": 0,
      "head": "bd0ce4ac5f0aff41931d386138513e7d474205e5"
    },
    "reasons": [
      "runtime=48"
    ],
    "risk": []
  },
  "pregate": "requires-remote cleared @902d1bc371ef (1 checks, current for bd0ce4ac5f0a)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41502004535/job/125471576020",
    "pregate.json/remote_gate: remote-gate tree=902d1bc371ef tests=10357"
  ],
  "issues": {
    "fixes": [
      3885
    ],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "CLAUDE.md, docs/ (135 inventoried; CHANGELOG_STYLE.md, ship-policy.md, recommended-harness.md read in full), README.md, AGENTS.md, CONTRIBUTING.md, changelog.d fragment"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 2,
    "fixed": 1,
    "scope": "frozen",
    "fix_checks": 1,
    "rounds": 2,
    "dispatches": {
      "specialist": 5,
      "red-team": 1
    }
  }
}

Fixes the stale docs FOUN-32's knowledge-base pass found (GST-1003), checked against main at daf6613 (v1.93.10.0).

  • Version flow (CLAUDE.md, docs/ship-policy.md). Since v1.91.342.0 ship-policy: gstack versions its own PRs at merge time (changelog_fragments on; GSTA-154 P) #3654 gstack sets changelog_fragments, so a branch writes changelog.d/<branch-slug>.md and never a version, and the train's train land stamp assigns the version at merge. CLAUDE.md's "CHANGELOG + VERSION style" still told each branch to bump VERSION at /ship and check gstack-next-version; it now describes the fragment flow, with bump: front matter as the way to ask for more than PATCH. ship-policy's "Queue-side procedure for gstack" described the old tentative-stamp flow; it is retitled for repos on stamp-at-merge without fragments and says gstack itself uses train land. The old anchor #queue-side-procedure-for-gstack still resolves.
  • Factory scorecard pass cap (docs/recommended-harness.md, lib/factory-scorecard.ts). The scorecard counted PRs "at the cap" against 3 review passes, but the review policy caps /ship at two rounds, a fix-check included. The default --pass-cap is now 2, its benchmark reads "median 1 pass, few at the cap", and the doc explains the cap. This is a one-constant change to a read-only reporting tool; its test expectation moves from "1 at the cap of 3" to "2 at the cap of 2" on the same fixture.

Checked and left alone:

Tests: test/factory-scorecard.test.ts 25/0; test/claude-md-size.test.ts, test/agents-digest.test.ts, test/docs-config-keys.test.ts 11/0.

Closes #3885

  • CHANGELOG_STYLE.md (round 2 fix). CLAUDE.md tells authors to read docs/CHANGELOG_STYLE.md before writing an entry, and that file still told each branch to bump VERSION and advance through gstack-next-version. It now describes the fragment flow. The docs/ship-policy.md link to train land uses the explicit #train-land anchor.

Pre-Landing Review

Pre-Landing Review: 7 issues — 0 auto-fixed, 2 asked (0 fixed, 2 skipped), 1 deferred, 4 noted; round 2 fix-check fixed the deferred one (#3885) and the link anchor, and found nothing blocking.
Gate edits: none detected (1 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

Review notes

  • INFORMATIONAL docs/recommended-harness.md:283 (red-team, outside voice): the scorecard's cap counts passes, not review rounds, so a PR that reaches round 2 through a fix-check reads 0 at the cap of 2. Counting rounds is a separate product change.
  • INFORMATIONAL docs/CHANGELOG_STYLE.md:100 (fix-check): the unchanged duplicate-heading paragraph still explains version gaps as branch-internal versions.
  • INFORMATIONAL lib/factory-scorecard.ts:73: trend.csv rows from earlier weeks were counted at cap 3; each row names its cap.

Documentation

Status: current. Audit found no factual drift and made no edits.

Scope: base daf6613 to head 839bec0 on garrytan/gst-1003-stale-docs, plus the unstaged edits to docs/CHANGELOG_STYLE.md and docs/ship-policy.md and the new fragment changelog.d/garrytan-gst-1003-stale-docs.md. Discovery covered 135 candidate docs; 8 were selected and read in full diff context, and source was checked for each changed contract (scorecard pass cap and --now, pregate PREGATE_NO_POLICY, catalog budget 1,423, gemini host default model, ship-policy anchors).

Documentation health:

  • CLAUDE.md: current (fragment flow, budget 1,423 and Gemini CLI default model match source)
  • docs/recommended-harness.md: current (pass-cap 2, --now, PREGATE_NO_POLICY, train land text match source)
  • docs/ship-policy.md: current (#train-land anchor exists)
  • docs/CHANGELOG_STYLE.md: current (fragment flow matches ship-policy and CLAUDE.md)
  • changelog.d/garrytan-gst-1003-stale-docs.md: reviewed, left untouched (protected metadata)
  • bin/gstack-factory-scorecard, lib/factory-scorecard.ts, test/factory-scorecard.test.ts: reviewed as sources of truth, no doc impact beyond the above

Coverage debt: none found for the changed surface. The scorecard flag --now has reference coverage in docs/recommended-harness.md, but no how-to or tutorial. No new public surface lacks reference coverage.

Diagram drift: none; the changed docs contain no ASCII or Mermaid diagrams affected by this diff. Not run: the banned-terms check.

Open in Capy

Issues

Fixes #3885

…hes the two-round review cap (GST-1003)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 3 commits November 2, 2026 18:33
…and link to #train-land (GST-1003, #3885)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title docs: version flow under changelog fragments; scorecard pass cap of 2 (GST-1003) v1.93.20.0 docs: version flow under changelog fragments; scorecard pass cap of 2 (GST-1003) Nov 2, 2026
@capy-ai
capy-ai Bot merged commit 16e4d2f into main Nov 2, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deferred review finding: docs/CHANGELOG_STYLE.md:33 — CLAUDE.md makes docs/CHANGELOG_STYLE.md required reading, but it s

1 participant