Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
chore(ship-policy): stamp_placeholders ["TBD"] so a restamped since row reads as a stamp (min gstack 1.94.16.0)
garrytan4840cdf39582
diff --git a/.gstack/ship-policy.json b/.gstack/ship-policy.jsonindex 0786e37a40..3b4c82c447 100644--- a/.gstack/ship-policy.json+++ b/.gstack/ship-policy.json@@ -1,6 +1,6 @@{"bump": "patch",- "min_gstack_version": "1.91.377.0",+ "min_gstack_version": "1.94.16.0","queue_mode": "stamp-at-merge","changelog": "CHANGELOG.md","stamp_files": [@@ -18,5 +18,6 @@"<!-- gbrain-template-stamp: {version} -->","<!-- gbrain-runbook-stamp: {version} -->"],+ "stamp_placeholders": ["TBD"],"migrations": { "dir": "src/core/schema-migrations", "id": "^v(\\d+)-" }}diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 049d0a247c..d85ab1461b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,7 @@ identifiers and attribution are available in the pre-removal Git revision- `src/core/skillopt/loop-deprecation.ts` (new): the notice text, the removal date and the one emitter, called by `gbrain skillopt` (after it resolves the mode, so a resumed loop run counts), the `run_skillopt` op (`ctx.emitNotice`, so MCP and `gbrain call` render it) and the `skillopt` job handler. `skillopt_loop_deprecated` is a new coaching code in `NOTICE_CODES`.- `gbrain skillopt --help`, the `run_skillopt` description and its `optimizer_mode` parameter, docs/guides/skillopt.md, the tutorial and the `skill-optimizer` skill mark the loop deprecated.+- Ship policy: `.gstack/ship-policy.json` declares `stamp_placeholders: ["TBD"]` (and `min_gstack_version` 1.94.16.0, the first gstack that reads it), so a branch's own `since: 'TBD'` BEHAVIOR_CHANGES row that the slot restamp fills reads as a stamp instead of a change after /ship's review.- `test/skillopt/loop-deprecation.serial.test.ts`: each entry point that runs the loop emits the notice exactly once and still runs it; the one-shot default, a one-shot job and the cycle phase emit none.## [0.60.565.0] - 2026-11-03diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0af8edd8e6..ea14fc7e47 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -706,7 +706,7 @@ accepted contribution is credited in `CHANGELOG.md`.### gstack repo config (`.gstack/`)-Two committed files tell gstack (1.91.377.0 or later) about gbrain's own gates;+Two committed files tell gstack (1.94.16.0 or later) about gbrain's own gates;gstack reads both from master, so a branch's edits take effect after it merges.- `.gstack/pregate.json`: `gstack-pregate run --allow-repo-commands` runs a@@ -732,8 +732,11 @@ gstack reads both from master, so a branch's edits take effect after it merges.- `.gstack/ship-policy.json`: the stamp rule (the release stamp files andversion patterns) and the migration numbering `gstack-pregate regate` and`gstack-tree-receipt` use to decide whether a restamped head is the same tree- that passed the gate, plus `min_gstack_version` (1.91.377.0, the first gstack- that reads `run_profiles`; an older one refuses with an upgrade fix).+ that passed the gate, plus `min_gstack_version` (1.94.16.0, the first gstack+ that reads `stamp_placeholders`; an older one refuses with an upgrade fix).+ `stamp_placeholders: ["TBD"]` lets a branch's own `since: 'TBD'` row become+ `since: '<version>'` at the slot and still count as a stamp, so /ship's+ finish step does not read the restamp as a change made after review.### How a contributor PR lands