Files
archie/.beads/issues.jsonl
T
sam b95993c44a fix: address adversarial review findings (21v + 19v)
Session persistence (21v):
- Mutex coverage on all nellSessionStore read operations
- Router.Store nil guard in handleStatus()

Config (19v):
- Remove dead code no-op in finalize() (Label='' assignment)
- Nil guard on loadFeatureFile() cfg parameter

40/40 packages pass with -race.
2026-07-26 13:56:25 +10:00

242 lines
292 KiB
JSON

{"_type":"issue","id":"archie-core-abg.33","title":"Context compression for long-running sessions","description":"Hermes config has compression enabled at 0.5 threshold, protecting first 3 and last 20 messages. Sam confirmed this is a must-have for long-running sessions. Without compression, context windows fill up and sessions degrade.\n\nScope:\n- Compression threshold (fraction of context window used)\n- Target compression ratio\n- Protect first N / last N messages from compression\n- Integrate with MemoryManager (pre-compress hook already defined: OnPreCompressProvider)\n- Use the existing StreamingContextScrubber for fence-stripping during compression","status":"closed","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T00:16:15Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:36:25Z","started_at":"2026-07-26T00:34:36Z","closed_at":"2026-07-26T00:36:25Z","close_reason":"Context compression implemented. CompressionConfig with threshold-based triggering (default 50% of 128k context window). Protects first 3 and last 20 messages. Truncated middle replaced with statistical summary. Integrated into Telegram LLMResponder — fetches 100-message window, compresses before LLM call. 38/38 pass.","dependencies":[{"issue_id":"archie-core-abg.33","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T10:16:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.5.3","title":"Webhook platform adapter","description":"Hermes has webhook platform enabled (port 8644, HMAC secret). Sam confirmed webhooks are a must-have. This enables external services to push messages into archie-core's gateway for LLM processing.\n\nScope:\n- WebhookAdapter implementing gateway.Gateway interface\n- HTTP server with configurable host/port\n- Per-route HMAC validation\n- Deliver-only mode (inbound messages, no outbound send)\n- Idempotency cache for webhook deliveries\n- Prompt templates for transforming webhook payloads into messages","status":"closed","priority":0,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-26T00:16:15Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:39:59Z","closed_at":"2026-07-26T00:39:59Z","close_reason":"Webhook platform implemented. Gateway with HMAC validation, dot-notation template extraction, deliver-to-origin mode. 11 tests race-clean. Wired into main.go behind chat.webhook_addr config.","dependencies":[{"issue_id":"archie-core-abg.5.3","depends_on_id":"archie-core-abg.5","type":"parent-child","created_at":"2026-07-26T10:16:15Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.5.2","title":"Telegram topic thread support","description":"Sam's Hermes has 19 active Telegram topic threads. archie-core's Telegram channel treats all chats as flat DMs. Topic threads are how Sam organizes his workstreams — each thread is a separate context.\n\nScope:\n- Detect message_thread_id in Telegram updates\n- Route to correct session based on platform+chat_id+thread_id (SessionSource already has thread_id field)\n- Create/switch sessions per topic thread\n- /status and /model commands scoped to the thread","status":"closed","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T00:16:14Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:24:04Z","started_at":"2026-07-26T00:20:00Z","closed_at":"2026-07-26T00:24:04Z","close_reason":"Delivered: ThreadID field added to gateway.Message and SessionSource. SessionStore persists thread_id. Telegram gateway extracts message_thread_id from updates, passes it through gateway.Message, and sends replies to the correct thread. threadIDString helper maps 0→'' for flat-chat backward compatibility. Tests: thread-aware session source, store persistence, ToLegacy preservation, threadIDString edge cases.","dependencies":[{"issue_id":"archie-core-abg.5.2","depends_on_id":"archie-core-abg.5","type":"parent-child","created_at":"2026-07-26T10:16:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.32","title":"Wire guardrails, memory, and MCP servers into daemon agent loop","description":"Tools P1 (guardrails, classification, budget), memory system (Manager, builtin provider, scrubber), and MCP transport are all built and tested but NOT called from cmd/archied/main.go. The daemon creates an agentexec.Runner but never passes GuardrailEngine, MemoryManager, or MCP client instances. This is THE blocker to using archie-core in place of Hermes.\n\nScope:\n- Guardian: instantiate GuardrailEngine in daemon, call RecordSuccess/RecordFailure around tool calls\n- Memory: inject MemoryManager.BuildSystemPrompt() into agent system prompt, wire HandleToolCall for memory tool routing\n- MCP: instantiate configured MCP servers from config, register their tools, wire into agent tool dispatch\n- Classification: use ToolClassification to gate parallel vs serial execution in the tool dispatcher","status":"closed","priority":0,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-26T00:16:13Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:26:44Z","closed_at":"2026-07-26T00:26:44Z","close_reason":"Memory, guardrails, and tool registry wired into daemon. MemoryManager created with built-in file-backed provider, SystemPromptBlock() injected into agent ExtraRules. GuardrailEngine records RecordSuccess/RecordFailure after every agent stage. ToolRegistry created, MCP servers started from config. All nil-safe (backward compat). 38/38 packages pass with -race.","dependencies":[{"issue_id":"archie-core-abg.32","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T10:16:13Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.30v","title":"Verify: Integrate NellDB as persistent memory and configuration backend","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:14Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:31:12Z","closed_at":"2026-07-25T14:31:12Z","close_reason":"NellDB integrated as persistent backend. Created store.TaskStore interface, internal/nell/adapter.go with logstore.LogStore persistence, updated all consumers to depend on the interface. 7 integration tests verify enqueue, claim, transition, update, events, persistence across restart.","dependencies":[{"issue_id":"archie-core-abg.30v","depends_on_id":"archie-core-abg.30","type":"blocks","created_at":"2026-07-26T00:19:29Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.26","title":"Verify: Built-in memory tool actions: add, replace, remove","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:46Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:19:05Z","closed_at":"2026-07-25T16:19:05Z","close_reason":"Adversarial review found one real bug: renderSections() added a spurious blank line before/after empty sections (round-trip instability). Fixed in store.go (trailing separator only emitted when a section has blocks); added TestStore_EmptySectionRoundTrip regression test. All tests pass under -race, golangci-lint clean, gofmt clean.","dependencies":[{"issue_id":"archie-core-abg.18.26","depends_on_id":"archie-core-abg.18.13","type":"blocks","created_at":"2026-07-26T00:17:33Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.26","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.25","title":"Verify: Built-in memory tool: file-backed persistent memory","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:38Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:19:04Z","closed_at":"2026-07-25T16:19:04Z","close_reason":"Adversarial review found one real bug: renderSections() added a spurious blank line before/after empty sections (round-trip instability). Fixed in store.go (trailing separator only emitted when a section has blocks); added TestStore_EmptySectionRoundTrip regression test. All tests pass under -race, golangci-lint clean, gofmt clean.","dependencies":[{"issue_id":"archie-core-abg.18.25","depends_on_id":"archie-core-abg.18.12","type":"blocks","created_at":"2026-07-26T00:19:09Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.25","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.24","title":"Verify: Tool schema normalization for memory providers","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:34Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:08:40Z","closed_at":"2026-07-25T16:08:40Z","close_reason":"Clean adversarial review. All tests pass, vet/lint clean, no dead paths.","dependencies":[{"issue_id":"archie-core-abg.18.24","depends_on_id":"archie-core-abg.18.11","type":"blocks","created_at":"2026-07-26T00:19:11Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.24","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.23","title":"Verify: StreamingContextScrubber","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:28Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:11:35Z","started_at":"2026-07-25T16:04:48Z","closed_at":"2026-07-25T16:11:35Z","close_reason":"Implemented StreamingContextScrubber in internal/memory/scrubber package. Implements io.Writer interface, handles partial chunks across boundaries, nested tags, missing close tags. Zero allocations in hot path (confirmed by benchmarks). 50+ tests covering all edge cases including adversarial review findings. Critical Flush bug found and fixed during verification.","dependencies":[{"issue_id":"archie-core-abg.18.23","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:28Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.23","depends_on_id":"archie-core-abg.18.10","type":"blocks","created_at":"2026-07-26T00:19:12Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.22","title":"Verify: MemoryManager orchestrator","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:25Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:23:19Z","started_at":"2026-07-25T16:22:28Z","closed_at":"2026-07-25T16:23:19Z","close_reason":"Adversarial verification complete: all implementations match acceptance criteria. 9 findings reported covering SaveConfig validation gap, BackupPaths/GetConfigSchemas excluding unavailable providers, silent hook error/panic discard, tool name collisions, Initialize error hiding, missing context.Context, and GetToolSchemas error signaling. All tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.18.22","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:24Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.22","depends_on_id":"archie-core-abg.18.6","type":"blocks","created_at":"2026-07-26T00:19:13Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.21","title":"Verify: MemoryProvider backup paths support","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:21Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:23:19Z","started_at":"2026-07-25T16:22:28Z","closed_at":"2026-07-25T16:23:19Z","close_reason":"Adversarial verification complete: all implementations match acceptance criteria. 9 findings reported covering SaveConfig validation gap, BackupPaths/GetConfigSchemas excluding unavailable providers, silent hook error/panic discard, tool name collisions, Initialize error hiding, missing context.Context, and GetToolSchemas error signaling. All tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.18.21","depends_on_id":"archie-core-abg.18.5","type":"blocks","created_at":"2026-07-26T00:19:14Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.21","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:21Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.20","title":"Verify: MemoryProvider config helpers","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:18Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:23:19Z","started_at":"2026-07-25T16:22:27Z","closed_at":"2026-07-25T16:23:19Z","close_reason":"Adversarial verification complete: all implementations match acceptance criteria. 9 findings reported covering SaveConfig validation gap, BackupPaths/GetConfigSchemas excluding unavailable providers, silent hook error/panic discard, tool name collisions, Initialize error hiding, missing context.Context, and GetToolSchemas error signaling. All tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.18.20","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:17Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.20","depends_on_id":"archie-core-abg.18.4","type":"blocks","created_at":"2026-07-26T00:19:17Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.19","title":"Verify: MemoryProvider lifecycle hooks","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:14Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:23:19Z","started_at":"2026-07-25T16:22:27Z","closed_at":"2026-07-25T16:23:19Z","close_reason":"Adversarial verification complete: all implementations match acceptance criteria. 9 findings reported covering SaveConfig validation gap, BackupPaths/GetConfigSchemas excluding unavailable providers, silent hook error/panic discard, tool name collisions, Initialize error hiding, missing context.Context, and GetToolSchemas error signaling. All tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.18.19","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:14Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.19","depends_on_id":"archie-core-abg.18.3","type":"blocks","created_at":"2026-07-26T00:19:19Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.22","title":"Verify: SessionStore interface and implementation","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:10Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:27:33Z","started_at":"2026-07-25T15:24:35Z","closed_at":"2026-07-25T15:27:33Z","close_reason":"Adversarial review complete. 2 gofmt issues fixed (already corrected before review completed), race condition fixed (mutex now covers Save/Delete/Touch consistently), style issues resolved (idiomatic IsZero() checks, zero-value Source assertions added). Final: 58/58 tests pass with -race, gofmt clean, golangci-lint 0 issues, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.22","depends_on_id":"archie-core-abg.16.11","type":"blocks","created_at":"2026-07-26T00:19:23Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.22","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:09Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.18","title":"Verify: MemoryProvider optional methods","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:10Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:23:18Z","started_at":"2026-07-25T16:22:26Z","closed_at":"2026-07-25T16:23:18Z","close_reason":"Adversarial verification complete: all implementations match acceptance criteria. 9 findings reported covering SaveConfig validation gap, BackupPaths/GetConfigSchemas excluding unavailable providers, silent hook error/panic discard, tool name collisions, Initialize error hiding, missing context.Context, and GetToolSchemas error signaling. All tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.18.18","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:10Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.18","depends_on_id":"archie-core-abg.18.2","type":"blocks","created_at":"2026-07-26T00:19:20Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.21","title":"Verify: SessionContext struct for session metadata","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:06Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:27:33Z","started_at":"2026-07-25T15:24:35Z","closed_at":"2026-07-25T15:27:33Z","close_reason":"Adversarial review complete. 2 gofmt issues fixed (already corrected before review completed), race condition fixed (mutex now covers Save/Delete/Touch consistently), style issues resolved (idiomatic IsZero() checks, zero-value Source assertions added). Final: 58/58 tests pass with -race, gofmt clean, golangci-lint 0 issues, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.21","depends_on_id":"archie-core-abg.16.10","type":"blocks","created_at":"2026-07-26T00:19:22Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.21","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:06Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.17","title":"Verify: MemoryProvider interface (abstract)","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:06Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:23:18Z","started_at":"2026-07-25T16:20:35Z","closed_at":"2026-07-25T16:23:18Z","close_reason":"Adversarial verification complete: all implementations match acceptance criteria. 9 findings reported covering SaveConfig validation gap, BackupPaths/GetConfigSchemas excluding unavailable providers, silent hook error/panic discard, tool name collisions, Initialize error hiding, missing context.Context, and GetToolSchemas error signaling. All tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.18.17","depends_on_id":"archie-core-abg.18.1","type":"blocks","created_at":"2026-07-26T00:19:21Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.17","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:05Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.23","title":"Verify: MCP client: stdio transport (subprocess management)","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:05Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:05Z","dependencies":[{"issue_id":"archie-core-abg.17.23","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:05Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.23","depends_on_id":"archie-core-abg.17.16","type":"blocks","created_at":"2026-07-26T00:19:10Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.20","title":"Verify: SessionSource struct for platform identity","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:03Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:27:33Z","started_at":"2026-07-25T15:24:34Z","closed_at":"2026-07-25T15:27:33Z","close_reason":"Adversarial review complete. 2 gofmt issues fixed (already corrected before review completed), race condition fixed (mutex now covers Save/Delete/Touch consistently), style issues resolved (idiomatic IsZero() checks, zero-value Source assertions added). Final: 58/58 tests pass with -race, gofmt clean, golangci-lint 0 issues, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.20","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:02Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.20","depends_on_id":"archie-core-abg.16.9","type":"blocks","created_at":"2026-07-26T00:19:25Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.22","title":"Verify: Central tool registry singleton with Register() + discovery","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:02Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:37:24Z","started_at":"2026-07-25T16:35:55Z","closed_at":"2026-07-25T16:37:24Z","close_reason":"Adversarial verification complete: both implementations match acceptance criteria. 7 findings reported covering ResolvedSchema defensive copy gap, Discover error suppression, Available() clone waste, missing Unregister/Get methods, CheckFn synchronization contract, and Validate/Handler two-phase tension. All 24 core tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.17.22","depends_on_id":"archie-core-abg.17.2","type":"blocks","created_at":"2026-07-26T00:19:16Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.22","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:01Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.19","title":"Verify: BasePlatformAdapter interface with required methods","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:11:59Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:27:32Z","started_at":"2026-07-25T15:24:34Z","closed_at":"2026-07-25T15:27:32Z","close_reason":"Adversarial review complete. 2 gofmt issues fixed (already corrected before review completed), race condition fixed (mutex now covers Save/Delete/Touch consistently), style issues resolved (idiomatic IsZero() checks, zero-value Source assertions added). Final: 58/58 tests pass with -race, gofmt clean, golangci-lint 0 issues, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.19","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:11:59Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.19","depends_on_id":"archie-core-abg.16.5","type":"blocks","created_at":"2026-07-26T00:19:26Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.21","title":"Verify: ToolEntry data type definition","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:11:58Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:37:24Z","started_at":"2026-07-25T16:35:55Z","closed_at":"2026-07-25T16:37:24Z","close_reason":"Adversarial verification complete: both implementations match acceptance criteria. 7 findings reported covering ResolvedSchema defensive copy gap, Discover error suppression, Available() clone waste, missing Unregister/Get methods, CheckFn synchronization contract, and Validate/Handler two-phase tension. All 24 core tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.17.21","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:11:57Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.21","depends_on_id":"archie-core-abg.17.1","type":"blocks","created_at":"2026-07-26T00:19:18Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.18","title":"Verify: Rich MessageEvent struct with all gateway fields","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:11:55Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:38:32Z","started_at":"2026-07-25T16:37:29Z","closed_at":"2026-07-25T16:38:32Z","close_reason":"Adversarial verification complete: both implementations match acceptance criteria. 7 findings reported covering MsgDeleted ephemeral misclassification, IsRich() naming confusion, missing IsKnown()/Validate()/Clone()/Time() methods, and *int vs *int64 inconsistency in MediaAttachment. All gateway tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.16.18","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:11:55Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.18","depends_on_id":"archie-core-abg.16.2","type":"blocks","created_at":"2026-07-26T00:19:27Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.17","title":"Verify: MessageType enum for gateway messages","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:11:51Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:38:31Z","started_at":"2026-07-25T16:37:28Z","closed_at":"2026-07-25T16:38:31Z","close_reason":"Adversarial verification complete: both implementations match acceptance criteria. 7 findings reported covering MsgDeleted ephemeral misclassification, IsRich() naming confusion, missing IsKnown()/Validate()/Clone()/Time() methods, and *int vs *int64 inconsistency in MediaAttachment. All gateway tests pass. No blocking issues.","dependencies":[{"issue_id":"archie-core-abg.16.17","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:11:51Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.17","depends_on_id":"archie-core-abg.16.1","type":"blocks","created_at":"2026-07-26T00:19:28Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.16","title":"TEST Verify: MessageType enum for gateway messages","acceptance_criteria":"TEST TASK, DELETE ME","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:11:19Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:11:25Z","closed_at":"2026-07-25T14:11:25Z","close_reason":"Test task, cleaning up","dependencies":[{"issue_id":"archie-core-abg.16.16","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:11:18Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.13","title":"Built-in memory tool actions: add, replace, remove","description":"Implement the three core memory tool actions: add (appends new content to a section), replace (replaces content using substring matching to find the target), remove (deletes content using substring matching). These act on the MEMORY.md/USER.md files.","acceptance_criteria":"Tool exposes three actions: add, replace, remove\nadd(target_section, content) appends to or creates a named section\nreplace(target_section, substring, replacement) finds first match of substring in section and replaces it\nremove(target_section, substring) removes the matching line/block from the section\nSubstring matching is exact, case-sensitive by default (configurable)\nActions return clear success/error messages including the affected section and character count\nTool validates section names (alphanumeric + spaces, max 64 chars)\nSize bounds are checked before any write (reject if would exceed max file size)","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:12Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:15:46Z","started_at":"2026-07-25T16:09:49Z","closed_at":"2026-07-25T16:15:46Z","close_reason":"Implemented add/replace/remove actions in memory_edit tool: section validation, substring find/replace/remove with case-sensitive/insensitive matching, size-bound pre-write checks, structured success messages with char counts.","dependencies":[{"issue_id":"archie-core-abg.18.13","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:08:12Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.12","title":"Built-in memory tool: file-backed persistent memory","description":"Implement the built-in file-backed memory tool that persists to MEMORY.md and USER.md files. This replaces the current ephemeral memoryNotes system with durable on-disk storage that survives restarts and sessions.","acceptance_criteria":"Built-in provider lives in internal/memory/builtin package\nMEMORY.md stores persistent agent memory (facts, preferences, state across sessions)\nUSER.md stores user-provided context (background, instructions, preferences)\nBoth files are bounded (configurable max size, default 100KB per file)\nFiles are read at provider initialization and written on every mutation\nFile format is plain markdown with sections\nThread-safe reads and writes (sync.RWMutex)\nFiles live under the profile's memory directory (e.g., ~/.config/archie/profiles/{profile}/memory/)","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:03Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:15:46Z","started_at":"2026-07-25T16:09:48Z","closed_at":"2026-07-25T16:15:46Z","close_reason":"Implemented internal/memory/builtin: file-backed Store (MEMORY.md/USER.md), size-bounded, thread-safe (sync.RWMutex), atomic writes, read-at-init via Initialize()/Reload().","dependencies":[{"issue_id":"archie-core-abg.18.12","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:08:03Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.16","title":"MCP client: stdio transport (subprocess management)","description":"Implement the MCP stdio transport: spawn and manage MCP server subprocesses, handle stdin/stdout JSON-RPC message framing, subprocess lifecycle (start/stop/restart), and auto-restart with exponential backoff. This is the foundational MCP transport that most local MCP servers use.","status":"in_progress","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:59Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:36:30Z","started_at":"2026-07-25T15:36:30Z","dependencies":[{"issue_id":"archie-core-abg.17.16","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:58Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.11","title":"Tool schema normalization for memory providers","description":"Implement tool schema normalization that handles both bare tools (just Function definition) and wrapped OpenAI-style tool schemas from memory providers. Ensures all provider-exported tools are normalized to a consistent format before being merged into the agent's tool list.","acceptance_criteria":"Normalizer package detects whether a schema is bare (map with 'name' top-level) or wrapped (map with 'type':'function', 'function':{...})\nConverts both formats to a canonical internal representation\nHandles edge cases: missing required fields, extra unknown fields\nSchema normalization happens at registration time, not per-turn\nErrors on truly invalid schemas with clear messages\nRound-trips through JSON marshal/unmarshal","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:57Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:08:00Z","started_at":"2026-07-25T16:06:41Z","closed_at":"2026-07-25T16:08:00Z","close_reason":"Implemented NormalizeToolSchema + NormalizedTool in internal/memory/schema.go with full test coverage (bare, wrapped OpenAI, missing/invalid fields, JSON round-trip).","dependencies":[{"issue_id":"archie-core-abg.18.11","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.10","title":"StreamingContextScrubber","description":"Implement a stateful StreamingContextScrubber that strips \u003cmemory-context\u003e...\u003c/memory-context\u003e fence spans from streaming text output. Must handle partial chunks that split across fence boundaries, maintain state between chunks, and only emit clean text downstream.","acceptance_criteria":"Scrubber is in internal/memory/scrubber package\nImplements an io.Writer or callback interface for processing streaming chunks\nStrips \u003cmemory-context\u003e ... \u003c/memory-context\u003e fences including the tags themselves\nHandles partial chunks where fence tags span chunk boundaries (maintains state)\nHandles missing closing tags (closes at end of stream)\nDoesn't interfere with non-memory-context content\nZero allocations in the hot path (reuses buffers)\nFully tested with edge cases: partial open/close, nested tags, empty content","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:53Z","created_by":"Sam Catlow","updated_at":"2026-07-25T16:08:05Z","started_at":"2026-07-25T16:04:48Z","closed_at":"2026-07-25T16:08:05Z","close_reason":"StreamingContextScrubber implemented: io.Writer interface, handles partial chunk boundaries, nested tags, missing close tags, zero-alloc fast path. Tests + lint clean.","dependencies":[{"issue_id":"archie-core-abg.18.10","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.6","title":"MemoryManager orchestrator","description":"Implement MemoryManager that orchestrates the built-in memory provider plus at most one external provider. Key responsibilities: provider registration and lifecycle, tool schema merging from all active providers, runtime dispatch of tool calls to the correct provider, enforcement of the one-external-provider limit.","acceptance_criteria":"MemoryManager is in internal/memory/manager package\nConstructor accepts the built-in provider + optional external provider\nRegistering a second external provider returns an error\nget_tool_schemas() merges schemas from all active providers\nhandle_tool_call() routes calls to the owning provider\nProvides accessor methods for the current active provider(s)\nGracefully handles all provider being nil/empty","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:33Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:23:33Z","closed_at":"2026-07-25T15:23:33Z","close_reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.6","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.5","title":"MemoryProvider backup paths support","description":"Add backup_paths() to MemoryProvider: returns a list of file paths outside HERMES_HOME that should be included in backups. External providers (e.g., SQLite, vector stores) may store data outside the main home directory, and this ensures backup completeness.","acceptance_criteria":"BackupProvider interface with backup_paths() returning []string\nReturned paths are absolute file or directory paths\nReturns empty slice for providers with no external data\nMemoryManager aggregates backup paths from all active providers\nPaths are included in any backup/restore workflow","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:28Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:23:33Z","closed_at":"2026-07-25T15:23:33Z","close_reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.5","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:28Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.2","title":"Central tool registry singleton with Register() + discovery","description":"Implement a global tool registry singleton with a Register() method. Add file-system discovery that scans tools/*.go for registry.Register calls to auto-register tools at startup. This is the core infrastructure that all tool registration and lookup depends on.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:25Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:21:23Z","closed_at":"2026-07-25T15:21:23Z","close_reason":"Implemented Registry with Register, All, ByToolset, Available, Discover methods. Added registry.go with thread-safe singleton, AST-based file discovery for Register calls. 33 tests pass (toolentry + registry).","dependencies":[{"issue_id":"archie-core-abg.17.2","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:25Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.4","title":"MemoryProvider config helpers","description":"Add config helper interfaces to MemoryProvider: get_config_schema() returns a JSON Schema describing the provider's configuration, save_config(values, hermes_home) validates and persists configuration. These enable dynamic provider configuration through the config system.","acceptance_criteria":"ConfigSchemaProvider defines get_config_schema() returning map[string]any in JSON Schema format\nSaveConfigProvider defines save_config(values map[string]any, hermesHome string) error\nSchema is used to validate user-provided config values before saving\nsave_config writes to a provider-specific location under hermes_home\nProviders without config support simply don't implement the interfaces","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:24Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:23:33Z","closed_at":"2026-07-25T15:23:33Z","close_reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.4","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:24Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.1","title":"ToolEntry data type definition","description":"Design and implement the ToolEntry data type carrying: name, toolset (which tool group this belongs to), schema (JSON Schema for invocation), handler (function ref), check_fn (availability predicate), requires_env (env vars needed), is_async (async/sync distinction), description, emoji, max_result_size_chars (per-tool result cap), and dynamic_schema_overrides (runtime schema mutations). This is the foundational type that everything in the tools subsystem builds upon.","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:08:34Z","started_at":"2026-07-25T15:07:07Z","closed_at":"2026-07-25T15:08:34Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-abg.17.1","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:21Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.3","title":"MemoryProvider lifecycle hooks","description":"Add lifecycle hook interfaces to MemoryProvider: on_turn_start(), on_session_end(), on_session_switch(), on_pre_compress(), on_memory_write(content), on_delegation(). These allow providers to react to session lifecycle events for state management and context maintenance.","acceptance_criteria":"Each lifecycle hook is a separate optional sub-interface (e.g., TurnStartHook, SessionEndHook, SessionSwitchHook, PreCompressHook, MemoryWriteHook, DelegationHook)\nInterfaces are defined alongside MemoryProvider in the same package\nMemoryManager calls hooks at appropriate points in the agent lifecycle\nHooks have access to relevant context (session_id, content, etc.)\nAll hooks are called asynchronously to avoid blocking the main loop","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:20Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:23:33Z","closed_at":"2026-07-25T15:23:33Z","close_reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.3","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:20Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.2","title":"MemoryProvider optional methods","description":"Add optional methods to the MemoryProvider interface: system_prompt_block(), prefetch(query), queue_prefetch(query), sync_turn(user, assistant), handle_tool_call(name, args), shutdown(). These are defined as separate interface extensions that providers can opt into via type assertion.","acceptance_criteria":"Optional behavior is defined via separate sub-interfaces (e.g., PrefetchProvider, SyncTurnProvider, ShutdownProvider)\nMemoryManager checks via type assertion at runtime which optional interfaces a provider implements\nEach optional interface has clear doc comments\nDefault no-op behavior when a provider doesn't implement an optional interface","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:16Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:23:33Z","closed_at":"2026-07-25T15:23:33Z","close_reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.2","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:16Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.1","title":"MemoryProvider interface (abstract)","description":"Define the core MemoryProvider interface with required methods: name(), is_available(), initialize(session_id), get_tool_schemas(). This is the contract that all memory providers (built-in and external/plugin) must implement.","acceptance_criteria":"MemoryProvider is defined as a Go interface in a new internal/memory/provider package\nname() returns a unique human-readable string identifying the provider\nis_available() returns true when the provider is ready for use\ninitialize(session_id) prepares the provider for a given session\nget_tool_schemas() returns the tool definitions the provider exports to the agent\nClean godoc comments on all methods","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:12Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:23:32Z","closed_at":"2026-07-25T15:23:32Z","close_reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.1","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:11Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.10","title":"SessionContext struct for session metadata","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:24:23Z","started_at":"2026-07-25T15:22:07Z","closed_at":"2026-07-25T15:24:23Z","close_reason":"Implemented in internal/gateway/: adapter.go (BasePlatformAdapter, SendResult, ChatInfo), session.go (SessionSource, SessionContext), session_store.go (SessionStore interface + NellDB-backed nellSessionStore). 58/58 tests pass, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.10","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.11","title":"SessionStore interface and implementation","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:24:24Z","started_at":"2026-07-25T15:22:08Z","closed_at":"2026-07-25T15:24:24Z","close_reason":"Implemented in internal/gateway/: adapter.go (BasePlatformAdapter, SendResult, ChatInfo), session.go (SessionSource, SessionContext), session_store.go (SessionStore interface + NellDB-backed nellSessionStore). 58/58 tests pass, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.11","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:54Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.9","title":"SessionSource struct for platform identity","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:51Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:24:23Z","started_at":"2026-07-25T15:22:07Z","closed_at":"2026-07-25T15:24:23Z","close_reason":"Implemented in internal/gateway/: adapter.go (BasePlatformAdapter, SendResult, ChatInfo), session.go (SessionSource, SessionContext), session_store.go (SessionStore interface + NellDB-backed nellSessionStore). 58/58 tests pass, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.9","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:51Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.5","title":"BasePlatformAdapter interface with required methods","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:49Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:24:23Z","started_at":"2026-07-25T15:22:07Z","closed_at":"2026-07-25T15:24:23Z","close_reason":"Implemented in internal/gateway/: adapter.go (BasePlatformAdapter, SendResult, ChatInfo), session.go (SessionSource, SessionContext), session_store.go (SessionStore interface + NellDB-backed nellSessionStore). 58/58 tests pass, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.5","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:48Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.2","title":"Rich MessageEvent struct with all gateway fields","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:47Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:13:09Z","started_at":"2026-07-25T15:11:04Z","closed_at":"2026-07-25T15:13:09Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-abg.16.2","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.1","title":"MessageType enum for gateway messages","status":"closed","priority":0,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:44Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:13:09Z","started_at":"2026-07-25T15:11:03Z","closed_at":"2026-07-25T15:13:09Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-abg.16.1","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.30","title":"Integrate NellDB as persistent memory and configuration backend","description":"Replace SQLite+FTS5+file-based storage with NellDB, Sam's existing distributed document database. NellDB provides:\\n\\n- **nell.Store interface**: Put, Get, Delete, List, ListAll, Query, GetChangesSince, SearchSimilar (vector search)\\n- **sdk.DocDB**: Document database with MVCC revisions\\n- **logstore**: Durable Zstd-compressed append-only log\\n- **sdk.Replicator**: Multi-primary HTTP replication with HLC knowledge vectors\\n- **Vector search**: HNSW + PCA + PQ for semantic memory\\n- **HTTP server**: Standalone binary on port 9342\\n\\nPlan:\\n\\n1. Add NellDB as a dependency (go get github.com/samcharles93/NellDB)\\n2. Create internal/nell/ adapter package wrapping nell.Store for archie-core's data models\\n3. Collections: sessions, messages, memory, config, tasks\\n4. Replace internal/store (SQLite) with NellDB backend\\n5. Replace file-based MEMORY.md with nell collections + vector search\\n6. Wire into cmd/archied/main.go as the storage backend\\n\\nThis gives archie-core multi-primary replication for free — two archied instances on different hosts can sync state without a central database.\\n\\nRef: /work/apps/nell-engine/ (store.go, types.go, sdk/docdb.go, server/)","acceptance_criteria":"archied starts with a NellDB backend instead of SQLite. Sessions and messages persist across restarts. Vector search returns semantically similar messages. Two archied instances can replicate state via nell sync.","status":"closed","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:03:34Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:31:11Z","started_at":"2026-07-25T14:18:03Z","closed_at":"2026-07-25T14:31:11Z","close_reason":"NellDB integrated as persistent backend. Created store.TaskStore interface, internal/nell/adapter.go with logstore.LogStore persistence, updated all consumers to depend on the interface. 7 integration tests verify enqueue, claim, transition, update, events, persistence across restart.","dependencies":[{"issue_id":"archie-core-abg.30","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:03:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17","title":"[EPIC] Tools: central registry, MCP client, guardrails","description":"Central tool infrastructure to match Hermes parity:\\n\\n1. **Tool registry**: A central registry where tool modules register themselves with name, schema, handler, toolset membership, and availability check. Dynamic discovery of built-in tools. This replaces the current pattern of manually constructing core.ToolSet maps per invocation.\\n\\n2. **MCP client**: Connect to external MCP servers via stdio, HTTP/StreamableHTTP, or SSE transport. Discover their tools and register them into the tool registry. Support automatic reconnection with backoff, configurable timeouts, per-server parallel tool call opt-in.\\n\\n3. **Guardrails**: Tool-call loop detection (repeated calls, repeated failures, no-progress loops). Idempotent/mutating tool classification. Warning vs hard-stop decisions.\\n\\n4. **Progressive disclosure**: When tool schemas exceed a context-window threshold, replace them with bridge tools (tool_search/tool_describe/tool_call) and surface on demand. Core tools are always visible.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 3","acceptance_criteria":"MCP servers can be configured with a TOML block and their tools appear alongside built-ins. The agent loop is protected against tool-call loops. Tool schemas stay within context budget.","status":"open","priority":0,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:22Z","dependencies":[{"issue_id":"archie-core-abg.17","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:22Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18","title":"[EPIC] Memory: pluggable provider architecture with file-backed persistence","description":"Pluggable memory system to match Hermes parity:\\n\\n1. **MemoryProvider interface**: Abstract interface with methods for initialize(), get_tool_schemas(), prefetch(), sync_turn(), and optional lifecycle hooks (on_session_end, on_session_switch, on_pre_compress, on_memory_write).\\n\\n2. **Built-in file-backed memory**: MEMORY.md and USER.md stored per-session/profile. LLM-callable memory tool with add/replace/remove actions. Frozen snapshot at session start (preserves prefix cache), immediate disk write on updates. Section-sign delimited entries with substring matching.\\n\\n3. **MemoryManager**: Orchestrates built-in + at most one external provider. Background serialized write executor. Prefetch with timeout (8s). Streaming context scrubber that strips injected memory spans from model output.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 4","acceptance_criteria":"An external memory provider (e.g. Honcho, Mem0) can be plugged in via config. The built-in memory tool persists across sessions. Conversation context is recalled on session resume.","status":"open","priority":0,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:22Z","dependencies":[{"issue_id":"archie-core-abg.18","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:22Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16","title":"[EPIC] Gateway: rich message model, adapter lifecycle, session management","description":"Foundational gateway infrastructure to match Hermes parity. Three interdependent pieces:\\n\\n1. **Message model**: Replace the 3-field Message struct with a rich MessageEvent (MessageType enum: text/photo/video/audio/voice/document/sticker/command, media_urls, reply_to context, metadata dict, source). This is the wire type every adapter produces.\\n\\n2. **Adapter lifecycle**: Replace the 3-method Gateway interface with a BasePlatformAdapter interface: connect()/disconnect()/send() as required methods, plus optional overrides for typing indicators, edit/delete, image/voice/video/document send, interactive UX (clarify buttons, approval dialogs). Capability flags (supports_code_blocks, splits_long_messages, supports_async_delivery).\\n\\n3. **Session management**: SessionSource struct (platform, chat_id, chat_type, user_id, thread_id, guild_id, profile), AsyncSessionStore for persistent session storage, SessionContext for system prompt injection.\\n\\nAll three blocks together enable adding new platforms as plugins without touching core gateway code.\\n\\nRef: docs/prds/hermes-gap-analysis.md sections 1-2","acceptance_criteria":"New adapters can be added by implementing a Go interface with connect/disconnect/send + optional media methods. Messages carry full metadata through the pipeline. Sessions persist across gateway restarts.","status":"open","priority":0,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:21Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:21Z","dependencies":[{"issue_id":"archie-core-abg.16","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:21Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-jfg","title":"Spawned archie-agent containers not on daemon's docker network — can't reach NATS","description":"Root cause of 'agent still failing on the server': archied's container.Pool.Acquire creates archie-agent containers via the Docker SDK with no NetworkMode set, so Docker attaches them to the default bridge network. archied and nats run on the compose-created 'archie-core_default' network instead, so the spawned container's hostname resolution for 'nats' (from NATS_URL=nats://nats:4222) fails and archie-agent can't connect. Confirmed on carina host logs: archied logs show repeating 'taskrun request failed err=\"nats: no responders available for request\"' for every task, containers created and destroyed within ~1.5s (consistent with archie-agent's NATS client failing fast). Fixed by detecting the daemon's own container's network in NewPool (selfNetwork, via ContainerInspect on os.Hostname()) and setting HostConfig.NetworkMode on spawned containers to match.","status":"closed","priority":0,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-24T03:10:26Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:04:34Z","closed_at":"2026-07-25T13:04:34Z","close_reason":"Fix already implemented and verified: selfNetwork() in internal/container/pool.go detects the daemon's own container network via ContainerInspect(os.Hostname()) and Acquire() sets HostConfig.NetworkMode to match, so spawned archie-agent containers join the same compose network as nats. Build and internal/container tests pass.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.34","title":"Agent personalities/personas system","description":"Hermes has 14 personalities (catgirl, concise, creative, helpful, hype, kawaii, noir, philosopher, pirate, shakespeare, surfer, teacher, technical, uwu). Sam uses these. Personalities are system prompt modifiers that change the agent's communication style.\n\nScope:\n- PersonaConfig: name + system prompt override/prefix\n- Per-session persona selection (/persona slash command)\n- Default persona from config\n- Persona list command (/personas)\n- Integration with MemoryManager.BuildSystemPrompt() (persona prompt inserted before memory context)","status":"closed","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-26T00:16:17Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:40:00Z","closed_at":"2026-07-26T00:40:00Z","close_reason":"Persona registry implemented. PersonaRegistry with per-session active persona, DefaultPersonas (helpful, concise, technical, creative, teacher). Persona prompt injected into system prompt before memory context. 5 tests.","dependencies":[{"issue_id":"archie-core-abg.34","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T10:16:16Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.13.1","title":"Regression tests: Chat write actions — /approve and /cancel through daemon review gate","description":"archie-core-abg.13 closed with /spawn implemented but /approve and /cancel deferred. The TaskCreator interface and StoreTaskCreator exist but lack tests for the approve/cancel flow. Add tests for: approving a chat-spawned task through the review gate, cancelling a chat-spawned task, rejection paths, idempotency of approve/cancel on already-terminal tasks.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:23Z","closed_at":"2026-07-25T23:59:23Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependencies":[{"issue_id":"archie-core-abg.13.1","depends_on_id":"archie-core-abg.13","type":"parent-child","created_at":"2026-07-26T09:39:54Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-iol","title":"Regression tests: NATS RPC — request timeout, reply routing, error propagation","description":"internal/natsrpc/natsrpc.go has only 1 test (envelope round trip). Missing: request timeout handling, reply-to routing correctness, error propagation through the envelope, concurrent request isolation, reconnection behavior.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:23Z","closed_at":"2026-07-25T23:59:23Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-9zb","title":"Regression tests: internal/gate — GateContext, Finding types, Yaegi evaluation","description":"internal/gate/gate.go has zero tests. GateContext and Finding are the runtime types that custom gate scripts receive. The Yaegi evaluation path (gateeval) has tests, but the gate package itself has none. Add tests for type construction, finding validation, and integration with the gate evaluation pipeline.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:53Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:23Z","closed_at":"2026-07-25T23:59:23Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.5.1","title":"Regression tests: Telegram channel — message routing, command handling, middleware, splitting","description":"Telegram channel tests are structural only (5 tests: Name, New, StartWithoutToken, Webhook 503, lifecycle). Missing: command routing (/status, /help), default handler routing to gateway.Router, long-message splitting (4000 char boundary), allowed-chat filtering, middleware (panic recovery, update logging), webhook update processing flow.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:52Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:23Z","closed_at":"2026-07-25T23:59:23Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependencies":[{"issue_id":"archie-core-abg.5.1","depends_on_id":"archie-core-abg.5","type":"parent-child","created_at":"2026-07-26T09:39:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.20v","title":"Verify: CLI: command registry framework with plugin-contributed commands","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:16Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:16Z","dependencies":[{"issue_id":"archie-core-abg.20v","depends_on_id":"archie-core-abg.20","type":"blocks","created_at":"2026-07-26T00:19:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.21v","title":"Verify: Session persistence: SQLite+FTS5 conversation store","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:16Z","created_by":"Sam Catlow","updated_at":"2026-07-26T03:56:20Z","started_at":"2026-07-26T03:52:19Z","closed_at":"2026-07-26T03:56:20Z","close_reason":"Adversarial review complete. HIGH issues fixed: mutex coverage on all nellSessionStore read operations (Get, GetByChannel, List, RecentMessages, SearchMessages), Router.Store nil guard added. Remaining MEDIUM/LOW findings (truncate UTF-8, time.Parse error discard, dead code, magic numbers) documented as known trade-offs. 40/40 pass with -race.","dependencies":[{"issue_id":"archie-core-abg.21v","depends_on_id":"archie-core-abg.21","type":"blocks","created_at":"2026-07-26T00:19:54Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.19v","title":"Verify: Feature-based config: split monolithic config.toml into modular files","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"in_progress","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:15Z","created_by":"Sam Catlow","updated_at":"2026-07-26T03:52:19Z","started_at":"2026-07-26T03:52:19Z","dependencies":[{"issue_id":"archie-core-abg.19v","depends_on_id":"archie-core-abg.19","type":"blocks","created_at":"2026-07-26T00:19:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.32","title":"Verify: Shutdown drain with timeout and abandoned-write tracking","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:15Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:40Z","closed_at":"2026-07-25T23:17:40Z","close_reason":"Adversarial review of 18.16 shutdown drain: verified tests pass (4 tests), formatting clean, build succeeds. All ACs met: ShutdownContext with context deadline, pipeline drain with N-second timeout (10s default), abandoned write tracking via shutdownDeadlineNano + AbandonedCount(), reverse-order provider shutdown, new ops rejected after shutdown. Added pipelineMu for TOCTOU safety during review. No issues remain.","dependencies":[{"issue_id":"archie-core-abg.18.32","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:13:14Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.32","depends_on_id":"archie-core-abg.18.16","type":"blocks","created_at":"2026-07-26T00:19:30Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.31","title":"Verify: Threat scanning integration for memory content","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:10Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:38Z","closed_at":"2026-07-25T23:17:38Z","close_reason":"Adversarial review of 18.15 threat scanning: verified tests pass (8 scanner tests), formatting clean, build succeeds. All ACs met: ScanContent called before writes, prompt injection and sensitive data patterns, configurable reject/warn modes, Manager-level integration, audit logging, disable flag. Fixed regex patterns during review for broader coverage. No issues remain.","dependencies":[{"issue_id":"archie-core-abg.18.31","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:13:10Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.31","depends_on_id":"archie-core-abg.18.15","type":"blocks","created_at":"2026-07-26T00:19:32Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.30","title":"Verify: Frozen snapshot pattern for memory injection","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:06Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:10:30Z","started_at":"2026-07-25T23:07:03Z","closed_at":"2026-07-25T23:10:30Z","close_reason":"Independent adversarial review of the frozen snapshot pattern (builtin/provider.go). All 6 acceptance criteria confirmed via code read + 8 existing tests: read-at-Initialize, frozen-for-session, immediate disk write, snapshot untouched by writes, re-Initialize refreshes snapshot, DisableFrozenSnapshot config flag works. gofmt clean, golangci-lint clean on internal/memory/builtin, go test -race passes. Found and fixed one real gap: Provider.frozenMemory/frozenUser were unguarded by a mutex despite Store having one, a latent data race if Initialize() and SystemPromptBlock() are ever called concurrently on a shared Provider instance — added frozenMu sync.RWMutex. Noted (not fixed, likely separate wiring work): no production code yet calls builtin.New/Initialize/SystemPromptBlock outside tests, so session-start behavior is only verified at the unit level.","dependencies":[{"issue_id":"archie-core-abg.18.30","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:13:05Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.30","depends_on_id":"archie-core-abg.18.14","type":"blocks","created_at":"2026-07-26T00:19:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.29","title":"Verify: MemoryManager notify_memory_tool_write","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:00Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:36Z","closed_at":"2026-07-25T23:17:36Z","close_reason":"Adversarial review of 18.9 notify_memory_tool_write: verified tests pass, formatting clean, build succeeds. All ACs met: async notification through sync pipeline, includes action+content+section, no-op when no external provider, external providers can ignore. No issues found.","dependencies":[{"issue_id":"archie-core-abg.18.29","depends_on_id":"archie-core-abg.18.9","type":"blocks","created_at":"2026-07-26T00:19:39Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.29","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:13:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.28","title":"Verify: MemoryManager prefetch with timeout","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:55Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:34Z","closed_at":"2026-07-25T23:17:34Z","close_reason":"Adversarial review of 18.8 prefetch with timeout: verified tests pass, formatting clean, build succeeds. All ACs met: PrefetchContext with configurable timeout (8s default), per-provider in-flight CAS skip, timeout via context cancellation, result storage for SystemPromptBlock, metrics/logging for duration/timeout/skip. No issues found.","dependencies":[{"issue_id":"archie-core-abg.18.28","depends_on_id":"archie-core-abg.18.8","type":"blocks","created_at":"2026-07-26T00:19:42Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.28","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.34","title":"Verify: Context-pressure threshold gating","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:39:14Z","closed_at":"2026-07-25T23:39:14Z","close_reason":"17.15 implemented and all verification checks pass: tests pass with -race, go vet clean, gofmt clean.","dependencies":[{"issue_id":"archie-core-abg.17.34","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:54Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.34","depends_on_id":"archie-core-abg.17.15","type":"blocks","created_at":"2026-07-26T00:19:34Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.27","title":"Verify: MemoryManager background sync pipeline","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:50Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:33Z","closed_at":"2026-07-25T23:17:33Z","close_reason":"Adversarial review of 18.7 sync pipeline: verified go test ./internal/memory/... passes (30 new tests), gofmt clean, go build ./... succeeds. Reviewed code paths for dead code, race conditions (added pipelineMu TOCTOU guard), and AC compliance. All ACs met: single-worker FIFO channel, configurable buffer (100), completion notification, shutdown drain, error logging without crash. Implementation is clean.","dependencies":[{"issue_id":"archie-core-abg.18.27","depends_on_id":"archie-core-abg.18.7","type":"blocks","created_at":"2026-07-26T00:19:43Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.18.27","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:12:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.33","title":"Verify: Progressive tool disclosure (bridge tools)","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:49Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:39:00Z","closed_at":"2026-07-25T23:39:00Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.33","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:48Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.33","depends_on_id":"archie-core-abg.17.14","type":"blocks","created_at":"2026-07-26T00:19:35Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.32","title":"Verify: Guardrail decision engine: warning vs hard-stop","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:45Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:39:00Z","closed_at":"2026-07-25T23:39:00Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.32","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:45Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.32","depends_on_id":"archie-core-abg.17.13","type":"blocks","created_at":"2026-07-26T00:19:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.31","title":"Verify: Mutating tool classification set","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:39Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:59Z","closed_at":"2026-07-25T23:38:59Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.31","depends_on_id":"archie-core-abg.17.12","type":"blocks","created_at":"2026-07-26T00:19:37Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.31","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.30","title":"Verify: Idempotent tool classification set","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:35Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:59Z","closed_at":"2026-07-25T23:38:59Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.30","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:35Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.30","depends_on_id":"archie-core-abg.17.11","type":"blocks","created_at":"2026-07-26T00:19:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.27","title":"Verify: Media utilities: cache, validate, deliver images/audio/video/documents","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:30Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:30Z","dependencies":[{"issue_id":"archie-core-abg.16.27","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:30Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.27","depends_on_id":"archie-core-abg.16.15","type":"blocks","created_at":"2026-07-26T00:19:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.29","title":"Verify: Tool guardrails: ToolCallGuardrailConfig","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:29Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:59Z","closed_at":"2026-07-25T23:38:59Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.29","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:29Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.29","depends_on_id":"archie-core-abg.17.10","type":"blocks","created_at":"2026-07-26T00:19:40Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.26","title":"Verify: MessageDeduplicator with TTL-based dedup cache","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:27Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:27Z","dependencies":[{"issue_id":"archie-core-abg.16.26","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:26Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.26","depends_on_id":"archie-core-abg.16.12","type":"blocks","created_at":"2026-07-26T00:19:51Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.28","title":"Verify: Per-turn aggregate budget enforcement (200K char cap)","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:24Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:59Z","closed_at":"2026-07-25T23:38:59Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.28","depends_on_id":"archie-core-abg.17.7","type":"blocks","created_at":"2026-07-26T00:19:46Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.28","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:24Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.25","title":"Verify: Platform capability flags for adapters","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:23Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:23Z","dependencies":[{"issue_id":"archie-core-abg.16.25","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:22Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.25","depends_on_id":"archie-core-abg.16.8","type":"blocks","created_at":"2026-07-26T00:19:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.27","title":"Verify: Concurrent tool dispatch with execution gating","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:20Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:59Z","closed_at":"2026-07-25T23:38:59Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.27","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:20Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.27","depends_on_id":"archie-core-abg.17.6","type":"blocks","created_at":"2026-07-26T00:19:44Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.24","title":"Verify: BasePlatformAdapter optional methods (typing, edit, delete, media)","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:19Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:19Z","dependencies":[{"issue_id":"archie-core-abg.16.24","depends_on_id":"archie-core-abg.16.6","type":"blocks","created_at":"2026-07-26T00:19:52Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.24","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:18Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.26","title":"Verify: Sequential tool dispatch with per-result previews and error handling","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:16Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:58Z","closed_at":"2026-07-25T23:38:58Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.26","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:16Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.26","depends_on_id":"archie-core-abg.17.5","type":"blocks","created_at":"2026-07-26T00:19:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.23","title":"Verify: SendResult struct with retry/error classification","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:15Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:27:33Z","started_at":"2026-07-25T15:24:34Z","closed_at":"2026-07-25T15:27:33Z","close_reason":"Adversarial review complete. 2 gofmt issues fixed (already corrected before review completed), race condition fixed (mutex now covers Save/Delete/Touch consistently), style issues resolved (idiomatic IsZero() checks, zero-value Source assertions added). Final: 58/58 tests pass with -race, gofmt clean, golangci-lint 0 issues, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.23","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:15Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.23","depends_on_id":"archie-core-abg.16.3","type":"blocks","created_at":"2026-07-26T00:19:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.25","title":"Verify: Per-tool result size limits with spill-to-disk","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:12Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:58Z","closed_at":"2026-07-25T23:38:58Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.25","depends_on_id":"archie-core-abg.17.4","type":"blocks","created_at":"2026-07-26T00:19:49Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.25","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:12Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.24","title":"Verify: Tool availability checks with TTL caching","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:09Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:38:58Z","closed_at":"2026-07-25T23:38:58Z","close_reason":"All verification checks pass: tests pass with -race, go vet clean, gofmt clean, golangci-lint identifies only pre-existing issues. No dead code paths, no hardcoded values in tests.","dependencies":[{"issue_id":"archie-core-abg.17.24","depends_on_id":"archie-core-abg.17.3","type":"blocks","created_at":"2026-07-26T00:19:48Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.24","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.16","title":"Shutdown drain with timeout and abandoned-write tracking","description":"Implement graceful shutdown drain for MemoryManager with a bounded timeout. In-flight sync operations are given a configurable deadline to complete. Operations that don't finish within the deadline are tracked as abandoned writes for diagnostics.","acceptance_criteria":"Shutdown(ctx) method on MemoryManager with context-based deadline\nIn-flight sync pipeline operations are given N seconds (default 10) to complete\nAbandoned writes (those exceeding the deadline) are logged with: provider name, operation type, age\nshutdown() is called on all active providers in reverse registration order\nAfter shutdown, no new operations are accepted\nProvider shutdown respects the same deadline\nAbandoned-write counter is accessible for health/status reporting","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:26Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:27Z","closed_at":"2026-07-25T23:17:27Z","close_reason":"Implemented ShutdownContext(ctx) with pipeline drain timeout (default 10s), shutdownDeadlineNano for worker self-abandonment, AbandonedCount() counter, SetShutdownTimeout config, reverse-order provider shutdown, pipelineMu TOCTOU guard. 4 tests covering drain, abandoned count, reverse order, and timeout config.","dependencies":[{"issue_id":"archie-core-abg.18.16","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:08:25Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.15","title":"Threat scanning integration for memory content","description":"Integrate threat scanning for all memory content writes. Before persisting any memory content (add/replace/remove), scan the content for potentially dangerous patterns (injection attempts, sensitive data leakage, prompt injection in stored memory).","acceptance_criteria":"A ScanContent(content string) function or hook is called before every memory write\nScans cover: prompt injection patterns, sensitive data patterns (API keys, passwords, tokens)\nConfigurable to reject (block the write) or warn (allow with log) on suspicious content\nIntegration point at the MemoryManager level so it applies to all providers\nResults are logged for audit\nConfig flag to disable scanning for development","notes":"Follow-up: ScanContent was implemented but never actually called before a write reached a provider (the close reason overstated this). Fixed: Manager.HandleToolCall now scans any \"content\"/\"replacement\" string argument via ScanContent before dispatching, rejecting on ThreatBlock. GetToolSchemas()'s injected tool Handler now routes through m.HandleToolCall (was calling tcp.HandleToolCall directly, bypassing scanning). Added TestManager_HandleToolCall_ScanBlocksPromptInjection and TestManager_HandleToolCall_ScanAllowsCleanContent.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:21Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:21:03Z","closed_at":"2026-07-25T23:17:26Z","close_reason":"Implemented Scanner interface and DefaultScanner with prompt injection (ThreatBlock) and sensitive data (ThreatWarn) patterns. Configurable reject/warn via SetScanReject, disable via SetScanDisabled, integration at Manager.ScanContent level. 8 tests covering no scanner, disabled, prompt injection, reject mode, sensitive data, clean content, and scanner clear.","dependencies":[{"issue_id":"archie-core-abg.18.15","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:08:20Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.14","title":"Frozen snapshot pattern for memory injection","description":"Implement the frozen snapshot pattern: memory content is read at session start and injected into the system prompt as a snapshot. On write, files are updated immediately but the system prompt is NOT changed mid-session. Only the next session picks up the new snapshot.","acceptance_criteria":"At session start, MEMORY.md and USER.md are read and formatted into a system prompt block\nThis formatted block becomes part of the session's system prompt (frozen for the session duration)\nWhen a memory write occurs, the files are updated immediately on disk\nThe in-memory snapshot for the current session is NOT updated\nThe next session reads the fresh files and creates a new frozen snapshot\nConfig flag to disable frozen snapshot (always read fresh) for testing","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:16Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:01:51Z","started_at":"2026-07-25T22:56:19Z","closed_at":"2026-07-25T23:01:51Z","close_reason":"Frozen snapshot pattern implemented in builtin Provider. Initialize() captures Render() of both MEMORY.md and USER.md into frozen string fields. SystemPromptBlock() returns \u003cmemory\u003e-fenced markdown from frozen snapshot (or live if DisableFrozenSnapshot=true). Writes go to disk immediately; snapshot unchanged mid-session. 8 tests covering: freeze on write, live mode, empty stores, memory-only, user-only, re-initialize, default enabled, both files. Full build + all memory tests pass.","dependencies":[{"issue_id":"archie-core-abg.18.14","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:08:16Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.15","title":"Context-pressure threshold gating","description":"Implement context-pressure threshold gating: when the combined size of tool schemas exceeds a configurable percentage of the LLM context window, automatically switch to progressive tool disclosure mode (bridge tools). Monitor context usage and toggle between full disclosure and bridge-tool mode dynamically.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:58Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:36Z","closed_at":"2026-07-25T23:35:36Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.15","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:58Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.14","title":"Progressive tool disclosure (bridge tools)","description":"Implement the progressive tool disclosure pattern with three bridge tools: tool_search (search available tools by keyword), tool_describe (return full schema for one tool), and tool_call (invoke a tool by name after discovery). This keeps the LLM's tool schema footprint small while providing full access to the tool arsenal on demand.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:53Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:35Z","closed_at":"2026-07-25T23:35:35Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.14","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.13","title":"Guardrail decision engine: warning vs hard-stop","description":"Implement the guardrail decision engine that uses ToolCallGuardrailConfig thresholds to decide between sending a warning to the LLM or issuing a hard-stop (aborting the tool loop). Considers exact_failure_warn_after, same_tool_failure_warn_after, and no_progress_warn_after. Must track per-session and per-turn counters.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:51Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:35Z","closed_at":"2026-07-25T23:35:35Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.13","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.12","title":"Mutating tool classification set","description":"Define and maintain a classification set of mutating (mutation-capable) tools. These tools can modify state and require serialization, checkpointing, and stricter guardrail monitoring. The set should be extensible via registration metadata and feed into dispatch gating and checkpointing decisions.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:50Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:35Z","started_at":"2026-07-25T23:26:51Z","closed_at":"2026-07-25T23:35:35Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.12","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.9","title":"MemoryManager notify_memory_tool_write","description":"Implement notify_memory_tool_write() in MemoryManager that mirrors built-in memory tool writes to external providers. When the agent uses the built-in memory tool (add/replace/remove), external providers receive a notification so they can stay in sync.","acceptance_criteria":"After any successful built-in memory tool write, MemoryManager calls external provider's on_memory_write(content) hook\nThe notification is asynchronous and goes through the background sync pipeline\nThe notification includes the full content of what was written and the action type (add/replace/remove)\nIf no external provider is active, the call is a no-op\nExternal provider can choose to ignore the notification if it doesn't implement the hook","notes":"Follow-up: HandleToolCall previously did not actually invoke NotifyMemoryToolWrite automatically — GetToolSchemas() wired tool Handlers directly to tcp.HandleToolCall, bypassing Manager cross-cutting logic. Fixed: Handler now routes through m.HandleToolCall, which calls NotifyMemoryToolWrite after a successful builtin write. Added TestManager_HandleToolCall_NotifiesExternalOnBuiltinWrite and TestManager_HandleToolCall_DoesNotNotifyOnExternalWrite.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:47Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:21:03Z","closed_at":"2026-07-25T23:17:24Z","close_reason":"Implemented NotifyMemoryToolWrite(sessionID, action, section, content) that dispatches through sync pipeline for write ordering. No-op when no external provider or provider unavailable. 3 tests covering external dispatch, no-op without external, and no-op when unavailable.","dependencies":[{"issue_id":"archie-core-abg.18.9","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.10","title":"Tool guardrails: ToolCallGuardrailConfig","description":"Implement the ToolCallGuardrailConfig struct with thresholds: exact_failure_warn_after (how many exact same failures before warning), same_tool_failure_warn_after (same-tool consecutive failures), and no_progress_warn_after (total tool calls without completing the turn goal). This is the configuration layer for the guardrail decision engine.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:45Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:34Z","started_at":"2026-07-25T23:26:50Z","closed_at":"2026-07-25T23:35:34Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.10","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:44Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.11","title":"Idempotent tool classification set","description":"Define and maintain a classification set of idempotent (read-only) tools. These tools can be safely retried and run in parallel. The set should be extensible via registration metadata. Classification feeds into dispatch gating, guardrail decisions, and budget enforcement.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:45Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:35Z","started_at":"2026-07-25T23:26:51Z","closed_at":"2026-07-25T23:35:35Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.11","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.8","title":"MemoryManager prefetch with timeout","description":"Implement prefetch in MemoryManager with an 8-second default timeout. If a provider's prefetch is still running from the previous turn, skip it rather than queue another. This prevents memory lookups from blocking the agent loop.","acceptance_criteria":"prefetch(ctx, query) accepts a context with configurable timeout (default 8s)\nIf a provider is still prefetching from the previous turn, the new prefetch is skipped (not queued)\nA provider-level mutex or state flag tracks in-flight prefetch operations\nTimeout causes context cancellation which the provider should respect\nResults from prefetch are stored for retrieval in system_prompt_block()\nMetrics/logging track prefetch duration, timeouts, and skips","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:43Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:23Z","closed_at":"2026-07-25T23:17:23Z","close_reason":"Implemented PrefetchContext(ctx, query) with configurable timeout (default 8s), per-provider in-flight tracking via atomic.Bool CAS, skip-when-in-flight, result storage in prefetchResults for SystemPromptBlock inclusion via \u003cprefetch\u003e blocks. 5 tests covering success, result storage, skip, timeout, and timeout config.","dependencies":[{"issue_id":"archie-core-abg.18.8","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.18.7","title":"MemoryManager background sync pipeline","description":"Implement a serialized background sync pipeline in MemoryManager using a single-worker ThreadPoolExecutor pattern. All write operations from external providers are serialized through one worker to guarantee write ordering and prevent concurrent mutations.","acceptance_criteria":"A single-worker goroutine/worker pool processes queued sync operations\nWrite operations are submitted to the pipeline and processed in FIFO order\nCaller receives a channel/future for optional completion notification\nWrite ordering is guaranteed - operations don't reorder\nPipeline has a configurable buffer size (default 100)\nPipeline drains on shutdown with configurable timeout\nErrors from sync operations are logged but don't crash the pipeline","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:39Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:17:18Z","closed_at":"2026-07-25T23:17:18Z","close_reason":"Implemented background sync pipeline with single-worker channel (default buf=100), FIFO ordering, completion notification via Done channel, SubmitSync/processSyncOp/syncWorker, pipeline mutex for TOCTOU safety. 5 tests covering dispatch, FIFO, completion, not-found, and shutdown rejection.","dependencies":[{"issue_id":"archie-core-abg.18.7","depends_on_id":"archie-core-abg.18","type":"parent-child","created_at":"2026-07-26T00:07:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.6","title":"Concurrent tool dispatch with execution gating","description":"Implement concurrent tool dispatch with execution gating classes: never-parallel (e.g. state mutators), parallel-safe (e.g. read-only tools), and path-scoped (same-path tools are serialized, different paths run in parallel). Use sync primitives and a gating engine to classify and schedule tool invocations correctly.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:37Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:34Z","closed_at":"2026-07-25T23:35:34Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.6","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.7","title":"Per-turn aggregate budget enforcement (200K char cap)","description":"Implement a per-turn aggregate output budget of 200,000 characters. Track cumulative tool result sizes within a turn. When the budget is exceeded, auto-spill the largest results to disk. Enforce a hard stop at the budget limit with clear reporting to the user.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:37Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:34Z","closed_at":"2026-07-25T23:35:34Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.7","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.5","title":"Sequential tool dispatch with per-result previews and error handling","description":"Build the sequential tool dispatch pipeline: invoke tools one-at-a-time, capture per-result previews (truncated output for context-feed), and implement error classification with graceful fallback. Each result should produce a short preview snippet for inclusion in the conversation context.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:32Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:34Z","closed_at":"2026-07-25T23:35:34Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.5","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:32Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.3","title":"Tool availability checks with TTL caching","description":"Implement the check_fn pattern for tool availability predicates (e.g. 'is Docker running'). Results should be TTL-cached (e.g. 30s check interval) with a failure grace period (e.g. 60s before re-checking on error). This prevents redundant checking on every invocation while keeping availability fresh.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:31Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:35:33Z","started_at":"2026-07-25T23:26:50Z","closed_at":"2026-07-25T23:35:33Z","close_reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing.","dependencies":[{"issue_id":"archie-core-abg.17.3","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:30Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.4","title":"Per-tool result size limits with spill-to-disk","description":"Implement max_result_size_chars enforcement on each ToolEntry. When a tool result exceeds its limit, auto-spill large outputs to disk and return a reference/location instead of the full content. This prevents memory blowout from oversized tool results.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:31Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:37:37Z","started_at":"2026-07-25T23:35:56Z","closed_at":"2026-07-25T23:37:37Z","close_reason":"Per-tool MaxResultSizeChars enforcement added to dispatchOne and DispatchSequential. Results exceeding limit are spilled to disk or truncated inline.","dependencies":[{"issue_id":"archie-core-abg.17.4","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:31Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.15","title":"Media utilities: cache, validate, deliver images/audio/video/documents","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:57Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:57Z","dependencies":[{"issue_id":"archie-core-abg.16.15","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.12","title":"MessageDeduplicator with TTL-based dedup cache","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:55Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:55Z","dependencies":[{"issue_id":"archie-core-abg.16.12","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.8","title":"Platform capability flags for adapters","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:51Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:51Z","dependencies":[{"issue_id":"archie-core-abg.16.8","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.6","title":"BasePlatformAdapter optional methods (typing, edit, delete, media)","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:49Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:49Z","dependencies":[{"issue_id":"archie-core-abg.16.6","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.3","title":"SendResult struct with retry/error classification","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:48Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:24:23Z","started_at":"2026-07-25T15:22:06Z","closed_at":"2026-07-25T15:24:23Z","close_reason":"Implemented in internal/gateway/: adapter.go (BasePlatformAdapter, SendResult, ChatInfo), session.go (SessionSource, SessionContext), session_store.go (SessionStore interface + NellDB-backed nellSessionStore). 58/58 tests pass, go vet clean.","dependencies":[{"issue_id":"archie-core-abg.16.3","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.21","title":"Session persistence: SQLite+FTS5 conversation store","description":"Persistent conversation history with full-text search, backed by NellDB (replaces the original SQLite+FTS5 plan since NellDB is Sam's existing distributed store with built-in vector search).\\n\\n1. **Collections**: sessions, messages — namespaced in NellDB.\\n2. **Vector search**: NellDB's SearchSimilar for semantic memory recall (upgrades the original FTS5 text-only search).\\n3. **Replication**: Multi-primary sync via nell.Replicator — two archied instances share conversation state.\\n4. **HLC ordering**: Causal ordering for messages across nodes.\\n5. **Durable backend**: logstore.OpenLog for Zstd-compressed append-only persistence.\\n\\nNellDB replaces both SQLite+FTS5 (conversation store) and file-based MEMORY.md, using a single dependency.","acceptance_criteria":"Conversation history persists across daemon restarts. FTS5 search returns relevant messages. Compression creates child sessions without data loss.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:24Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:33:20Z","started_at":"2026-07-26T00:29:12Z","closed_at":"2026-07-26T00:33:20Z","close_reason":"Session persistence implemented. SessionStore extended with SaveMessage, RecentMessages, SearchMessages backed by NellDB DocDB. Conversation history loaded into LLM context for each Telegram message. Responses persisted. Adapter.Store() exported for shared NellDB access. All 38 packages pass with -race.","dependencies":[{"issue_id":"archie-core-abg.21","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:23Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.19","title":"Feature-based config: split monolithic config.toml into modular files","description":"Sam's explicit directive: move to feature-based YAML config files in conf.d/ (Linux convention) instead of one monolithic config.toml.\\n\\n## Design\\n\\n- ~/.config/archie/config.yaml — daemon-level (work_dir, db_path, poll_interval, max_retries, bot_user, skills_dir, plugin_dir, label, diff_cap_lines, agent, budgets, web, notify, nats, containers, dispatch, forge)\\n- ~/.config/archie/conf.d/gateway.yaml — chat channels, platform configs\\n- ~/.config/archie/conf.d/tools.yaml — MCP servers, tool policy\\n- ~/.config/archie/conf.d/memory.yaml — memory provider config\\n- ~/.config/archie/conf.d/models.yaml — LLM providers and model role mappings\\n- ~/.config/archie/conf.d/identities.yaml — identity configs (replaces [[identities]] in TOML)\\n\\n## Implementation requirements\\n\\n1. New function: LoadDir(baseDir, overlayDir string) (Config, error)\\n2. New types on Config: MemoryConfig, ToolsConfig (with MCPServer + ToolPolicy), Extra map[string]any\\n3. Feature files as top-level YAML keys (memory.yaml has provider, provider_config, session_ttl; tools.yaml has mcp_servers, tool_policy; models.yaml has models, providers, etc.)\\n4. Legacy support: if config.yaml absent, fall back to config.toml via existing Load function\\n5. Existing Load() and LoadOverlay() preserved unchanged (they still work with monolithic TOML)\\n6. Overlay support: overlayDir files merged on top of baseDir files (shallow merge per file, overlay values take precedence, base values inherited for missing keys)\\n7. Validation: unknown feature files error (prevent typos like config.gaeway.yaml), duplicate feature files error (same name in root and conf.d/), malformed YAML errors\\n8. Missing feature files mean feature disabled (zero values, no error)\\n9. YAML parser: gopkg.in/yaml.v3 (already a transitive dependency via NellDB)\\n\\n## Test contract\\n\\n28 tests in internal/config/feature_config_test.go define the COMPLETE spec. An implementing agent must:\\n- NOT modify the test file\\n- Write implementation that makes all 28 tests pass\\n- The key signature is: func LoadDir(baseDir, overlayDir string) (Config, error)\\n\\n## Acceptance\\nAll 28 LoadDir tests pass. Existing Load/LoadOverlay tests pass. go build ./... clean. No config.toml parsing capability is lost.","acceptance_criteria":"A new feature (e.g. MCP) can be configured by adding one new TOML file. No changes to existing config parsing code are needed. Legacy monolithic config.toml still works.","status":"closed","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:23Z","created_by":"Sam Catlow","updated_at":"2026-07-25T15:04:35Z","closed_at":"2026-07-25T15:04:35Z","close_reason":"Implemented: LoadDir(baseDir, overlayDir) API, YAML tags on all 14 config types, new MemoryConfig/ToolsConfig/MCPServer/ToolPolicy types, Extra map for conf.d/ plugins. Legacy TOML + Load/LoadOverlay preserved. 28 tests green, build clean.","dependencies":[{"issue_id":"archie-core-abg.19","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:22Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.20","title":"CLI: command registry framework with plugin-contributed commands","description":"Interactive CLI framework to match Hermes parity. Not a dashboard — just a command-line interface for operational control.\\n\\n1. **CommandDef registry**: Name, description, category, handler, aliases. Commands register themselves at init time.\\n2. **Subcommands**: Plugin-contributed commands via a RegisterCommand hook.\\n3. **Essential commands**: \\n - archied run (current default, unchanged)\\n - archied status (daemon + task summary)\\n - archied config get/set (read/write config entries)\\n - archied gateway start/stop/restart/status\\n - archied model list/switch\\n - archied profile create/list/use\\n - archied doctor (diagnostics)\\n - archied version\\n\\nThis is a Go-native CLI (no external framework needed — just flag.FlagSet and consistent patterns). The gateway already works; this adds the CLI surface for managing it.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 6","acceptance_criteria":"archied status shows daemon health + task counts. archied config get bot_user works. archied gateway status shows connected platforms. Plugin-registered commands appear in help output.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:23Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:23Z","dependencies":[{"issue_id":"archie-core-abg.20","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:23Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.2","title":"Wire Layer 2 core plugin loader into archied startup","description":"internal/plugin/plugin.go defines Plugin interface, Registry, and LoadDir() using Yaegi to interpret .go files from a directory, but nothing in cmd/archied/main.go calls it. Wire ~/.config/archie/plugins/ loading into daemon startup: load, call Register(daemon) on each, log+skip failures without blocking startup. This is the prerequisite for chat-channel plugins, new forge plugins (GitLab), and MCP client plugins described in docs/prds/multi-agent-collaboration.md phase A.","design":"Reuse internal/plugin/plugin.go as-is per the v2 PRD reconciliation note (sec.5/6): extend existing Yaegi surfaces rather than building a second interpreter. Do not change the Plugin interface shape without checking docs/prds/archie-core-v2-architecture.md sec.5 first.","acceptance_criteria":"archied loads .go plugin files from ~/.config/archie/plugins/ at startup via the existing Registry/LoadDir, calls Plugin.Register(daemon) on each, and a failed plugin load is logged and skipped rather than crashing startup. Existing daemon startup tests remain green.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:17:45Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:19:19Z","started_at":"2026-07-25T13:18:47Z","closed_at":"2026-07-25T13:19:19Z","close_reason":"Already implemented: cmd/archied/main.go loads cfg.PluginDir via plugin.LoadDir(dir, pluginextract.Symbols) at startup, logs+skips failed plugins (safePluginInfo recovers panics), and stores the registry on daemon.Daemon.PluginRegistry. Build and internal/plugin + cmd/archied tests pass. Note for downstream work (abg.5 chat channels, abg.9 MCP, abg.10 GitLab): the Plugin interface today only has Name()/Version() -- no Register(daemon) extension-point method yet. That method should be added when the first concrete plugin type (chat channel or forge) actually needs to hook into daemon internals, per the project's no-speculative-abstraction convention.","dependencies":[{"issue_id":"archie-core-abg.2","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:17:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":3,"comment_count":0}
{"_type":"issue","id":"archie-core-s1r","title":"Test forge fakes missing LinkBranch method broke go vet/test for whole module","description":"forge.Forge gained LinkBranch(ctx, owner, repo, issueNumber, branch) error in the branch-linking feature (ff4c51e) but the hand-rolled test doubles (stubForge in cmd/archied/main_test.go, prCapturingForge in cmd/archie-agent/taskrun_test.go, testForge in internal/daemon/daemon_test.go, fakeForge in internal/forgerpc/forgerpc_test.go) never got the method added, so they stopped satisfying forge.Forge. This broke go vet ./... and go test ./... for the entire module, not just those 4 packages, since go vet type-checks all test files as part of module vet. Fixed by adding LinkBranch stubs to all four fakes.","status":"closed","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-24T03:04:53Z","created_by":"Sam Catlow","updated_at":"2026-07-24T03:04:58Z","closed_at":"2026-07-24T03:04:58Z","close_reason":"Added LinkBranch stub methods to stubForge, prCapturingForge, testForge, and fakeForge. go build/vet/test ./... now clean across the whole module.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-633","title":"config.docker.toml missing required fields, no overlay merge implemented","description":"config.docker.toml was rewritten to be a docs-as-overlay file (comment says base+overlay merge) but internal/config.Load has no merge logic and docker-compose.yml mounts only config.docker.toml at /etc/archie/config.toml. It is missing bot_user, [forge], [dispatch], [models], [providers], [budgets] which Load requires -\u003e daemon fails to start in docker as currently configured. Implement real base+overlay config loading (or restore a full standalone docker config) so there is one source of truth.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-24T02:42:07Z","created_by":"Sam Catlow","updated_at":"2026-07-24T02:44:53Z","started_at":"2026-07-24T02:42:11Z","closed_at":"2026-07-24T02:44:53Z","close_reason":"Implemented config.LoadOverlay (base decode + overlay decode into same struct, then shared finalize/validate), wired -config-overlay flag in cmd/archied, fixed docker-compose.yml to mount both base config.toml and config.docker.toml overlay, minimized config.docker.toml to true diff-only overlay, added tests proving overlay-omitted required fields (bot_user, repos) still come from base.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-u64","title":"Daemon: process multiple tasks concurrently (max_concurrency enforcement)","description":"Daemon currently processes one task at a time (docs/prds/archie-core-v2-architecture.md Phase 2). This is the core blocker between current state and any multi-agent scaling mode — needed before container max_concurrency or same-repo concurrency can matter. Wire the daemon's dispatch loop to run N tasks in parallel, respecting a configurable max_concurrency.","design":"internal/container/pool.go already enforces max_concurrency for container lifecycle — reuse that limit/pattern in the daemon's task dispatch rather than inventing a second concurrency control.","acceptance_criteria":"Daemon dispatch loop runs multiple tasks concurrently up to a configured max_concurrency limit; single-task-at-a-time behavior is gone.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T19:36:31Z","created_by":"Sam Catlow","updated_at":"2026-07-23T21:37:42Z","started_at":"2026-07-23T21:29:41Z","closed_at":"2026-07-23T21:37:42Z","close_reason":"Implemented concurrent SQLite and NATS task dispatch using containers.max_concurrency, with default same-repo serialization and race-tested dispatcher coverage.","dependency_count":0,"dependent_count":2,"comment_count":0}
{"_type":"issue","id":"archie-core-gnr","title":"Regression tests: NellDB adapter — edge cases, error recovery, concurrent access","description":"internal/nell/adapter_test.go has 7 tests covering the happy path. Missing: corrupted log recovery, concurrent Enqueue/ClaimNext, Get/List with empty store, oversized event payloads, context cancellation during operations, observer callback error isolation.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:55Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:24Z","closed_at":"2026-07-25T23:59:24Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-yss","title":"Regression tests: Container pool — volume lifecycle, error paths, concurrent pool access","description":"internal/container/pool_test.go has 3 tests (grace period, JSON output, volume file). Missing: volume cleanup on error, concurrent pool access, container timeout during task, invalid task payload handling, Docker daemon unavailable error path.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:55Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:24Z","closed_at":"2026-07-25T23:59:24Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-ao0","title":"Regression tests: Events bus — multi-subscriber ordering, slow-consumer isolation","description":"internal/events/events.go has only 2 tests (fan-out + close). Missing: multi-subscriber delivery ordering guarantees, slow-consumer isolation (one slow subscriber shouldn't block others), publish-after-close behavior, buffer overflow semantics.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:24Z","closed_at":"2026-07-25T23:59:24Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-y7x","title":"Regression tests: Yaegi extract packages smoke tests (wfextract, gateextract, pluginextract)","description":"Four extract packages have zero tests: internal/workflow/wfextract, internal/gate/gateextract, internal/plugin/pluginextract, and internal/workflow/wfextract. These are Yaegi symbol extractors that generate Go source exposing package symbols to Yaegi scripts. They fail loudly at build time if broken, but minimal smoke tests would catch regressions in the export format (correct symbol names, expected types, no missing exports).","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T23:39:53Z","created_by":"Sam Catlow","updated_at":"2026-07-25T23:59:24Z","closed_at":"2026-07-25T23:59:24Z","close_reason":"Regression tests added for all 8 gap areas: Telegram (split/chat/metadata/middleware), gate (Blocking/Finding/GateContext), NATS RPC (envelope/register/timeout), taskrun approve/cancel (idempotency), yaegi extract smoke tests (3 packages), events bus (ordering/slow-consumer/close), nell adapter (empty/concurrent/cancellation/oversized), container pool (error paths). All tests pass with -race.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.28v","title":"Verify: Context compression: aux model summarization pipeline","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:19Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:19Z","dependencies":[{"issue_id":"archie-core-abg.28v","depends_on_id":"archie-core-abg.28","type":"blocks","created_at":"2026-07-26T00:20:34Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.26v","title":"Verify: API server: OpenAI-compatible REST endpoint for sessions and runs","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:18Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:18Z","dependencies":[{"issue_id":"archie-core-abg.26v","depends_on_id":"archie-core-abg.26","type":"blocks","created_at":"2026-07-26T00:20:35Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.23v","title":"Verify: Delivery system: router, ledger, dead targets, wake","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:17Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:17Z","dependencies":[{"issue_id":"archie-core-abg.23v","depends_on_id":"archie-core-abg.23","type":"blocks","created_at":"2026-07-26T00:20:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.14","title":"Verify: MS Graph webhook adapter: validationToken handshake","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:52Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:52Z","dependencies":[{"issue_id":"archie-core-abg.27.14","depends_on_id":"archie-core-abg.27.7","type":"blocks","created_at":"2026-07-26T00:20:00Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.14","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:51Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.13","title":"Verify: WebhookAdapter: idempotency cache","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:46Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:46Z","dependencies":[{"issue_id":"archie-core-abg.27.13","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:45Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.13","depends_on_id":"archie-core-abg.27.6","type":"blocks","created_at":"2026-07-26T00:20:01Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.12","title":"Verify: WebhookAdapter: deliver_only mode","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:36Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:36Z","dependencies":[{"issue_id":"archie-core-abg.27.12","depends_on_id":"archie-core-abg.27.5","type":"blocks","created_at":"2026-07-26T00:20:02Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.12","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.12","title":"Verify: Job execution claim heartbeat success failure tracking","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:30Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:30Z","dependencies":[{"issue_id":"archie-core-abg.24.12","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:13:30Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.24.12","depends_on_id":"archie-core-abg.24.6","type":"blocks","created_at":"2026-07-26T00:20:13Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.11","title":"Verify: WebhookAdapter: prompt templates with dot-notation","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:27Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:27Z","dependencies":[{"issue_id":"archie-core-abg.27.11","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:27Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.11","depends_on_id":"archie-core-abg.27.4","type":"blocks","created_at":"2026-07-26T00:20:04Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.11","title":"Verify: CronScheduler provider interface","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:26Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:26Z","dependencies":[{"issue_id":"archie-core-abg.24.11","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:13:26Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.24.11","depends_on_id":"archie-core-abg.24.5","type":"blocks","created_at":"2026-07-26T00:20:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.10","title":"Verify: Lifecycle guard reject dangerous commands job specs","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:22Z","dependencies":[{"issue_id":"archie-core-abg.24.10","depends_on_id":"archie-core-abg.24.4","type":"blocks","created_at":"2026-07-26T00:20:16Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.24.10","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:13:22Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.40","title":"Verify: MCP client: per-server parallel tool call opt-in flag","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:20Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:20Z","dependencies":[{"issue_id":"archie-core-abg.17.40","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:13:19Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.40","depends_on_id":"archie-core-abg.17.20","type":"blocks","created_at":"2026-07-26T00:19:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.10","title":"Verify: WebhookAdapter: script transforms","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:20Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:20Z","dependencies":[{"issue_id":"archie-core-abg.27.10","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:20Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.10","depends_on_id":"archie-core-abg.27.3","type":"blocks","created_at":"2026-07-26T00:20:05Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.9","title":"Verify: Blueprint catalog parameterized templates typed slots","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:18Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:18Z","dependencies":[{"issue_id":"archie-core-abg.24.9","depends_on_id":"archie-core-abg.24.3","type":"blocks","created_at":"2026-07-26T00:20:17Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.24.9","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:13:17Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.39","title":"Verify: MCP client: server-initiated sampling","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:16Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:16Z","dependencies":[{"issue_id":"archie-core-abg.17.39","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:13:15Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.39","depends_on_id":"archie-core-abg.17.19","type":"blocks","created_at":"2026-07-26T00:19:58Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.8","title":"Verify: Ticker engine configurable interval parallel sequential pools","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:13Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:13Z","dependencies":[{"issue_id":"archie-core-abg.24.8","depends_on_id":"archie-core-abg.24.2","type":"blocks","created_at":"2026-07-26T00:20:18Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.24.8","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:13:12Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.38","title":"Verify: MCP client: SSE transport","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:11Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:11Z","dependencies":[{"issue_id":"archie-core-abg.17.38","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:13:10Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.38","depends_on_id":"archie-core-abg.17.18","type":"blocks","created_at":"2026-07-26T00:19:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.9","title":"Verify: WebhookAdapter: declarative filters","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:11Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:11Z","dependencies":[{"issue_id":"archie-core-abg.27.9","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:10Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.9","depends_on_id":"archie-core-abg.27.2","type":"blocks","created_at":"2026-07-26T00:20:06Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.7","title":"Verify: Job store JSON file cross-process file locking","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:09Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:09Z","dependencies":[{"issue_id":"archie-core-abg.24.7","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:13:08Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.24.7","depends_on_id":"archie-core-abg.24.1","type":"blocks","created_at":"2026-07-26T00:20:19Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.37","title":"Verify: MCP client: HTTP/StreamableHTTP transport","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:06Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:06Z","dependencies":[{"issue_id":"archie-core-abg.17.37","depends_on_id":"archie-core-abg.17.17","type":"blocks","created_at":"2026-07-26T00:20:03Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.37","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:13:06Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.8","title":"Verify: WebhookAdapter: HTTP server with per-route HMAC validation","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:05Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:05Z","dependencies":[{"issue_id":"archie-core-abg.27.8","depends_on_id":"archie-core-abg.27.1","type":"blocks","created_at":"2026-07-26T00:20:07Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.27.8","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:13:04Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.36","title":"Verify: Multimodal result envelope handling","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:02Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:02Z","dependencies":[{"issue_id":"archie-core-abg.17.36","depends_on_id":"archie-core-abg.17.9","type":"blocks","created_at":"2026-07-26T00:20:15Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.36","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:13:02Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.18","title":"Verify: Rate limiting brute-force lockout escalating delays","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:01Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:13:01Z","dependencies":[{"issue_id":"archie-core-abg.22.18","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:13:01Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.18","depends_on_id":"archie-core-abg.22.9","type":"blocks","created_at":"2026-07-26T00:20:22Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.35","title":"Verify: File checkpointing before mutating operations","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:58Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:58Z","dependencies":[{"issue_id":"archie-core-abg.17.35","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:12:58Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.35","depends_on_id":"archie-core-abg.17.8","type":"blocks","created_at":"2026-07-26T00:20:20Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.17","title":"Verify: Rate limiting per-user limiter configurable window","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:57Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:57Z","dependencies":[{"issue_id":"archie-core-abg.22.17","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:56Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.17","depends_on_id":"archie-core-abg.22.8","type":"blocks","created_at":"2026-07-26T00:20:21Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.16","title":"Verify: SlashAccessPolicy admin non-admin command gating","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:53Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:53Z","dependencies":[{"issue_id":"archie-core-abg.22.16","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:52Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.16","depends_on_id":"archie-core-abg.22.7","type":"blocks","created_at":"2026-07-26T00:20:23Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.10","title":"Verify: systemd notify: sd_notify integration with loop-progress sampling","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:53Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:53Z","dependencies":[{"issue_id":"archie-core-abg.25.10","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:12:53Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.25.10","depends_on_id":"archie-core-abg.25.5","type":"blocks","created_at":"2026-07-26T00:20:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.31","title":"Verify: Code-fence-aware message truncation","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:52Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:52Z","dependencies":[{"issue_id":"archie-core-abg.16.31","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:51Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.31","depends_on_id":"archie-core-abg.16.14","type":"blocks","created_at":"2026-07-26T00:20:30Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.15","title":"Verify: Gateway auth mixin per-platform env var patterns","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:47Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:47Z","dependencies":[{"issue_id":"archie-core-abg.22.15","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:46Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.15","depends_on_id":"archie-core-abg.22.6","type":"blocks","created_at":"2026-07-26T00:20:24Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.9","title":"Verify: Shutdown watchdog: out-of-loop os.Exit backstop","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:46Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:46Z","dependencies":[{"issue_id":"archie-core-abg.25.9","depends_on_id":"archie-core-abg.25.4","type":"blocks","created_at":"2026-07-26T00:20:09Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.25.9","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:12:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.30","title":"Verify: TextBatchAggregator for rapid-fire text events","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:44Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:44Z","dependencies":[{"issue_id":"archie-core-abg.16.30","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:44Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.30","depends_on_id":"archie-core-abg.16.13","type":"blocks","created_at":"2026-07-26T00:20:31Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.14","title":"Verify: Gateway auth mixin layered authorization pipeline","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:43Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:43Z","dependencies":[{"issue_id":"archie-core-abg.22.14","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:43Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.14","depends_on_id":"archie-core-abg.22.5","type":"blocks","created_at":"2026-07-26T00:20:25Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.29","title":"Verify: BasePlatformAdapter interactive UX methods (clarify, approval, pickers)","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:41Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:41Z","dependencies":[{"issue_id":"archie-core-abg.16.29","depends_on_id":"archie-core-abg.16.7","type":"blocks","created_at":"2026-07-26T00:20:32Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.29","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:40Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.8","title":"Verify: Drain control: marker file and instantiation epoch","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:40Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:40Z","dependencies":[{"issue_id":"archie-core-abg.25.8","depends_on_id":"archie-core-abg.25.3","type":"blocks","created_at":"2026-07-26T00:20:10Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.25.8","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:12:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.13","title":"Verify: PairingStore atomic file writes per-platform files","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:39Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:39Z","dependencies":[{"issue_id":"archie-core-abg.22.13","depends_on_id":"archie-core-abg.22.4","type":"blocks","created_at":"2026-07-26T00:20:26Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.13","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.28","title":"Verify: EphemeralReply type with auto-delete TTL","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:37Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:37Z","dependencies":[{"issue_id":"archie-core-abg.16.28","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:12:37Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.28","depends_on_id":"archie-core-abg.16.4","type":"blocks","created_at":"2026-07-26T00:20:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.12","title":"Verify: PairingStore expiry quotas rate limits lockout","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:35Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:35Z","dependencies":[{"issue_id":"archie-core-abg.22.12","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:34Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.12","depends_on_id":"archie-core-abg.22.3","type":"blocks","created_at":"2026-07-26T00:20:27Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.7","title":"Verify: Health endpoint: GET /health and GET /health/detailed","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:33Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:33Z","dependencies":[{"issue_id":"archie-core-abg.25.7","depends_on_id":"archie-core-abg.25.2","type":"blocks","created_at":"2026-07-26T00:20:11Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.25.7","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:12:32Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.11","title":"Verify: PairingStore salted SHA-256 hashing constant-time comparison","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:29Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:29Z","dependencies":[{"issue_id":"archie-core-abg.22.11","depends_on_id":"archie-core-abg.22.2","type":"blocks","created_at":"2026-07-26T00:20:29Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.11","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:29Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.6","title":"Verify: Readiness probes: multi-check subsystem probe","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:26Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:26Z","dependencies":[{"issue_id":"archie-core-abg.25.6","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:12:25Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.25.6","depends_on_id":"archie-core-abg.25.1","type":"blocks","created_at":"2026-07-26T00:20:12Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.10","title":"Verify: PairingStore cryptographic code generation","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:23Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:12:23Z","dependencies":[{"issue_id":"archie-core-abg.22.10","depends_on_id":"archie-core-abg.22.1","type":"blocks","created_at":"2026-07-26T00:20:28Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.22.10","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:12:23Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.20","title":"MCP client: per-server parallel tool call opt-in flag","description":"Add a per-server configuration flag to opt-in to parallel tool calls in the MCP client. When enabled, the client may dispatch multiple tool calls to the same MCP server concurrently. When disabled, all calls to that server are serialized. This respects server-side concurrency limitations.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:15Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:15Z","dependencies":[{"issue_id":"archie-core-abg.17.20","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:08:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.19","title":"MCP client: server-initiated sampling","description":"Implement MCP server-initiated sampling support: when the MCP server sends a sampling request, route it to the LLM and return the sampled response. This enables MCP servers to request LLM completions as part of tool execution (e.g. for sub-agent delegation within a tool).","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:14Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:14Z","dependencies":[{"issue_id":"archie-core-abg.17.19","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:08:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.18","title":"MCP client: SSE transport","description":"Implement MCP SSE (Server-Sent Events) transport: establish SSE connection to MCP servers, handle event stream parsing, manage reconnection with backoff, and translate SSE events to the unified MCP transport interface. This enables real-time streaming from MCP servers.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:13Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:13Z","dependencies":[{"issue_id":"archie-core-abg.17.18","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:08:13Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.7","title":"MS Graph webhook adapter: validationToken handshake","description":"Implement MS Graph webhook adapter with validationToken handshake for subscription verification, clientState verification, and CIDR IP allowlisting.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:12Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:12Z","dependencies":[{"issue_id":"archie-core-abg.27.7","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:08:11Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.6","title":"WebhookAdapter: idempotency cache","description":"Implement TTL-based idempotency cache to deduplicate retried webhook deliveries. Cache based on webhook event ID and route.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:11Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:11Z","dependencies":[{"issue_id":"archie-core-abg.27.6","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:08:10Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.5","title":"WebhookAdapter: deliver_only mode","description":"Implement deliver_only mode that skips agent processing and directly renders the prompt template as a deliverable (e.g. plain text, HTML, JSON response).","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:08Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:08Z","dependencies":[{"issue_id":"archie-core-abg.27.5","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:08:07Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.17","title":"MCP client: HTTP/StreamableHTTP transport","description":"Implement MCP HTTP/StreamableHTTP transport: make JSON-RPC requests over HTTP/HTTPS with support for streamable HTTP responses. Handle connection lifecycle, keep-alive, reconnection, and error classification for remote MCP servers accessed via HTTP.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:05Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:05Z","dependencies":[{"issue_id":"archie-core-abg.17.17","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:08:05Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.4","title":"WebhookAdapter: prompt templates with dot-notation","description":"Implement prompt template system with dot-notation variable interpolation ({pull_request.title}, {__raw__}) for building dynamic prompts from webhook payloads.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:02Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:02Z","dependencies":[{"issue_id":"archie-core-abg.27.4","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:08:01Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.3","title":"WebhookAdapter: script transforms","description":"Support external script transforms per route. Allow bash/python scripts to transform incoming webhook payloads before processing.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:01Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:01Z","dependencies":[{"issue_id":"archie-core-abg.27.3","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:08:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.2","title":"WebhookAdapter: declarative filters","description":"Implement declarative webhook filters with operators: all/any/not, field resolution, equals/contains/regex comparisons, and in_file lookups.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:00Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:08:00Z","dependencies":[{"issue_id":"archie-core-abg.27.2","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:07:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27.1","title":"WebhookAdapter: HTTP server with per-route HMAC validation","description":"Implement WebhookAdapter as an HTTP server supporting per-route HMAC validation: GitHub X-Hub-Signature-256, GitLab X-Gitlab-Token, and a generic V2 timestamp-bound HMAC scheme.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:59Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:59Z","dependencies":[{"issue_id":"archie-core-abg.27.1","depends_on_id":"archie-core-abg.27","type":"parent-child","created_at":"2026-07-26T00:07:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.5","title":"systemd notify: sd_notify integration with loop-progress sampling","description":"Integrate sd_notify (systemd service notification) to signal readiness and watchdog status. Sample loop progress to periodically send WATCHDOG=1 notifications.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:55Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:55Z","dependencies":[{"issue_id":"archie-core-abg.25.5","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:07:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.3","title":"Drain control: marker file and instantiation epoch","description":"Implement drain control using a .drain_request.json marker file. Validate against instantiation epoch to distinguish stale drain requests from current ones.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:54Z","dependencies":[{"issue_id":"archie-core-abg.25.3","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:07:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.4","title":"Shutdown watchdog: out-of-loop os.Exit backstop","description":"Implement a shutdown watchdog with out-of-loop os.Exit as a backstop. After drain timeout, wait 60s grace period then force-exit to prevent hung processes.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:54Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:54Z","dependencies":[{"issue_id":"archie-core-abg.25.4","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:07:54Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.1","title":"Readiness probes: multi-check subsystem probe","description":"Implement readiness probes for: state_db (read-only probe), config (parse check), disk usage (\u003c90%), model (configured), and gateway state (connected adapters).","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:52Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:52Z","dependencies":[{"issue_id":"archie-core-abg.25.1","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:07:51Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25.2","title":"Health endpoint: GET /health and GET /health/detailed","description":"Implement GET /health (simple liveness check) and GET /health/detailed (authenticated, returns per-subsystem readiness status with individual probe results).","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:52Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:52Z","dependencies":[{"issue_id":"archie-core-abg.25.2","depends_on_id":"archie-core-abg.25","type":"parent-child","created_at":"2026-07-26T00:07:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.6","title":"Job execution: claim, heartbeat, success/failure tracking","description":"Implement job execution lifecycle: claim jobs to prevent duplicate execution, send heartbeats during execution, and track success/failure outcomes via the delivery router.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:48Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:48Z","dependencies":[{"issue_id":"archie-core-abg.24.6","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:07:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.5","title":"CronScheduler provider interface","description":"Define the CronScheduler provider interface with methods: name(), start(stop_event, adapters, loop, interval). This is the plugin contract for scheduler implementations.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:47Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:47Z","dependencies":[{"issue_id":"archie-core-abg.24.5","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:07:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.9","title":"Multimodal result envelope handling","description":"Implement a multimodal result envelope type (is_multimodal flag, text summary, subdir hint). When tools return multimodal content (images, audio, video, documents), wrap the result in an envelope that provides a text summary for context-feed while storing the actual media at a hinted subdirectory path.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:44Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:44Z","dependencies":[{"issue_id":"archie-core-abg.17.9","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.4","title":"Lifecycle guard: reject dangerous commands in job specs","description":"Implement lifecycle guard to reject dangerous commands in job cron specs, including gateway restart, systemctl, launchctl, pkill and similar operations.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:43Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:43Z","dependencies":[{"issue_id":"archie-core-abg.24.4","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:07:42Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.3","title":"Blueprint catalog: parameterized templates with typed slots","description":"Implement a catalog of parameterized job templates with typed slots: time, enum, text, weekdays. Include form schema for UI generation.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:42Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:42Z","dependencies":[{"issue_id":"archie-core-abg.24.3","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:07:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.2","title":"Ticker engine: configurable interval, parallel/sequential pools","description":"Implement ticker engine with configurable check interval and support for both parallel and sequential thread pools for job execution.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:41Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:41Z","dependencies":[{"issue_id":"archie-core-abg.24.2","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:07:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24.1","title":"Job store: JSON file with cross-process file locking","description":"Implement per-profile job store using JSON file at ~/.archie/cron/jobs.json with cross-process file locking via fcntl to prevent concurrent access.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:40Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:40Z","dependencies":[{"issue_id":"archie-core-abg.24.1","depends_on_id":"archie-core-abg.24","type":"parent-child","created_at":"2026-07-26T00:07:40Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.17.8","title":"File checkpointing before mutating operations","description":"Implement file checkpointing: before any tool that modifies state (file writes, config changes, etc.) executes, snapshot the relevant files or state sections so they can be rolled back on failure. This provides safety guards for mutating tool operations.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:38Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:38Z","dependencies":[{"issue_id":"archie-core-abg.17.8","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T00:07:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.8","title":"Rate limiting: per-user limiter with configurable window","description":"Implement a per-user rate limiter with configurable time window and max requests. Track usage per user/platform combination.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:36Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:36Z","dependencies":[{"issue_id":"archie-core-abg.22.8","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:35Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.9","title":"Rate limiting: brute-force lockout with escalating delays","description":"Implement brute-force lockout mechanism with escalating delay intervals on successive failures, integrated with the pairing system.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:36Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:36Z","dependencies":[{"issue_id":"archie-core-abg.22.9","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.7","title":"SlashAccessPolicy: admin/non-admin command gating","description":"Implement SlashAccessPolicy with allow_admin_from and user_allowed_commands settings to gate slash commands by user role.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:35Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:35Z","dependencies":[{"issue_id":"archie-core-abg.22.7","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:34Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.6","title":"Gateway auth mixin: per-platform env var patterns","description":"Support per-platform env var patterns for allowed users, e.g. TELEGRAM_ALLOWED_USERS, DISCORD_ALLOWED_USERS, SLACK_ALLOWED_USERS, etc.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:34Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:34Z","dependencies":[{"issue_id":"archie-core-abg.22.6","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:34Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.5","title":"Gateway auth mixin: layered authorization pipeline","description":"Implement GatewayAuthorizationMixin with layered auth: allowlists → role auth → relay delegation → pairing → deny, as a composable middleware for the gateway.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:33Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:33Z","dependencies":[{"issue_id":"archie-core-abg.22.5","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:32Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.4","title":"PairingStore: atomic file writes with per-platform files","description":"Implement atomic file writes (write to temp, rename) with chmod 0600. Store per-platform state in pending.json, approved.json, rate_limits.json files.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:32Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:32Z","dependencies":[{"issue_id":"archie-core-abg.22.4","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:31Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.3","title":"PairingStore: expiry, quotas, rate limits, lockout","description":"Implement 1-hour code expiry, max 3 pending codes per platform, rate limit of 1 request per 10 minutes per user, and lockout after 5 failed attempts.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:30Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:30Z","dependencies":[{"issue_id":"archie-core-abg.22.3","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:30Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.1","title":"PairingStore: cryptographic code generation","description":"Generate 8-character pairing codes from a 32-char unambiguous alphabet (excluding 0, O, 1, I) using crypto/rand.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:29Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:29Z","dependencies":[{"issue_id":"archie-core-abg.22.1","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:28Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22.2","title":"PairingStore: salted SHA-256 hashing with constant-time comparison","description":"Hash pairing codes with salted SHA-256 and compare using crypto/subtle.ConstantTimeCompare (secrets.compare_digest equivalent in Go).","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:29Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:07:29Z","dependencies":[{"issue_id":"archie-core-abg.22.2","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T00:07:29Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.13","title":"TextBatchAggregator for rapid-fire text events","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:56Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:56Z","dependencies":[{"issue_id":"archie-core-abg.16.13","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.14","title":"Code-fence-aware message truncation","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:56Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:56Z","dependencies":[{"issue_id":"archie-core-abg.16.14","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.7","title":"BasePlatformAdapter interactive UX methods (clarify, approval, pickers)","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:50Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:50Z","dependencies":[{"issue_id":"archie-core-abg.16.7","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.16.4","title":"EphemeralReply type with auto-delete TTL","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:06:48Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:06:48Z","dependencies":[{"issue_id":"archie-core-abg.16.4","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-26T00:06:48Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.27","title":"Webhook platform: generic inbound adapter with HMAC + filters + templates","description":"Generic webhook platform adapter:\\n\\n1. **HTTP server**: Receives POSTs from external services (GitHub, GitLab, Stripe, etc.). Per-route configuration.\\n2. **HMAC validation**: GitHub (X-Hub-Signature-256), GitLab (X-Gitlab-Token), Svix/AgentMail, generic V2 (timestamp-bound replay protection), legacy V1.\\n3. **Declarative filters**: all/any/not, field resolution (dot-notation), equals/contains/regex, in_file.\\n4. **Script transforms**: External bash/python scripts per route that transform or filter payloads.\\n5. **Prompt templates**: Dot-notation template rendering from webhook payloads ({pull_request.title}).\\n6. **deliver_only mode**: Skip agent, render prompt as deliverable message (push notifications at zero LLM cost).\\n7. **Idempotency cache**: TTL-based dedup of webhook retries.\\n\\nRef: docs/prds/hermes-gap-analysis.md (webhook.py, webhook_filters.py, msgraph_webhook.py)","acceptance_criteria":"A GitHub webhook lands on /webhooks/github, passes HMAC validation, renders a prompt from the PR payload, and the agent responds. Duplicate deliveries are deduped.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:03:03Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:03:03Z","dependencies":[{"issue_id":"archie-core-abg.27","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:03:03Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.28","title":"Context compression: aux model summarization pipeline","description":"Conversation compression pipeline:\\n\\n1. **Auxiliary model client**: Dedicated cheap/fast model for summarization. Probes context window feasibility at startup.\\n2. **Compression templates**: Structured summaries with Resolved/Pending question tracking. Head and tail context protection.\\n3. **Iterative summary merging**: Multiple compression rounds, tool output pruning before LLM summarization.\\n4. **Session splitting**: Rotate session_id on compression, link child → parent.\\n5. **Image size recovery**: Re-encode oversized base64 images at smaller size.\\n6. **Pluggable context engine**: ABC with should_compress/compress/on_session_end lifecycle for third-party replacements.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 1.2 (conversation_compression.py, context_compressor.py, context_engine.py)","acceptance_criteria":"When a conversation approaches context limit, the auxiliary model summarizes middle turns. Session rotates to a child session. The agent continues without losing context.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:03:03Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:03:03Z","dependencies":[{"issue_id":"archie-core-abg.28","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:03:03Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.25","title":"Operations: readiness probes + drain control + systemd notify","description":"Production operations infrastructure:\\n\\n1. **Readiness probes**: Multi-check system — state_db (read-only probe), config (parse check), disk (\u003c90%), model (configured), gateway (running/draining + connected count). Return overall ok or degraded.\\n2. **Drain control**: Marker file (~/.archie/.drain_request.json) for external drain triggers. Instantiation epoch (boot_id + PID 1 start time) to distinguish restart types.\\n3. **Shutdown watchdog**: Out-of-loop os.Exit backstop if shutdown exceeds leash (drain timeout + 60s grace).\\n4. **systemd notify**: sd_notify integration — watchdog with loop-progress sampling, ready status on startup.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 9-10 (readiness.py, drain_control.py, shutdown_watchdog.py, systemd_notify.py)","acceptance_criteria":"GET /health returns JSON with per-subsystem status. systemd watchdog fires if the event loop stalls. Drain requests initiate graceful shutdown.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:48Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:48Z","dependencies":[{"issue_id":"archie-core-abg.25","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.26","title":"API server: OpenAI-compatible REST endpoint for sessions and runs","description":"OpenAI-compatible REST API for external tool integration:\\n\\n1. **Chat Completions**: POST /v1/chat/completions — stateless, with X-Hermes-Session-Id for continuity.\\n2. **Responses API**: POST /v1/responses — stateful via previous_response_id.\\n3. **Sessions**: CRUD + fork for session management.\\n4. **Runs**: POST /v1/runs (returns run_id immediately), GET /v1/runs/{id} (status), GET /v1/runs/{id}/events (SSE stream), POST /v1/runs/{id}/approval and /stop (resolve or interrupt).\\n5. **Models**: GET /v1/models — list configured models.\\n6. **Health**: GET /health (simple), GET /health/detailed (authenticated readiness).\\n\\nThis enables Open WebUI, LobeChat, and other OpenAI-compatible frontends to use archie-core as a backend.\\n\\nRef: docs/prds/hermes-gap-analysis.md (api_server.py)","acceptance_criteria":"curl -X POST /v1/chat/completions with a model and messages returns a streaming response. Sessions persist across requests via session ID. Runs can be stopped mid-execution.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:48Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:48Z","dependencies":[{"issue_id":"archie-core-abg.26","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:48Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.23","title":"Delivery system: router, ledger, dead targets, wake","description":"Outbound message delivery infrastructure built on NATS JetStream (already provides guaranteed delivery, dead-letter queues, ack/nak, dedup — no need for a separate actor engine like Hollywood).\\n\\n1. **DeliveryTarget**: Parse strings like 'telegram:12345' or 'discord:channel:thread'. Resolve to platform adapter.\\n2. **DeliveryRouter**: Route content to configured targets, handle truncation, silence-narration filtering.\\n3. **DeliveryLedger**: JetStream consumer with max-deliver=3, ack-wait configurable per target. Crash recovery via NATS redelivery (no separate SQLite ledger needed).\\n4. **DeadTargetRegistry**: Persistent JSON tracking of confirmed-dead targets (deleted groups, kicked bots). Self-healing on successful send.\\n5. **Wake delivery**: Use NATS request/reply for async delivery to push-capable adapters.","acceptance_criteria":"A cron job can schedule a message for delivery. If the target is unreachable, the ledger retries. If the bot is kicked from a group, the target is registered dead and skipped.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:47Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:05:27Z","dependencies":[{"issue_id":"archie-core-abg.23","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.24","title":"Cron/scheduling: job store, ticker, blueprints","description":"Scheduled automation system:\\n\\n1. **Job store**: JSON file per profile (~/.archie/cron/jobs.json) with cross-process file locking. CRUD operations.\\n2. **Ticker engine**: Configurable interval, parallel/sequential thread pools, delivery resolution via DeliveryRouter.\\n3. **Blueprints**: Parameterized automation templates with typed slots (time, enum, text, weekdays). Form schema for CLI/gateway consumption.\\n4. **Lifecycle guard**: Rejects cron job specs containing dangerous commands (gateway restart, systemctl, launchctl, pkill).\\n\\nRef: docs/prds/hermes-gap-analysis.md section 1 (cron/)","acceptance_criteria":"A cron job can be created to send a daily status summary. Jobs persist across restarts. Dangerous commands are rejected at creation time.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:47Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:47Z","dependencies":[{"issue_id":"archie-core-abg.24","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:47Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.22","title":"Security: pairing device auth + per-platform authorization","description":"Authorization infrastructure to match Hermes parity:\\n\\n1. **PairingStore**: Cryptographic code generation (8-char from 32-char unambiguous alphabet, no 0/O/1/I), salted SHA-256 hashing, constant-time comparison, 1-hour expiry, rate limiting (1/10min per user), lockout after 5 failures. File-backed with atomic writes (chmod 0600).\\n\\n2. **Auth mixin**: Layered authorization for gateway messages: per-platform allowlists → role auth → relay delegation → pairing store → deny. Per-platform env var patterns (TELEGRAM_ALLOWED_USERS, DISCORD_ALLOWED_USERS, etc.).\\n\\n3. **Slash command access**: Admin/non-admin command gating. Admin users (allow_admin_from) get all commands. Non-admin get user_allowed_commands. help and whoami always allowed.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 5","acceptance_criteria":"Unknown users receive a pairing code instead of agent access. Admin users can run all slash commands. Unauthorized users get a configurable response (pair or ignore).","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:46Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:02:46Z","dependencies":[{"issue_id":"archie-core-abg.22","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:02:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.13","title":"Chat channel write actions: spawn/approve/cancel through daemon review gate","description":"Follow-up to archie-core-abg.5 (channel interface + read-only Telegram). Define the semantics for chat-triggered dispatch (there is no Gitea issue behind a chat-initiated task -- needs its own store/task creation path) and wire /spawn, /approve, /cancel slash commands through the same daemon review/gatekeeping that issue-driven dispatch uses. Blocked on abg.5 (interface must exist first) and should be sequenced after multi-identity daemon core (abg.4) settles how identity maps to chat sessions.","acceptance_criteria":"A chat slash command can create and dispatch a real task (not just query existing state), going through daemon-side permission checks in code, not agent prompt instructions. /approve and /cancel act on in-flight tasks.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:19:46Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:54:07Z","started_at":"2026-07-25T13:50:16Z","closed_at":"2026-07-25T13:54:07Z","close_reason":"/spawn implemented: TaskCreator interface, StoreTaskCreator wrapping daemon store, synthetic issue numbers for chat tasks. Gateway-local (no LLM). Wired into main.go gateway startup. /approve and /cancel deferred to follow-up.","dependencies":[{"issue_id":"archie-core-abg.13","depends_on_id":"archie-core-abg.5","type":"blocks","created_at":"2026-07-25T23:19:52Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.13","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:19:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.5","title":"Chat channel plugin interface + Telegram channel","description":"No chat/messaging code exists today (confirmed: grep for Telegram across the repo returns nothing outside a skills-PRD example). Define a chat channel plugin interface (parallel to forge.Forge) and implement Telegram as the first channel, with a read-only /status command reading daemon/task state. Full spawn/control action parity (the write side of the interview requirement) is split into archie-core-abg.13 since it needs its own task-creation semantics for chat-initiated (non-issue-backed) tasks. Per docs/prds/multi-agent-collaboration.md phase C.","acceptance_criteria":"A chat.Channel interface exists (Name, Listen, Send or similar) implemented by a Telegram channel using the Bot HTTP API (long polling, no new heavy dependency). Sam can message the bot /status and get a real answer about current daemon/task state. Channel is wired into daemon startup behind an optional [chat] config block (absent = disabled, matching the [nats]/[containers] pattern).","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:09Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:32:21Z","started_at":"2026-07-25T13:19:29Z","closed_at":"2026-07-25T13:32:21Z","close_reason":"Delivered: internal/gateway/gateway.go defines the Gateway interface, Router, and gateway-local command routing (per Hermes architecture). internal/channels/telegram/telegram.go ports GopherClaw's go-telegram/bot integration with webhook support, middleware, allowed-chat filtering, and long-message splitting. Gateway-local commands /status and /help handled directly (no LLM). Wired into cmd/archied/main.go behind [chat.telegram] config block (optional, absent = disabled). Full test coverage. Build + full suite green. Write actions (/spawn, /approve, /cancel) deferred to abg.13.","dependencies":[{"issue_id":"archie-core-abg.5","depends_on_id":"archie-core-abg.2","type":"blocks","created_at":"2026-07-25T23:18:34Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.5","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":4,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.3","title":"Design pass: multi-identity daemon config shape","description":"Config.BotUser (internal/config) is a single global field -- the root blocker for running multiple bot identities (archie, winter) in one daemon instead of N processes. docs/prds/multi-agent-collaboration.md sec.4 sketches a [[identities]] TOML shape but flags the open question unresolved: does each identity get its own poll loop/goroutine feeding shared NATS/container dispatch, or does one loop iterate all identities? Needs a short design doc answering this before Phase B implementation starts, since it affects rate-limit isolation between identities.","acceptance_criteria":"A design note (added to multi-agent-collaboration.md or a new doc) confirms the identity config shape and the poll-loop-per-identity vs single-loop decision, with reasoning tied to failure isolation (one identity's forge outage must not starve another's dispatch).","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:17:57Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:34:09Z","started_at":"2026-07-25T13:33:02Z","closed_at":"2026-07-25T13:34:09Z","close_reason":"Design answer written to docs/prds/multi-agent-collaboration.md: per-identity goroutine with shared infrastructure (store, NATS connection, container pool, event bus, web UI, plugin registry, gateway). Each identity gets its own forge client, worktree manager, config subset, and NATS subject namespace. Failure isolation confirmed as the driving requirement.","dependencies":[{"issue_id":"archie-core-abg.3","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:17:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.4","title":"Implement multi-identity daemon core (archie + winter as one process)","description":"Replace single Config.BotUser with the confirmed multi-identity config shape. Daemon runs multiple bot identities concurrently (each with its own forge token, repo list, model/provider config), dispatching through the existing shared NATS/container pipeline. Validate by migrating the two real carina processes (archie: bot_user=archie, repos=[archie-core,tau], deepseek models; winter: bot_user=winter, repos=[tau], local llama.cpp models) onto one daemon. Per docs/prds/multi-agent-collaboration.md phase B.","acceptance_criteria":"One archied process on carina replaces the current two (archie config.toml + winter.toml), producing the same dispatch behavior (issue polling, task claiming, PR flow) for both identities as the two separate processes did. No regression in existing single-identity config compatibility (old single-BotUser configs still work or have a documented migration path).","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:17:57Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:39:30Z","started_at":"2026-07-25T13:34:09Z","closed_at":"2026-07-25T13:39:30Z","close_reason":"Implemented: config.IdentityConfig (per-identity TOML [[identities]]), Config.Identities array with backward compat (empty = legacy single-identity), daemon.IdentityRunner + NewIdentityRunner, daemon.Run() multi-identity goroutine-per-identity poll loop with failure isolation, cycleForIdentity() per-identity poll+drain. Tests parameterized (no hardcoded identity names). Full suite green. NATS subject prefixing and identity_name store column deferred to a follow-up issue.","dependencies":[{"issue_id":"archie-core-abg.4","depends_on_id":"archie-core-abg.3","type":"blocks","created_at":"2026-07-25T23:18:34Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.4","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:17:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-mjj","title":"Consolidate 6 duplicated Yaegi interpreter bootstraps","description":"internal/gate/gateeval/yaegi.go, internal/workflow/wfeval/yaegi.go, internal/workflow/skillbuild/skillbuild.go, internal/skillscript/yaegi.go, internal/plugin/plugin.go, internal/skill/plugin.go each hand-roll interp.New/i.Use(stdlib.Symbols)/panic-recovery. Extract a shared helper (new package, e.g. internal/yaegiutil) for interpreter construction + panic-safe eval, used by all six.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-24T02:42:07Z","created_by":"Sam Catlow","updated_at":"2026-07-24T02:49:56Z","closed_at":"2026-07-24T02:49:56Z","close_reason":"Added internal/yaegiutil (New for interpreter+symbol bootstrap, Resolve[T] for eval+type-assert an export, Safe[R] for panic recovery) and migrated all 6 call sites (gate/gateeval, workflow/wfeval, workflow/skillbuild, skillscript, plugin, skill) to use it, removing the duplicated interp.New/stdlib.Symbols/recover boilerplate from each. Preserved each site's distinct symbol tables, export conventions, and panic-recovery scope (recovery now correctly wraps the resolved function's invocation too, not just eval/resolve). All existing tests pass; added yaegiutil_test.go.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-p9h","title":"Consolidate duplicated NATS RPC client/server boilerplate","description":"internal/storerpc/storerpc.go, internal/worktreerpc/worktreerpc.go, internal/forgerpc/forgerpc.go each reimplement near-identical timeout/marshal/error-envelope helpers for NATS request/reply RPC. Extract shared helpers into a common package.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-24T02:42:07Z","created_by":"Sam Catlow","updated_at":"2026-07-24T02:53:05Z","started_at":"2026-07-24T02:50:00Z","closed_at":"2026-07-24T02:53:05Z","close_reason":"Added internal/natsrpc (Client.Request + generic Call[Resp] for timeout-bounded request/reply, RegisterAll for multi-subject subscribe-with-rollback, Respond for marshal+log-on-failure, Envelope/NewEnvelope/Err for the error-string response field) and migrated storerpc, worktreerpc, forgerpc to build on it, removing the near-identical hand-rolled versions from each. Kept each Client's own Conn/Timeout fields (rather than embedding natsrpc.Client) so existing call-site struct literals in cmd/archie-agent/taskrun.go and cmd/archied/main.go didn't need to change. go build ./... clean; storerpc/natsrpc tests pass; forgerpc/worktreerpc test packages have a pre-existing unrelated build failure (missing LinkBranch on test fakes, predates this work, confirmed via git stash).","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.1","title":"Discovery session: interview to produce multi-agent collaboration PRD","description":"Sam has no implementation approach in mind yet for multi-agent collaboration. Run a structured discovery interview (an agent grilling Sam with scoped questions, one round at a time — not guessing or proposing a design upfront) to extract: the concrete use cases driving this (what does 'multiple agents working in combination' look like day to day?), constraints from the existing archie-core architecture (daemon/worktree/dispatch/RPC boundaries built in the 5zh epic), and what's explicitly out of scope. Write the findings up as docs/prds/multi-agent-collaboration.md.","acceptance_criteria":"docs/prds/multi-agent-collaboration.md exists, reflects Sam's actual answers (not assumptions), and is detailed enough that a future implementation session could break it into scoped, dependency-ordered beads issues the way the 5zh epic was.","notes":"Start the discovery interview from this framing: today's workaround is N independent archied processes; the target is 1 daemon doing what N processes do. Confirm whether that's the whole scope (daemon-side concurrency/orchestration) or whether it also implies agents working on *different* repos/configs than a single [[repos]] list currently supports (today one archied instance is bound to one config.toml with one set of repos — do the 2 running daemons today have different repo lists, different bot identities, or the same repos with different task subsets?).","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-24T00:39:16Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:41Z","started_at":"2026-07-25T13:04:53Z","closed_at":"2026-07-25T13:18:41Z","close_reason":"docs/prds/multi-agent-collaboration.md written from interview answers; scope confirmed with archie/winter config diff; broken into dependency-ordered issues archie-core-abg.2 through .12 under the epic.","dependencies":[{"issue_id":"archie-core-abg.1","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-24T10:39:15Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-x96.1","title":"Discovery session: interview to produce agent personas PRD","description":"Sam has no implementation approach in mind yet for agent personas. Run a structured discovery interview (an agent grilling Sam with scoped questions, one round at a time) to extract: what a persona means concretely for this project, how it should relate to (or reuse) the existing skill/workflow system, whether personas are a prerequisite for or dependent on the multi-agent collaboration work, and what's explicitly out of scope. Write the findings up as docs/prds/agent-personas.md.","acceptance_criteria":"docs/prds/agent-personas.md exists, reflects Sam's actual answers (not assumptions), and is detailed enough that a future implementation session could break it into scoped, dependency-ordered beads issues the way the 5zh epic was.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-24T00:39:16Z","created_by":"Sam Catlow","updated_at":"2026-07-24T00:39:16Z","dependencies":[{"issue_id":"archie-core-x96.1","depends_on_id":"archie-core-x96","type":"parent-child","created_at":"2026-07-24T10:39:16Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg","title":"Multi-agent collaboration: many agents working together","description":"Support multiple agents working in combination — not just one agent per task in isolation, but agents coordinating with each other (e.g. on the same repo, the same task, or a decomposed set of related tasks). Scope, coordination model, and conflict-avoidance strategy are all undefined — this is exploratory. No implementation approach has been decided yet.","acceptance_criteria":"A PRD exists (docs/prds/) covering: what 'multiple agents working in combination' means concretely for archie-core, how agents discover/hand off work to each other, how conflicts (same repo, same worktree, shared state) are avoided or resolved, and what changes to daemon/workflow/dispatch are implied. No code changes required to close this epic — the PRD is the deliverable.","notes":"CORRECTION (2026-07-24, verified by inspecting the live configs on carina): the 2 running daemons are NOT split by repo — both poll sam/tau (one also polls sam/archie-core), with dispatch.trigger=\"assignee\". They're split by BOT IDENTITY: config.toml has bot_user=\"archie\", winter.toml has bot_user=\"winter\". Each daemon polls only issues assigned to its own bot_user. Config.BotUser is a single global field today (internal/config/config.go), so one daemon process = exactly one assignable identity — this is NOT solvable by merging [[repos]] lists.\n\nReal scope: one daemon capable of running multiple distinct bot identities concurrently, each polling/claiming/labeling/commenting as itself, potentially across overlapping repos. This is materially different from (and more interesting than) the 'just consolidate configs' fix I originally suggested — it's genuinely a multi-agent-identity problem, not a repo-dispatch problem. Start the discovery interview from here.","status":"open","priority":2,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-24T00:39:05Z","created_by":"Sam Catlow","updated_at":"2026-07-24T00:52:59Z","dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-x96","title":"Agent personas: specialized agents for specific task types","description":"Build on multi-agent collaboration with the concept of agent personas — agents with distinct roles/specializations (e.g. a reviewer persona, a security-focused persona, a specific-language expert persona) that perform specific kinds of tasks rather than one generic agent handling everything. Related to but separable from the multi-agent collaboration epic — personas could exist for single-agent-at-a-time dispatch too (picking the right persona for a task), or become one of the participants in multi-agent collaboration.","acceptance_criteria":"A PRD exists (docs/prds/) covering: what a persona is (system prompt variant? skill-bundle variant? separate model/config?), how a task gets routed to the right persona, how personas relate to the existing skill/workflow system (internal/skill, internal/workflow), and whether personas need to exist before or after multi-agent collaboration lands. No code changes required to close this epic — the PRD is the deliverable.","status":"open","priority":2,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-24T00:39:05Z","created_by":"Sam Catlow","updated_at":"2026-07-24T00:39:05Z","dependencies":[{"issue_id":"archie-core-x96","depends_on_id":"archie-core-abg","type":"blocks","created_at":"2026-07-24T10:41:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.7","title":"archie-agent: run full task (workflow.Route + workflow.Run) via RPC-backed TaskContext","description":"The actual stage-loop move for archie-core-5zh, depending on the TaskConfig payload and TaskContext interface refactor. cmd/archie-agent gains a handler for a new 'run whole task' NATS message (task summary + TaskConfig + repo config, no secrets). On receipt it: builds its own workflow.Registry via skillbuild.BuildRegistry against its mounted worktree (/data/worktree — same pattern the daemon already uses, no registry needs to cross the wire); calls workflow.Route itself; builds a TaskContext using storerpc.Client (Store), forgerpc.Client (Forge), and a hybrid Trees (worktreerpc.Client for Prepare/Push, a local *worktree.Manager with no token for CommitAll/Diff/ChangedFiles/ChangedLines against the bind-mounted dir); calls workflow.Run; reports completion once instead of round-tripping per stage.","acceptance_criteria":"When agent.mode=nats and containers are enabled, archie-agent runs an entire task's workflow (all stages) per invocation, not one stage per round trip; inprocess/subprocess modes are unaffected.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-23T22:28:00Z","created_by":"Sam Catlow","updated_at":"2026-07-23T23:08:11Z","closed_at":"2026-07-23T23:08:11Z","close_reason":"Added internal/taskrun (Request/Response wire types + SubjectForTask) and cmd/archie-agent/taskrun.go: runTask builds a workflow.Registry from the container's own bind-mounted worktree (skillbuild.BuildRegistry, same call the daemon already makes), routes and runs the task's entire workflow via workflow.Route/workflow.Run, using storerpc.Client/forgerpc.Client for Store/Forge and a new hybridTrees (worktreerpc.Client for Prepare/Push, local *worktree.Manager for CommitAll/Diff/ChangedFiles/ChangedLines against the mount). Added config.TaskConfig.ToConfig() to rebuild a usable config.Config from the curated payload. Added storage.WorktreeMountDir constant (/data/worktree) — critical fix: hybridTrees.Prepare discards the RPC response's host-side directory and returns the container's fixed local mount path instead, since archied and archie-agent see the same files at different paths. Wired a queue-grouped core-NATS subscription on archie.taskrun.\u003e in cmd/archie-agent/main.go so this is reachable in the running binary, not just testable in isolation. End-to-end test drives the real 'bootstrap' workflow (no LLM) through real storerpc/forgerpc/worktreerpc servers and a real local git remote, proving the full chain: registry build, route, prepare, commit, push, PR creation, and that the authoritative task state lands in archied's store via RPC. archie-core-5zh.8 (daemon.go handoff) is now unblocked — it owns deciding exactly how/when archied publishes to archie.taskrun.\u003cid\u003e.","dependencies":[{"issue_id":"archie-core-5zh.7","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T08:27:59Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.7","depends_on_id":"archie-core-5zh.5","type":"blocks","created_at":"2026-07-24T08:28:07Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.7","depends_on_id":"archie-core-5zh.6","type":"blocks","created_at":"2026-07-24T08:28:07Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":2,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.8","title":"daemon.go: hand off whole task to archie-agent in sandboxed NATS+container mode","description":"Depends on the archie-agent full-task handler existing. internal/daemon/daemon.go's process() currently always calls workflow.Route/workflow.Run itself, dispatching per-stage LLM calls to d.Agent (NATSRunner does this over NATS today). When d.Nats != nil \u0026\u0026 d.ContainerPool != nil (the sandboxed path this whole PRD phase targets), process() should instead publish one 'run whole task' message to archie-agent and await its completion report, skipping local workflow.Route/workflow.Run entirely. inprocess/subprocess modes (no container pool) keep calling workflow.Run in the daemon exactly as today — this only changes behavior for the fully-sandboxed path.","acceptance_criteria":"With containers enabled, daemon.process() delegates the entire task to archie-agent in one round trip; without containers, behavior is unchanged (verified by existing daemon tests continuing to pass).","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-23T22:28:00Z","created_by":"Sam Catlow","updated_at":"2026-07-23T23:14:48Z","closed_at":"2026-07-23T23:14:48Z","close_reason":"daemon.process() now branches on d.ContainerPool != nil: sandboxed tasks get handed to archie-agent via a new runViaAgent method (publishes taskrun.Request to archie.taskrun.\u003cid\u003e, awaits taskrun.Response) instead of calling workflow.Route/workflow.Run locally; non-container mode is unchanged. runViaAgent only parks the task itself on transport/setup failure (encode error, no responder, decode error, or an error returned before archie-agent's workflow.Run got to run) — on success, every durable side effect already landed via the storerpc/forgerpc/worktreerpc proxies during archie-agent's run, so runViaAgent just logs. Added agentexec.ProvidersFromConfig (deduped from cmd/archied's former executionProviders). Also fixed a real correctness gap this surfaced: with concurrent multi-task dispatch (u64/g1l) plus containerized archie-agent, the 5zh.7 wildcard queue-group subscription could let one container answer a sibling's taskrun message despite having a different task's worktree mounted. archie-agent now reads its boot-time task.json (container.TaskPayload, already written by daemon.process() before container acquire) and subscribes to its own exact archie.taskrun.\u003cid\u003e subject when present, falling back to the shared queue group only when no task.json exists (dev/pool mode). Full container-mode integration (real Docker) isn't covered by an automated test, consistent with the rest of the container-dependent code — runViaAgent itself is unit-tested directly against embedded NATS, bypassing the Docker-dependent Acquire path. This closes the archie-core-5zh epic: archie-agent now runs an entire task's workflow per invocation instead of one stage per round trip, with Store/Forge/git-push credentials staying daemon-side throughout.","dependencies":[{"issue_id":"archie-core-5zh.8","depends_on_id":"archie-core-5zh.7","type":"blocks","created_at":"2026-07-24T08:28:07Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.8","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T08:28:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.9","title":"Register storerpc/forgerpc/worktreerpc servers in archied startup","description":"Depends on the TaskContext interface refactor. cmd/archied/main.go builds the Daemon with Store/Forge/Trees but never registers the storerpc.Server/forgerpc.Server/worktreerpc.Server handlers, so archie-agent's RPC calls currently have no responder in production. Wire all three Register(nc) calls into archied's startup when cfg.NATS is configured, alongside the existing NATS client connect.","acceptance_criteria":"When [nats] is configured, archied subscribes to all storerpc/forgerpc/worktreerpc subjects at startup; an archie-agent container can successfully call Store/Forge/worktree operations against a running archied.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T22:28:00Z","created_by":"Sam Catlow","updated_at":"2026-07-23T22:58:58Z","started_at":"2026-07-23T22:56:35Z","closed_at":"2026-07-23T22:58:58Z","close_reason":"Added registerTaskRPCServers() in cmd/archied/main.go, wiring storerpc.Server/forgerpc.Server/worktreerpc.Server onto the daemon's NATS connection whenever [nats] is configured, alongside the existing worktree.Manager and forge/store instances the daemon already owns. Test spins an embedded NATS server, registers via the composed function, then round-trips real storerpc/forgerpc/worktreerpc clients against it to prove all three are reachable. archie-core-5zh.7 (archie-agent full-task handler) can now be built and tested end-to-end against a real archied.","dependencies":[{"issue_id":"archie-core-5zh.9","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T08:28:00Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.9","depends_on_id":"archie-core-5zh.6","type":"blocks","created_at":"2026-07-24T08:28:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.5","title":"Curated TaskConfig payload for archie-agent (no secrets)","description":"Groundwork for archie-core-5zh.4. workflow.TaskContext.Cfg (config.Config) is read throughout stages (Models, Budgets, Dispatch incl. label mapping, DiffCapLines, Notify.Webhook, Forge.Host) but the full Config also carries forge/NATS credentials that must never enter the agent container. Add a config.TaskConfig struct — same field names/shapes as the subset config.Config exposes (Models, Budgets, Dispatch, DiffCapLines, Notify, Forge) — with json tags, plus a constructor (e.g. config.Config.ForTask()) that builds it from the daemon's live config. Add json tags to config.Repo's remaining fields (only AllowConcurrent has them today) since tc.Repo also needs to cross the wire.","acceptance_criteria":"config.TaskConfig marshals/unmarshals via JSON and carries exactly the fields workflow stages read; no token/credential field is reachable from it; config.Repo fully round-trips through JSON.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T22:27:59Z","created_by":"Sam Catlow","updated_at":"2026-07-23T22:51:48Z","started_at":"2026-07-23T22:43:06Z","closed_at":"2026-07-23T22:51:48Z","close_reason":"Implemented curated non-secret TaskConfig/TaskForge payload with detached map snapshots, stable JSON Duration encoding, full Repo JSON tags, and regression coverage. Focused config tests, go vet, go fix -diff, and full race suite pass; repository-wide lint remains blocked only by 36 unrelated pre-existing findings.","dependencies":[{"issue_id":"archie-core-5zh.5","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T08:27:58Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.6","title":"TaskContext interface refactor: Forge/Store/Trees as trimmed interfaces","description":"Groundwork for archie-core-5zh.4. workflow.TaskContext currently types Forge/Store/Trees as concrete daemon types (forge.Forge interface already, *store.Store, *worktree.Manager). Define trimmed interfaces in internal/workflow scoped to exactly the methods stages call (Forge: Comment/CloseIssue/CreatePR/SetStateLabel; Store: Update/Transition; Trees: Prepare/CommitAll/Push/Diff/ChangedFiles/ChangedLines) so storerpc.Client, forgerpc.Client, and a worktreerpc-backed implementation can satisfy them from inside archie-agent, while *store.Store/*worktree.Manager and the real forge.Forge implementations keep satisfying them unchanged for the daemon's existing inprocess/subprocess paths.","acceptance_criteria":"TaskContext.Forge/Store/Trees are interface-typed; daemon.go compiles and all existing tests pass unchanged (concrete types satisfy the new interfaces structurally); no behavior change for inprocess/subprocess modes.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T22:27:59Z","created_by":"Sam Catlow","updated_at":"2026-07-23T22:56:18Z","started_at":"2026-07-23T22:54:26Z","closed_at":"2026-07-23T22:56:18Z","close_reason":"Trimmed workflow.TaskContext.Forge/Store/Trees to new interfaces (Forger, TaskStore, Trees) in internal/workflow/workflow.go, scoped to exactly the methods stages call mid-run (4 Forge methods, 2 Store methods, 6 Trees methods). Go's structural typing meant zero changes were needed anywhere else — forge.Forge (already an interface), *store.Store, and *worktree.Manager all satisfy the new interfaces automatically, and storerpc.Client/forgerpc.Client/worktreerpc.Client already match by construction from 5zh.1-3. Full build, race suite, vet, and staticcheck all clean with no behavior change. archie-core-5zh.7 (archie-agent full-task handler) and 5zh.9 (register RPC servers in archied) are now unblocked.","dependencies":[{"issue_id":"archie-core-5zh.6","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T08:27:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":2,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.2","title":"Forge RPC proxy: archie-agent → archied for forge API calls","description":"Phase 1 groundwork for archie-core-5zh. Stages call Forge.SetStateLabel/Comment/CreatePR/CloseIssue/CreateIssue/React/RepliesAfter mid-workflow. Forge holds live API tokens (Gitea/GitHub) that must stay daemon-side per the PRD's 'daemon never runs untrusted code, owns all secrets' boundary. Once workflow.Run moves into archie-agent, these calls need to become NATS request/reply RPCs to the daemon rather than shipping forge credentials into the agent container.","acceptance_criteria":"archie-agent can invoke the forge.Forge interface methods used by workflow stages over NATS; archied executes them against the real forge client and replies; no forge API tokens are present in the agent container.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T21:55:44Z","created_by":"Sam Catlow","updated_at":"2026-07-23T22:02:41Z","started_at":"2026-07-23T22:00:46Z","closed_at":"2026-07-23T22:02:41Z","close_reason":"Added internal/forgerpc: core-NATS request/reply RPC for the four forge.Forge methods workflow stages actually call mid-run (Comment, CloseIssue, CreatePR, SetStateLabel). Confirmed via grep that all other Forge methods (AssignedIssues, IssuesWithLabel, React, RepliesAfter, PRState, CreateIssue, AcceptInvitations, VerifyPush) are daemon-only poll/reconcile-loop calls, never invoked from a workflow stage, so nothing else needs proxying. archied stays the sole holder of forge API tokens. Not yet wired into daemon.go or workflow.TaskContext — deferred to archie-core-5zh.4.","dependencies":[{"issue_id":"archie-core-5zh.2","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T07:55:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.3","title":"Worktree push RPC proxy: archie-agent → archied for git push","description":"Phase 1 groundwork for archie-core-5zh. worktree.Manager.Push needs the forge HTTPS push token (held daemon-side, used via an askpass helper). Trees.Prepare/CommitAll/Diff/ChangedFiles/ChangedLines are local git operations against the already-mounted worktree and can run agent-side unchanged (containers already bind-mount /data/worktree) — only Push needs to be proxied back to the daemon, which holds the credential.","acceptance_criteria":"archie-agent can request a git push over NATS; archied performs the authenticated push using its held token and replies with success/failure; the push token is never sent to or stored in the agent container.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T21:55:44Z","created_by":"Sam Catlow","updated_at":"2026-07-23T22:05:10Z","started_at":"2026-07-23T22:02:54Z","closed_at":"2026-07-23T22:05:10Z","close_reason":"Added internal/worktreerpc: core-NATS request/reply RPC so archie-agent can request a git push without holding the forge push token. Server resolves the worktree directory itself from owner/repo/issue (never trusts a path from the sandboxed agent) and calls the daemon's own worktree.Manager.Push, which already holds the token via its askpass helper. Prepare/CommitAll/Diff/ChangedFiles/ChangedLines stay local git ops the agent can run directly against its bind-mounted worktree — only Push needed proxying. Not yet wired into daemon.go or workflow.TaskContext — deferred to archie-core-5zh.4, which now has all three RPC proxies (Store, Forge, worktree push) it depends on.","dependencies":[{"issue_id":"archie-core-5zh.3","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T07:55:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.4","title":"Move workflow.Route/workflow.Run stage loop into archie-agent","description":"Final step of archie-core-5zh, depends on the Store/Forge/push RPC proxies existing. Move workflow.Route + workflow.Run's stage-loop execution from internal/daemon/daemon.go's process() into cmd/archie-agent, using the RPC proxies for Store/Forge/push and reimplementing CustomStages discovery (wfeval.Discover) agent-side against the already-mounted worktree. daemon.process() keeps worktree prepare + container acquire/release, then hands off the whole task to archie-agent in one NATS round trip instead of one round trip per stage.","acceptance_criteria":"workflow.Route and workflow.Run execute inside archie-agent, not archied, when agent.mode=nats; archie-agent handles a full task (not a single stage) per invocation; inprocess/subprocess modes keep working unchanged.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-23T21:55:44Z","created_by":"Sam Catlow","updated_at":"2026-07-23T22:28:08Z","closed_at":"2026-07-23T22:28:08Z","close_reason":"Superseded by finer-grained sub-issues 5zh.5 (TaskConfig payload), 5zh.6 (TaskContext interface refactor), 5zh.7 (archie-agent full-task handler), 5zh.8 (daemon.go handoff), 5zh.9 (register RPC servers in archied). The original single acceptance criterion (workflow.Route/Run execute in archie-agent) is satisfied once 5zh.7 and 5zh.8 land; splitting further because implementation revealed real design forks (Prepare needing the push token, tc.Cfg needing a curated non-secret payload) that each warrant their own test-first pass.","dependencies":[{"issue_id":"archie-core-5zh.4","depends_on_id":"archie-core-5zh.1","type":"blocks","created_at":"2026-07-24T07:55:48Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.4","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T07:55:44Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.4","depends_on_id":"archie-core-5zh.3","type":"blocks","created_at":"2026-07-24T07:55:49Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-5zh.4","depends_on_id":"archie-core-5zh.2","type":"blocks","created_at":"2026-07-24T07:55:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":3,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh.1","title":"Store RPC proxy: archie-agent → archied for task state mutations","description":"Phase 1 groundwork for archie-core-5zh. workflow.Run calls tc.Store.Update every stage and tc.Store.Transition on terminal outcomes — Store wraps a direct SQLite *sql.DB handle that only the daemon owns. Once workflow.Run moves into archie-agent, these calls need to become NATS request/reply RPCs to the daemon (the sole DB owner), reusing the existing AgentRequestMessage/reply-inbox plumbing pattern (internal/agentexec/nats.go) rather than giving the agent container direct DB access.","acceptance_criteria":"archie-agent can call Store.Update and Store.Transition equivalents over NATS; archied executes them against SQLite and replies; no direct DB access from the agent container.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T21:55:43Z","created_by":"Sam Catlow","updated_at":"2026-07-23T21:58:51Z","started_at":"2026-07-23T21:55:58Z","closed_at":"2026-07-23T21:58:51Z","close_reason":"Added internal/storerpc: core-NATS request/reply RPC so archie-agent can call Store.Update/Transition without direct DB access. archied's Store stays the sole owner; store.Task gained json tags to cross the wire. Not yet wired into daemon.go or workflow.TaskContext — that's archie-core-5zh.4's job once all three RPC proxies exist.","dependencies":[{"issue_id":"archie-core-5zh.1","depends_on_id":"archie-core-5zh","type":"parent-child","created_at":"2026-07-24T07:55:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-358","title":"ContainerRunner: implement agentexec.Runner against Docker for sandboxed execution","description":"Phase 2 of docs/prds/archie-core-v2-architecture.md. agentexec.Runner (InProcessRunner/SubprocessRunner) is an interface deliberately designed to be swapped for a container-backed runner without touching workflow orchestration. internal/container/pool.go already handles Docker lifecycle (pull, create, start, release, orphan recovery). Implement ContainerRunner against the existing Runner interface.","design":"Do not redesign the execution boundary — implement strictly against the existing Runner interface per its doc comments.","acceptance_criteria":"ContainerRunner implements agentexec.Runner, runs tasks in ephemeral Docker containers with workspace bind-mounted, and is selectable via [agent] mode = \"nats\" + containers.enabled = true.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T19:36:32Z","created_by":"Sam Catlow","updated_at":"2026-07-23T23:28:15Z","started_at":"2026-07-23T23:22:41Z","closed_at":"2026-07-23T23:28:15Z","dependencies":[{"issue_id":"archie-core-358","depends_on_id":"archie-core-5zh","type":"blocks","created_at":"2026-07-24T05:36:37Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-358","depends_on_id":"archie-core-5zh.8","type":"supersedes","created_at":"2026-07-24T09:28:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-5zh","title":"Promote archie-agent to per-task process; move workflow routing out of archied","description":"cmd/archie-agent exists but only executes one workflow stage per invocation over the internal/agentexec stdin/stdout JSON protocol (v1). Phase 1 of the PRD requires promoting it to the PRD's per-task process model, moving workflow.Route/workflow.Run out of archied and into archie-agent.","acceptance_criteria":"workflow.Route and workflow.Run execute inside archie-agent, not archied; archie-agent handles a full task (not a single stage) per invocation.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T19:36:32Z","created_by":"Sam Catlow","updated_at":"2026-07-23T23:15:04Z","started_at":"2026-07-23T21:51:46Z","closed_at":"2026-07-23T23:15:04Z","close_reason":"All sub-issues (5zh.1 Store RPC, 5zh.2 Forge RPC, 5zh.3 worktree Prepare/Push RPC, 5zh.5 curated TaskConfig payload, 5zh.6 TaskContext interface refactor, 5zh.7 archie-agent full-task handler, 5zh.9 register RPC servers, 5zh.8 daemon handoff) are closed. Original acceptance criterion met: workflow.Route and workflow.Run execute inside archie-agent, not archied, in sandboxed NATS+container mode; archie-agent handles a full task per invocation. inprocess/subprocess modes unaffected.","dependencies":[{"issue_id":"archie-core-5zh","depends_on_id":"archie-core-l1q","type":"blocks","created_at":"2026-07-24T05:36:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-l1q","title":"NATS transport: JetStream task queue + request-reply between daemon and archie-agent","description":"Phase 1 of docs/prds/archie-core-v2-architecture.md. internal/events.Bus (in-process pub/sub, already feeding SQLite + SSE) is the natural seam to replace the transport under. Daemon publishes tasks, archie-agent consumes, results return via NATS. Preserve current inprocess mode via [agent] mode default for local dev.","design":"Add optional [nats] config block (url, token_env), default anonymous auth for single-node, credentials required for multi-node per PRD sec.9 open question 2.","acceptance_criteria":"Daemon can dispatch a task to archie-agent over NATS JetStream and receive results via request-reply; inprocess mode still works unchanged.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T19:36:31Z","created_by":"Sam Catlow","updated_at":"2026-07-23T21:49:40Z","started_at":"2026-07-23T21:43:05Z","closed_at":"2026-07-23T21:49:40Z","close_reason":"Completed JetStream task dispatch and NATS agent request/reply, including token_env authentication for archied and canonical NATS_URL/NATS_TOKEN propagation to container workers; anonymous local mode remains supported and race-tested.","dependencies":[{"issue_id":"archie-core-l1q","depends_on_id":"archie-core-u64","type":"blocks","created_at":"2026-07-24T05:36:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-rig","title":"Audit archie-core repo for bugs/improvements, file as Gitea issues","description":"Fan out exploration subagents across internal/ subsystems to find bugs, tech debt, and enhancement opportunities. Each confirmed finding gets filed as a Gitea issue on git.catlow.cloud/sam/archie-core.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-22T16:24:07Z","created_by":"Sam Catlow","updated_at":"2026-07-22T16:37:16Z","started_at":"2026-07-22T16:24:09Z","closed_at":"2026-07-22T16:37:16Z","close_reason":"Audit complete: 58 Gitea issues (#3-#60) filed at git.catlow.cloud/sam/archie-core. 60 raw findings, 59 verified, 58 successfully filed. 8 agents hit session limit at end (webui/workflow/worktree file-phase).","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.5.4","title":"Telegram voice message transcription","description":"Hermes has STT enabled (local whisper + OpenAI whisper). Sam doesn't need full STT, but wants Telegram voice messages transcribed to text for the agent. Telegram voice messages arrive as audio attachments (voice note type, OGG/Opus format).\n\nScope:\n- Detect voice message type from MessageEvent\n- Transcribe using OpenAI whisper API (or local whisper via Ollama)\n- Inject transcription into message text before routing to LLM\n- Cache transcriptions to avoid re-transcribing duplicate messages","status":"open","priority":3,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-26T00:16:16Z","created_by":"Sam Catlow","updated_at":"2026-07-26T00:16:16Z","dependencies":[{"issue_id":"archie-core-abg.5.4","depends_on_id":"archie-core-abg.5","type":"parent-child","created_at":"2026-07-26T10:16:16Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.29v","title":"Verify: Scale-to-zero: idle detection and dormant quiesce","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:22Z","dependencies":[{"issue_id":"archie-core-abg.29v","depends_on_id":"archie-core-abg.29","type":"blocks","created_at":"2026-07-26T00:20:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.9v","title":"Verify: MCP client capability for archie agents","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:21Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:21Z","dependencies":[{"issue_id":"archie-core-abg.9v","depends_on_id":"archie-core-abg.9","type":"blocks","created_at":"2026-07-26T00:20:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.7v","title":"Verify: Web UI: extend dashboard to bidirectional chat","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:20Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:20Z","dependencies":[{"issue_id":"archie-core-abg.7v","depends_on_id":"archie-core-abg.7","type":"blocks","created_at":"2026-07-26T00:20:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.6v","title":"Verify: Multi-session chat memory + slash commands","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:19Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:19Z","dependencies":[{"issue_id":"archie-core-abg.6v","depends_on_id":"archie-core-abg.6","type":"blocks","created_at":"2026-07-26T00:20:40Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.29","title":"Scale-to-zero: idle detection and dormant quiesce","description":"Scale-to-zero idle detection:\\n\\n1. **Idle predicate**: running_agent_count == 0 AND seconds_since_last_inbound \u003e idle_timeout AND no live background work.\\n2. **Dormant transition**: Signal relay transport to close socket (supervisor preserved).\\n3. **Wake trigger**: Inbound message on wake URL resumes gateway.\\n4. **Structural precondition**: Only arms when messaging is relay-only or absent AND a wake URL is registered.\\n\\nRef: docs/prds/hermes-gap-analysis.md section 6 (scale_to_zero.py)","acceptance_criteria":"When no messages arrive for the configured idle timeout (with no active agents), the gateway transitions to dormant. An inbound message wakes it.","status":"open","priority":3,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-25T14:03:04Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:03:04Z","dependencies":[{"issue_id":"archie-core-abg.29","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T00:03:03Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.14","title":"Add /model gateway-local command to change active LLM model","description":"Sam's gateway requirement: the gateway must handle /model changes without involving the LLM. Add a /model \u003cprovider/model\u003e slash command to gateway.Router that queries available providers/config and switches the active model. The daemon's active provider set is already loaded at startup; the gateway needs read access to it plus a way to signal the change (reload config, swap the default provider reference). Per /goal and Hermes gateway patterns.","acceptance_criteria":"A chat user can run /model \u003cname\u003e to switch the active LLM model, handled entirely by the gateway without LLM involvement. Response confirms the new model name.","status":"closed","priority":3,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:32:21Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:45:52Z","started_at":"2026-07-25T13:42:58Z","closed_at":"2026-07-25T13:45:52Z","close_reason":"Implemented /model gateway-local command in gateway.Router: ModelManager interface, parseCmd helper, handleModel handler. Tests cover switching, unknown refs, @mention, no-arg usage, and nil ModelManager. All 10 new tests + 7 existing pass.","dependencies":[{"issue_id":"archie-core-abg.14","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:32:21Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.8","title":"Investigate agent-to-agent handoff within a single task workflow","description":"Sam wants agent-to-agent collaboration on a single task (plan -\u003e implement -\u003e review handoff), not just parallel identities. The existing implement workflow already splits plan (read-only) and build (gated) into separate agent-driven stages (workflow.Stage sequencing). Investigate how much of 'agent handoff' is genuinely new work vs. reframing/extending the existing stage model (e.g. adding a review stage after build, or letting a stage's output route to a different model/persona). This ties into the sibling agent-personas epic (archie-core-x96). Write findings before committing to an implementation approach. Per docs/prds/multi-agent-collaboration.md phase D.","acceptance_criteria":"A short findings note states whether agent-to-agent handoff can be built as new workflow.Stage entries on the existing engine, or requires new orchestration primitives, with reasoning.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:27Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:27Z","dependencies":[{"issue_id":"archie-core-abg.8","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:27Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.9","title":"MCP client capability for archie agents","description":"Sam wants archie to be able to connect to MCP servers as a client (consume external tools/data sources from within agent workflows), analogous to how Claude Code itself uses MCP. Design and implement as a Layer 2 core plugin or agent-loop tool integration, depending on findings from wiring the plugin loader (archie-core-abg.2). Per docs/prds/multi-agent-collaboration.md phase E.","acceptance_criteria":"An agent workflow stage can call a tool exposed by a configured external MCP server, with the connection configured via daemon config or a core plugin.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:27Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:27Z","dependencies":[{"issue_id":"archie-core-abg.9","depends_on_id":"archie-core-abg.2","type":"blocks","created_at":"2026-07-25T23:18:35Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.9","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:27Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.7","title":"Web UI: extend dashboard to bidirectional chat","description":"internal/webui is currently a read-only SSE dashboard. Extend it to a bidirectional chat surface implementing the same chat channel plugin interface built for Telegram, so the web UI gets status Q\u0026A and spawn/control parity too. Per docs/prds/multi-agent-collaboration.md phase C.","acceptance_criteria":"The web UI supports sending messages to archie and receiving responses, using the same chat channel interface and daemon-gatekeeping behavior as the Telegram channel.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:10Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:10Z","dependencies":[{"issue_id":"archie-core-abg.7","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:09Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.7","depends_on_id":"archie-core-abg.5","type":"blocks","created_at":"2026-07-25T23:18:35Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.6","title":"Multi-session chat memory + slash commands","description":"Chat channels need conversation memory that persists across sessions, distinct from the existing per-task /data/memory.jsonl sketch in the v2 architecture PRD (which is task/project scoped, not conversation scoped). Also add slash-command support in chat (/status, /spawn, /approve, /cancel) per docs/prds/multi-agent-collaboration.md phase C. Depends on the chat channel interface existing first.","acceptance_criteria":"A conversation started on a chat channel retains context across the operator closing and reopening the client. /status, /spawn, /approve, /cancel are recognized slash commands with documented behavior.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:09Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:09Z","dependencies":[{"issue_id":"archie-core-abg.6","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:09Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.6","depends_on_id":"archie-core-abg.5","type":"blocks","created_at":"2026-07-25T23:18:34Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-cen","title":"Dedup skillbuild.BuildRegistry/AugmentRegistry and align with wfeval.loadStage","description":"internal/workflow/skillbuild/skillbuild.go:41 BuildRegistry and :97 AugmentRegistry are near copy-paste merge loops. Also skillbuild.loadStage and wfeval.loadStage independently implement the same 'Yaegi plugin exports Stage()' loading pattern and have already diverged (skillbuild has a legacy positional-fields fallback wfeval lacks). Share the merge loop and the stage-loading logic.","status":"closed","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-24T02:42:08Z","created_by":"Sam Catlow","updated_at":"2026-07-24T02:49:56Z","closed_at":"2026-07-24T02:49:56Z","close_reason":"Extracted mergeSkillWorkflows() shared by BuildRegistry and AugmentRegistry in internal/workflow/skillbuild/skillbuild.go, eliminating the copy-pasted catalog/merge loop. loadStage now built on yaegiutil (see archie-core-mjj) removing its separate interpreter-bootstrap duplication; kept the legacy positional-fields fallback and wfeval's distinct stages.Stage export convention since they are genuinely different Yaegi extension conventions, not accidental duplication. All existing skillbuild/wfeval tests pass.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-340","title":"Eliminate intermittent JetStream TempDir teardown race","description":"An intermittent full-suite race failure shows TestConnectAndPublish cleaning its testing.TempDir while JetStream is still removing the ARCHIE_TASKS msgs directory. The package subsequently passed five race iterations, so the timing window is narrow.\\n\\n## Steps to Reproduce\\n1. Run: go test -race -count=1 ./...\\n2. Repeat until internal/nats TestConnectAndPublish fails during TempDir RemoveAll with: unlinkat .../jetstream/$G/streams/ARCHIE_TASKS/msgs: directory not empty.\\n3. Compare with: go test -race -count=5 ./internal/nats.\\n\\nMake embedded NATS shutdown and storage cleanup deterministic before TempDir cleanup.","acceptance_criteria":"Repeated race runs of internal/nats and the full repository do not race TempDir cleanup against JetStream file removal; the test explicitly waits for server/storage shutdown.","status":"closed","priority":3,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-24T00:20:01Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:49:45Z","started_at":"2026-07-25T13:42:57Z","closed_at":"2026-07-25T13:49:45Z","close_reason":"Fixed the JetStream TempDir teardown race by: (1) Moving t.Cleanup registration AFTER t.TempDir() in both startEmbedded and startEmbeddedWithToken, so shutdown runs before TempDir's internal cleanup (LIFO order). (2) Using srv.Shutdown() + srv.WaitForShutdown() instead of bare srv.Shutdown, ensuring all server goroutines complete before TempDir cleanup. Verified with go test -race -count=10 ./internal/nats/ and full go test -race ./... both passing consistently.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-756","title":"Restore a clean repository-wide golangci-lint baseline","description":"Repository-wide golangci-lint currently reports 39 pre-existing findings (32 errcheck and 7 staticcheck) across NATS/RPC/container code and older tests. Remediate the findings without weakening lint configuration so golangci-lint run ./... is a reliable required gate.","acceptance_criteria":"golangci-lint run ./... exits successfully with no findings; affected cleanup/error paths handle or explicitly document ignored errors; existing race tests remain green.","status":"closed","priority":3,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-24T00:20:00Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:49:39Z","started_at":"2026-07-25T13:42:57Z","closed_at":"2026-07-25T13:49:39Z","close_reason":"Fixed all 45 golangci-lint findings across the repository: 35 errcheck (unchecked Unsubscribe/Nak/Ack/Close calls), 8 staticcheck (empty branches, unused appends, nil check never true, De Morgan's law, fmt.Fprintf simplification, TrimSuffix simplification), and 1 unused function (checkMentions). All fixes add proper error handling or adopt Go idioms. Lint config unchanged. Tests all pass.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-g1l","title":"Per-repo allow_concurrent override for same-repo multi-agent work","description":"Concurrent agents on the same repo are blocked by default (worktree conflict). PRD sec.9 open question 5 proposes a per-repo config override (allow_concurrent = true) for repos where parallel work is safe (different base branches, different packages). Deferred to Phase 2 in the PRD; depends on the daemon supporting concurrent task dispatch at all.","acceptance_criteria":"Repos with allow_concurrent = true in [[repos]] config can have multiple agents working simultaneously without worktree collisions; repos without it keep current serialized behavior.","status":"closed","priority":3,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T19:36:32Z","created_by":"Sam Catlow","updated_at":"2026-07-23T21:46:53Z","started_at":"2026-07-23T21:43:14Z","closed_at":"2026-07-23T21:46:53Z","close_reason":"Added config.Repo.AllowConcurrent (allow_concurrent toml key) and threaded it through taskDispatcher so opted-in repos skip the default FIFO same-repo serialization while still respecting containers.max_concurrency. Worktrees are already keyed per issue number, so no on-disk collision. Race-tested dispatcher coverage added.","dependencies":[{"issue_id":"archie-core-g1l","depends_on_id":"archie-core-u64","type":"blocks","created_at":"2026-07-24T05:36:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-j7v","title":"Persistent volumes with TTL for container/worktree storage","description":"Phase 2 of docs/prds/archie-core-v2-architecture.md. Current worktree lifecycle is fresh-clone-per-task with status-driven cleanup, no TTL. Add persistent volume support with TTL-based expiry to avoid repeated full clones for repeated work on the same repo.","acceptance_criteria":"Container/worktree storage can persist across tasks for the same repo up to a configured TTL, with automatic cleanup after expiry.","notes":"Implemented containers.volume_ttl (72h default, negative rejected); per-repo bare Git object caches seed dissociated issue worktrees when persistent_storage is enabled; Archie-owned repo Docker volumes are labeled and automatically reaped by age without touching cache/unowned volumes; daemon startup and cycles reap both storage layers; config example and v2 PRD updated. Validation: focused race tests count=5 passed for config/storage/worktree/daemon; go vet ./... passed; scoped staticcheck passed; gofumpt clean; go build ./... passed; full go test -race -count=1 ./... passed on repeat. Repository-wide golangci-lint remains red on 39 pre-existing findings tracked by archie-core-756. One non-reproducing NATS TempDir cleanup flake tracked by archie-core-340 after internal/nats passed race count=5.","status":"closed","priority":3,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-23T19:36:32Z","created_by":"Sam Catlow","updated_at":"2026-07-24T00:20:21Z","started_at":"2026-07-23T23:33:54Z","closed_at":"2026-07-24T00:20:21Z","close_reason":"Persistent container/worktree storage now has configured TTL expiry. Repos opting into persistent_storage retain an Archie-owned Docker repo volume and reuse a per-repo bare Git object cache to avoid repeated full network clones while keeping issue worktrees isolated via dissociated clones. containers.volume_ttl defaults to 72h; daemon startup/cycles automatically remove expired owned repo volumes and Git caches. Tests cover config default/validation, Docker ownership labels and selective expiry, cache reuse/isolation/expiry/path safety, and daemon TTL wiring. Full race suite, vet, build, formatting, and scoped staticcheck pass.","dependencies":[{"issue_id":"archie-core-j7v","depends_on_id":"archie-core-358","type":"blocks","created_at":"2026-07-24T05:36:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.11v","title":"Verify: SSH / remote execution agent tool","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:23Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:23Z","dependencies":[{"issue_id":"archie-core-abg.11v","depends_on_id":"archie-core-abg.11","type":"blocks","created_at":"2026-07-26T00:20:42Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.10v","title":"Verify: GitLab forge plugin","acceptance_criteria":"Independent adversarial review by fresh agent. Verify: no dead code paths, no lint issues (golangci-lint run clean), tests pass (go test ./...), code is formatted (gofmt), no hardcoded values in tests. Review the implementation against the original acceptance criteria. Report findings or confirm clean.","status":"open","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T14:14:22Z","dependencies":[{"issue_id":"archie-core-abg.10v","depends_on_id":"archie-core-abg.10","type":"blocks","created_at":"2026-07-26T00:20:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.15","title":"Add /models (list) gateway-local command","description":"Companion to /model: list available models/providers from the daemon config. Gateway-local (no LLM).","acceptance_criteria":"/models lists configured providers and model names with the currently-active one flagged.","status":"closed","priority":4,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:32:22Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:45:52Z","started_at":"2026-07-25T13:42:57Z","closed_at":"2026-07-25T13:45:52Z","close_reason":"Implemented /models gateway-local command in gateway.Router via handleModels handler. Lists configured models with active model flagged. Tests cover listing, active flag, @mention, empty list, and nil ModelManager.","dependencies":[{"issue_id":"archie-core-abg.15","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:32:21Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.12","title":"Design pass: multi-user support (identity/session model)","description":"Sam wants the architecture to not foreclose multiple people using their own archie agent eventually, even though this isn't required for the first implementation slices. Needs its own design pass: how do chat sessions, identities, and permissions extend beyond single-operator (Sam) without being built now. Per docs/prds/multi-agent-collaboration.md sec.1 item 8 and phase E -- explicitly non-blocking for phases A-D.","acceptance_criteria":"A design note describes how the identity/session model introduced in archie-core-abg.3/abg.4 and the chat channel work in abg.5/abg.6 could extend to multiple operators later, without requiring changes to this PRD's phases A-D to accommodate it.","status":"open","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:29Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:29Z","dependencies":[{"issue_id":"archie-core-abg.12","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:28Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.12","depends_on_id":"archie-core-abg.4","type":"blocks","created_at":"2026-07-25T23:18:35Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.12","depends_on_id":"archie-core-abg.5","type":"blocks","created_at":"2026-07-25T23:18:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":2,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.10","title":"GitLab forge plugin","description":"internal/forge currently implements GitHub REST polling only; Gitea forge exists per ARCHITECTURE.md 'planned' list -- check current status before starting. Sam wants GitLab addable without it being hardcoded into core: implement as a Layer 2 core plugin against the forge.Forge interface, once the plugin loader (archie-core-abg.2) is wired. Per docs/prds/multi-agent-collaboration.md phase E.","acceptance_criteria":"A GitLab forge plugin implements forge.Forge and is loadable via the core plugin mechanism, verified against a real or test GitLab instance for issue polling and PR/MR creation.","status":"open","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:28Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:28Z","dependencies":[{"issue_id":"archie-core-abg.10","depends_on_id":"archie-core-abg.2","type":"blocks","created_at":"2026-07-25T23:18:35Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.10","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:27Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"archie-core-abg.11","title":"SSH / remote execution agent tool","description":"Sam wants agents to be able to SSH into boxes / execute remotely as a capability, not just operate on local worktrees. Design as an explicit, permission-scoped agent tool (environmental constraint, not a prompt rule, per ARCHITECTURE.md design decision #1) -- credentials and target hosts must be daemon-configured, not agent-chosen. Per docs/prds/multi-agent-collaboration.md phase E.","acceptance_criteria":"An agent workflow stage can execute a command on a daemon-configured remote host via SSH, scoped to an explicit allowlist of hosts/commands set in daemon config, not free-form agent-chosen targets.","status":"open","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:28Z","created_by":"Sam Catlow","updated_at":"2026-07-25T13:18:28Z","dependencies":[{"issue_id":"archie-core-abg.11","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-25T23:18:28Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}