Skip to content

0.1.12

Choose a tag to compare

@sPROFFEs sPROFFEs released this 22 May 09:09
· 83 commits to main since this release

clade 0.1.12 — workpath injection, context primer, list UI polish

The point of a workpath is the agent actually follows it. 0.1.12
closes the gap between "Clade compiled mission/playbook/rules into
the sandbox" and "the agent loads them on every turn."

Workpath injection on every launch

  • Claude now gets a root-level CLAUDE.md containing mission /
    playbook / rules / required-reading directive. Claude reads it
    unconditionally at session start. .claude/skills/<name>/SKILL.md
    still ships for the skill-discovery use case.
  • DeepSeek-TUI switched from the claude wpc target to the codex
    target, so it auto-loads AGENTS.md at session start (its primary
    convention — .claude/skills/ was the fallback discovery path).
  • Codex / OpenCode / Gemini already auto-loaded their root
    convention files (AGENTS.md / GEMINI.md); no change needed.

Context primer (new, on by default)

On every fresh launch, the launcher passes a short positional prompt
telling the agent to read MEMORY.md, playbook.md, and rules.md
and reply with "Context loaded — ready for your first task." before
waiting on the user. Fires on Claude / Codex / Gemini (their CLIs
accept a positional prompt for new chats). Skipped on OpenCode /
DeepSeek-TUI (their interactive modes don't accept a first-prompt
arg; both rely on the AGENTS.md auto-load above).

Suppressed on session resume — the agent already has prior
conversation state, so an extra "read MEMORY.md" instruction would
just be noise.

Per-chat toggle in chat settings → Context primer. Default ON;
disable when your agent's auto-load is enough.

Token estimate at launch

The launching screen now shows a rough token estimate for the
workpath injection:

Tokens: ~480 tokens (root 320 · memory 110 · primer 50 tokens) +14 KB knowledge (on demand)

Bytes / 4 heuristic. Off by ±20% in practice but useful to spot
runaway memory or unintentionally huge CLAUDE.md content before
you pay for it.

Chat + template list TUI polish

Less cramped. Non-selected chats: a single compact line. Selected
chat: indented details block with template / description /
resume-state summary, separated by blank lines from neighbours. A
horizontal rule sits above the "+ new chat" extras row so the list
groups cleanly visually.

Verify

sha256sum -c SHA256SUMS

f21888559afc0a6fff99fe9d97c4e9b72b33aec2739cf24245158860edbebc85 clade-darwin-amd64.tar.gz
4d3f885eaccba35739750e0fd5d337dada80853ef5581c6fd4f83593b832a324 clade-darwin-arm64.tar.gz
8a9fa0d8a42e2c888bd95e9401367d49ca13c1087a90eb19b977153e503f4c8b clade-linux-amd64.tar.gz
d7acbec6e5a9eebbc2f1d7ce23231c1f04e6aec667b20b588365fbdb95c2dedf clade-linux-arm64.tar.gz
8b3c29d1ba80c63f1744f9b13f3c35b1162ebcbcb61cb668b57482f0a751c377 clade-windows-amd64.zip

Compatibility

No schema breaks. Existing 0.1.11 configs round-trip without
migration; the new disableContextPrimer field defaults to false
(primer enabled). DeepSeek-TUI users will find a freshly-compiled
AGENTS.md at their chat sandbox root on next launch; the previous
.claude/skills/<name>/SKILL.md is left in place (harmless).