Compare commits
2 Commits
a7c688f83f
...
25dab4204b
| Author | SHA1 | Date | |
|---|---|---|---|
| 25dab4204b | |||
| 5b8cc3446f |
@@ -53,12 +53,26 @@ if [ -n "$transcript" ] && [ -r "$transcript" ] && command -v jq >/dev/null 2>&1
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# 5. Handoff-ritual reminder. Green once /handoff has been invoked this session,
|
||||||
|
# red until then — a nudge to run the session-close ritual (update AGENTS.md,
|
||||||
|
# commit, push). Detected from the transcript: the slash-command marker the
|
||||||
|
# harness writes when /handoff is typed, or the Skill-tool form when it is
|
||||||
|
# invoked programmatically. Note this detects invocation, not completion.
|
||||||
|
handoff=$(printf '\033[31m/handoff NOT RUN YET\033[0m')
|
||||||
|
if [ -n "$transcript" ] && [ -r "$transcript" ] && command -v grep >/dev/null 2>&1; then
|
||||||
|
if grep -qF -e '<command-name>/handoff</command-name>' \
|
||||||
|
-e '"name":"Skill","input":{"skill":"handoff"}' "$transcript" 2>/dev/null; then
|
||||||
|
handoff=$(printf '\033[32m/handoff successfully run\033[0m')
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Assemble the line, separating non-empty segments with " | "
|
# Assemble the line, separating non-empty segments with " | "
|
||||||
parts=()
|
parts=()
|
||||||
[ -n "$cwd" ] && parts+=("$cwd")
|
[ -n "$cwd" ] && parts+=("$cwd")
|
||||||
[ -n "$branch" ] && parts+=("$branch")
|
[ -n "$branch" ] && parts+=("$branch")
|
||||||
[ -n "$model" ] && parts+=("$model")
|
[ -n "$model" ] && parts+=("$model")
|
||||||
[ -n "$ctx" ] && parts+=("$ctx")
|
[ -n "$ctx" ] && parts+=("$ctx")
|
||||||
|
[ -n "$handoff" ] && parts+=("$handoff")
|
||||||
|
|
||||||
joined=""
|
joined=""
|
||||||
for part in "${parts[@]}"; do
|
for part in "${parts[@]}"; do
|
||||||
|
|||||||
@@ -30,6 +30,11 @@ Do not relay agents' reports to the user as they arrive; wait for all of them.
|
|||||||
Produce ONE report, written to `EVALUATION.md` at the repo root (this file is your only
|
Produce ONE report, written to `EVALUATION.md` at the repo root (this file is your only
|
||||||
write), then show the user just the Verdict and Priority queue sections.
|
write), then show the user just the Verdict and Priority queue sections.
|
||||||
|
|
||||||
|
This path is stable and overwritten in place on each run, so if `EVALUATION.md` is
|
||||||
|
committed to version control, a subsequent run produces a reviewable diff of how the
|
||||||
|
evaluation changed over time. Whether to commit it is the user's call — don't commit it
|
||||||
|
yourself.
|
||||||
|
|
||||||
EVALUATION.md structure:
|
EVALUATION.md structure:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user