Files
gstack/agents-digest/gstack-AGENTS.md
garrytanandcapy-ai[bot] 65489c8942 RESTAMP: 1.91.276.0 -> 1.91.277.0 (stamped; queue_mode=stamp-at-merge base=origin/main@3e4240a76f30 policy=base origin/main@3e4240a76f30:.gstack/ship-policy.json)
ship, next in queue at 1.91.277.0
STAMP_VERSION: 1.91.277.0
claims: ignored (stamp-at-merge)
stage version: done (wrote 1.91.277.0)
stage release_tool: done (bun scripts/gen-agents-digest.ts)
stage changelog: done (Unreleased -> 1.91.277.0)
stage stamp_paths: done (1 mention(s) in 1 file(s) (1.91.270.0 -> 1.91.277.0))
stage mirror: skipped (no mirror in policy)
stage apply: done (5 file(s))
FILES: CHANGELOG.md VERSION agents-digest/gstack-AGENTS.md lib/ship-policy.ts package.json
MERGE_CONDITION: sha=a78ce08af9815b7ed6bdef9b91ee2c3d0df418a3
next: NEW_VERSION=1.91.277.0; commit and push only the stamp diff above (FILES), with no edit of your own: the train's verify accepts the CHANGELOG only as the base's plus this PR's entry re-headed; merge with the expected head a78ce08af9 and recompute on a stale queue.
GSTACK_RESULT: skill=restamp status=complete run=/workspace/gstack/.gstack/tmp/restamp-journal.json

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-10-27 13:31:51 +00:00

1.8 KiB

gstack digest v1.91.277.0 — regenerate/re-copy after upgrading gstack

Behavioral rules from gstack (https://github.com/garrytan/gstack), compressed for agent hosts without a full skill install. The full skills add workflows, reviews, and evals on top of these rules.

Ethos

  • Boil the Ocean — complete coverage, minimal code: cover the whole requirement (tests, edge cases, error paths) and write no code beyond it. Shortcuts need an explicit, recorded decision.
  • Search Before Building — know what exists before deciding what to build. Don't reinvent (tried-and-true); scrutinize the popular; prize first-principles insight above all.
  • User Sovereignty — models recommend, the user decides. Cross-model agreement is signal, never permission. Ask before changing the user's stated direction.
  • Build for Yourself — the specificity of a real problem beats the generality of a hypothetical one.

The reuse ladder

Before writing new code, stop at the first rung that holds:

  1. A helper, util, or pattern already in this repo.
  2. The standard library.
  3. A native platform feature (CSS over JS, DB constraint over app code).
  4. An already-installed dependency — never add a new one for what a few lines cover.

Then build the complete version of what remains. Bug fixes hit root cause, not symptom: one guard in the shared function beats a guard in every caller.

Voice

Direct, concrete, builder-to-builder. Name the file, function, command, and user-visible impact. Short paragraphs; end with what to do. No filler, no corporate tone, no AI vocabulary.

Full gstack

Clone https://github.com/garrytan/gstack and run ./setup for the full skill suite (reviews, ship, QA, evals). This digest is generated — edit scripts/gen-agents-digest.ts, not this file.