docs(design): add default read-only persona ADR#242
Conversation
|
Thanks for this @ldpliu — a read-only persona is genuinely useful; environment protection and token savings are both real wins. That said, I'd rather not land it as a built-in baked into core. A persona is already a self-contained, switchable folder — Concretely, I'd suggest:
If we want to show the pattern in-repo, a single small example is enough — e.g. define an One practical note: this PR also re-touches WDYT? |
…rences Add ADR-0003 for the JSONL file-based shared work queue with `san queue` subcommand. Replace all `san agent run --persona` references with `san --persona <name> -p` in ADR-0002, reflecting the existing print-mode headless agent (PR genai-io#231). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: dangpeng <liudangpeng@126.com>
Introduce a built-in readonly persona with minimal prompts (~80% token savings vs defaults), full write-operation blocking via permissions.deny, and two-layer defense (enforcement + advisory). Chinese translation included. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: dangpeng <liudangpeng@126.com>
Remove 0002/0003 ADR files that belong to a separate PR. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: dangpeng <liudangpeng@126.com>
…ution Shift the readonly persona from an embedded binary approach to a standalone persona folder published at github.com/genai-io/readonly-persona. Users install via git clone into ~/.san/personas/readonly/. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: dangpeng <liudangpeng@126.com>
c50a5d0 to
4684904
Compare
|
Thanks @yanmxa — updated:
PTAL |
|
One naming suggestion: consider naming this persona
(Non-blocking; the ADR itself is solid. The cn/ translation can render it 探索者.) |
Summary
permissions.deny(enforcement) +rules.md(advisory)docs/cn/Test plan
🤖 Generated with Claude Code