mirror of
https://github.com/garrytan/gstack.git
synced 2026-08-31 02:10:51 +02:00
feat(hosts): instruction-only tier — a 2KB committed rules digest any agent host can read
New agents-digest/gstack-AGENTS.md (1,765 bytes, hard 2,048-byte budget): gstack's ethos one-liners, the reuse ladder, and voice rules for hosts with no install arm — Zed, Amp, Jules, or any AGENTS.md-reading agent. Generated by scripts/gen-agents-digest.ts, auto-refreshed by gen:skill-docs, committed like llms.txt so setup's explainer arms can point at it before any toolchain exists. First line carries the gstack version as its own staleness nudge. Delivery is print-path + user-performed copy ONLY: setup never writes or overwrites a user's AGENTS.md (a test pins this — no cp/ln/mv/redirect into AGENTS.md anywhere in setup). openclaw and hermes explainer arms print the path; slate keeps routing to the full Claude install and gbrain ships from its own repo. HostConfig gains the optional install.instructionTier slot, declared by both instruction-tier hosts. README host table now matches what setup actually does. Inspired by dietrichgebert/ponytail's instruction-tier AGENTS.md fallback — one generated source, never per-host hand copies. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
cf0b39ddeb
commit
3263fffea9
@@ -227,6 +227,14 @@ case "$HOST" in
|
||||
echo " 2. Or generate artifacts: bun run gen:skill-docs --host openclaw"
|
||||
echo " 3. See docs/OPENCLAW.md for the full architecture"
|
||||
echo ""
|
||||
echo "Instruction-only tier (no install): copy the 2KB rules digest into a"
|
||||
echo "location your agent reads (e.g. append to your project's AGENTS.md)."
|
||||
echo "It carries gstack's ethos, reuse ladder, and voice rules:"
|
||||
echo ""
|
||||
echo " $(pwd)/agents-digest/gstack-AGENTS.md"
|
||||
echo ""
|
||||
echo "Re-copy it after upgrading gstack — the digest's first line shows its version."
|
||||
echo ""
|
||||
exit 0 ;;
|
||||
hermes)
|
||||
echo ""
|
||||
@@ -237,6 +245,14 @@ case "$HOST" in
|
||||
echo " 1. Tell your Hermes agent: 'install gstack for hermes'"
|
||||
echo " 2. Or generate artifacts: bun run gen:skill-docs --host hermes"
|
||||
echo ""
|
||||
echo "Instruction-only tier (no install): copy the 2KB rules digest into a"
|
||||
echo "location your agent reads (e.g. append to your project's AGENTS.md)."
|
||||
echo "It carries gstack's ethos, reuse ladder, and voice rules:"
|
||||
echo ""
|
||||
echo " $(pwd)/agents-digest/gstack-AGENTS.md"
|
||||
echo ""
|
||||
echo "Re-copy it after upgrading gstack — the digest's first line shows its version."
|
||||
echo ""
|
||||
exit 0 ;;
|
||||
gbrain)
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user