this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

all: adopt cueckoo guidance SessionStart hook

Add the SessionStart hook that injects the current cueckoo
guidance-hash into Claude's context on each new session and on
"claude -c" resumes, as described in the common guidance served by
the cueckoo MCP server. Also expand the CLAUDE.md prelude to mention
the guidance-hash and the requirement to re-invoke the guidance tool
when the hash changes.

Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: Ic5f4bd3018d33925ec7ec7a7480285c769625785
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1236067
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+15 -1
+12
.claude/settings.json
··· 1 1 { 2 2 "includeCoAuthoredBy": false, 3 + "hooks": { 4 + "SessionStart": [ 5 + { 6 + "hooks": [ 7 + { 8 + "type": "command", 9 + "command": "printf 'Current cueckoo guidance-hash: %s\\n' \"$(cueckoo guidance --hash)\"" 10 + } 11 + ] 12 + } 13 + ] 14 + }, 3 15 "permissions": { 4 16 "allow": [ 5 17 "Bash(go build:*)",
+3 -1
CLAUDE.md
··· 4 4 5 5 Use the cueckoo MCP server's `guidance` tool to get the latest common 6 6 guidance for CUE project repos. The server is registered as the 7 - `cueckoo` MCP server (via `cueckoo mcp`). Follow all instructions 7 + `cueckoo` MCP server (via `cueckoo mcp`). The response includes a 8 + guidance-hash — if a later system-reminder reports a different hash, 9 + re-invoke the tool to pick up the changes. Follow all instructions 8 10 returned by the `guidance` tool. See https://github.com/cue-lang/contrib-tools 9 11 for more information on `cueckoo` and related tooling. 10 12