multica/server/internal
yushen 1deae2a1e9 refactor(daemon): remove context snapshot, let agent fetch data via CLI
Replace the frozen context snapshot pattern with a CLI-driven approach:
agents now use `multica` CLI commands to fetch issue details, comments,
and workspace context on demand, always getting the latest data.

- Remove buildContextSnapshot and snapshot generation from enqueue
- Claim endpoint now returns fresh agent name + skills from DB
- Daemon resolves provider from local runtimeIndex, not snapshot
- Prompt instructs agent to use `multica issue get` / `comment list`
- Meta skill (CLAUDE.md/AGENTS.md) documents all available CLI commands
- Skills still injected as filesystem files (static agent config)
- Simplify daemon types: remove TaskContext/IssueContext/RuntimeContext

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 15:31:22 +08:00
..
auth feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
cli fix: resolve merge conflict in login page, adopt main's CLI auth flow 2026-03-26 17:42:55 +08:00
daemon refactor(daemon): remove context snapshot, let agent fetch data via CLI 2026-03-27 15:31:22 +08:00
events feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
handler refactor(daemon): remove context snapshot, let agent fetch data via CLI 2026-03-27 15:31:22 +08:00
logger feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
middleware feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
realtime feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
service refactor(daemon): remove context snapshot, let agent fetch data via CLI 2026-03-27 15:31:22 +08:00
util feat(server): add task service layer and daemon REST protocol 2026-03-23 18:34:51 +08:00