docs(design): add shared work queue ADR and update persona references#232
docs(design): add shared work queue ADR and update persona references#232ldpliu wants to merge 1 commit into
Conversation
|
/cc @yanmxa |
|
@ldpliu This one looks good content-wise, but the branch has fallen behind |
72b61a7 to
a063314
Compare
|
@yanmxa done |
| ln -s /path/to/san-team/leader ~/.san/personas/leader | ||
| ln -s /path/to/san-team/dev ~/.san/personas/dev | ||
| ln -s /path/to/san-team/qe ~/.san/personas/qe | ||
| ln -s /path/to/san-team/release ~/.san/personas/release |
There was a problem hiding this comment.
I'd like to keep the file not linked, how about using the settings.json to maintain the team/member
There was a problem hiding this comment.
Which settings.json are you referring to? The per-persona settings.json inside each persona directory (e.g., san-team/leader/settings.json), or San's own ~/.san/settings.json?
If the idea is to maintain a team/member mapping inside settings.json, it would be quite difficult to configure in practice. Teams is currently a virtual concept — it's not a runtime entity in San. The san-team repo is just a directory structure that holds persona configurations. San only recognizes --persona at startup; there's no --team flag and no team abstraction to resolve.
So it's hard to use a settings.json-based team/member config to launch different persona roles.
Right now persona loading only looks in two places (see internal/persona/persona.go):
- ~/.san/personas// — user level
- .san/personas// — project level (higher priority)
You either place the persona directory directly under one of these paths, or symlink it there. No other loading paths exist. The symlink approach isn't the most elegant, but it's simple and direct — no extra team abstraction layer needed.
Given these constraints, do you see a better alternative?
…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>
a063314 to
933dbf7
Compare
Summary
san queuesubcommand (EN + CN)san agent run --personareferences withsan --persona <name> -pin ADR-0002Test plan
🤖 Generated with Claude Code