From 8bf0f6bcedd66ad1a44deb2ca4cb6cd902d27856 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sun, 9 Aug 2026 01:38:07 +1000 Subject: [PATCH] chore: remove beads issue tracking All 416 beads issues (open, in-progress, and closed) are migrated to GitHub Issues with parent/sub-issue hierarchy preserved; the 66 issues carrying beads "notes" content had that backfilled as GitHub comments. The local Dolt DB and .beads/ export were never git-synced (no-git-ops: true in config.yaml), so this is a clean removal with nothing left behind on any remote. --- .agents/skills/beads/SKILL.md | 46 --- .agents/skills/beads/agents/openai.yaml | 4 - .beads/.gitignore | 77 ----- .beads/README.md | 81 ----- .beads/config.yaml | 5 - .beads/hooks/post-checkout | 33 -- .beads/hooks/post-merge | 33 -- .beads/hooks/pre-commit | 33 -- .beads/hooks/pre-push | 33 -- .beads/hooks/prepare-commit-msg | 33 -- .beads/interactions.jsonl | 304 ------------------ .beads/issues.jsonl | 410 ------------------------ .beads/metadata.json | 7 - 13 files changed, 1099 deletions(-) delete mode 100644 .agents/skills/beads/SKILL.md delete mode 100644 .agents/skills/beads/agents/openai.yaml delete mode 100644 .beads/.gitignore delete mode 100644 .beads/README.md delete mode 100644 .beads/config.yaml delete mode 100755 .beads/hooks/post-checkout delete mode 100755 .beads/hooks/post-merge delete mode 100755 .beads/hooks/pre-commit delete mode 100755 .beads/hooks/pre-push delete mode 100755 .beads/hooks/prepare-commit-msg delete mode 100644 .beads/interactions.jsonl delete mode 100644 .beads/issues.jsonl delete mode 100644 .beads/metadata.json diff --git a/.agents/skills/beads/SKILL.md b/.agents/skills/beads/SKILL.md deleted file mode 100644 index 596bc7f18..000000000 --- a/.agents/skills/beads/SKILL.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: beads -description: Use when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory. Trigger when the user asks to find ready work, claim or close tasks, create follow-up work, inspect blockers, recover project context, or choose between local planning and persistent project tracking. ---- - -# Beads - -Use Beads as the shared project task system. Local plans, scratch files, and personal memories are useful, but they are not the durable source of truth for project work. - -## First Step - -```bash -bd prime -bd where -``` - -## Core CLI Workflow - -```bash -bd ready # Find work -bd list --status=open # List open work -bd show # Inspect -bd update --claim # Claim -bd create "Title" --description="Why" --type=task --priority=2 # Create follow-up -bd close --reason="Completed" # Close -``` - -## What Belongs In Beads - -Use Beads for: - -- shared project tasks -- blockers and dependencies -- discovered follow-up work -- work that must survive thread reset, compaction, or handoff -- status that another person or agent should be able to resume - -Use agent-local planning tools only for the current turn's execution checklist. Do not treat them as shared project state. - -## Rules - -- Do not create markdown TODO files as the source of truth when Beads is available. -- Do not use `bd edit`; it opens an interactive editor. Use `bd update` flags instead. -- Prefer `--json` when parsing `bd` output programmatically. -- If hooks are installed, `bd prime` may already be injected. Run it manually when context is missing. -- Do not auto-close or mutate tasks unless the work is actually complete. diff --git a/.agents/skills/beads/agents/openai.yaml b/.agents/skills/beads/agents/openai.yaml deleted file mode 100644 index 09c3b8f61..000000000 --- a/.agents/skills/beads/agents/openai.yaml +++ /dev/null @@ -1,4 +0,0 @@ -interface: - display_name: "Beads" - short_description: "Project task tracking with bd" - default_prompt: "Use $beads to inspect ready work and manage durable project tasks." diff --git a/.beads/.gitignore b/.beads/.gitignore deleted file mode 100644 index f7738583f..000000000 --- a/.beads/.gitignore +++ /dev/null @@ -1,77 +0,0 @@ -# Dolt database (managed by Dolt, not git) -dolt/ -embeddeddolt/ -proxieddb/ - -# Runtime files -bd.sock -bd.sock.startlock -sync-state.json -last-touched -.exclusive-lock - -# Daemon runtime (lock, log, pid) -daemon.* - -# Push state (runtime, per-machine) -push-state.json - -# Lock files (various runtime locks) -*.lock - -# Credential key (encryption key for federation peer auth — never commit) -.beads-credential-key - -# Local version tracking (prevents upgrade notification spam after git ops) -.local_version - -proxied_server_client_info.json - -# Worktree redirect file (contains relative path to main repo's .beads/) -# Must not be committed as paths would be wrong in other clones -redirect - -# Sync state (local-only, per-machine) -# These files are machine-specific and should not be shared across clones -.sync.lock -export-state/ -export-state.json -last_pull - -# Ephemeral store (SQLite - wisps/molecules, intentionally not versioned) -ephemeral.sqlite3 -ephemeral.sqlite3-journal -ephemeral.sqlite3-wal -ephemeral.sqlite3-shm - -# Dolt server management (auto-started by bd) -dolt-server.pid -dolt-server.log -dolt-server.lock -dolt-server.port -dolt-server.activity - -# Debug-mode pprof artifacts (written when dolt.debug: true in config.yaml) -dolt-pprof/ - -# Corrupt backup directories (created by bd doctor --fix recovery) -*.corrupt.backup/ - -# Backup data (auto-exported JSONL, local-only) -backup/ - -# Per-project environment file (Dolt connection config, GH#2520) -.env - -# Legacy files (from pre-Dolt versions) -*.db -*.db?* -*.db-journal -*.db-wal -*.db-shm -db.sqlite -bd.db -# NOTE: Do NOT add negation patterns here. -# They would override fork protection in .git/info/exclude. -# Config files (metadata.json, config.yaml) are tracked by git by default -# since no pattern above ignores them. diff --git a/.beads/README.md b/.beads/README.md deleted file mode 100644 index 63e8f4c23..000000000 --- a/.beads/README.md +++ /dev/null @@ -1,81 +0,0 @@ -# Beads - AI-Native Issue Tracking - -Welcome to Beads! This repository uses **Beads** for issue tracking - a modern, AI-native tool designed to live directly in your codebase alongside your code. - -## What is Beads? - -Beads is issue tracking that lives in your repo, making it perfect for AI coding agents and developers who want their issues close to their code. No web UI required - everything works through the CLI and integrates seamlessly with git. - -**Learn more:** [github.com/steveyegge/beads](https://github.com/steveyegge/beads) - -## Quick Start - -### Essential Commands - -```bash -# Create new issues -bd create "Add user authentication" - -# View all issues -bd list - -# View issue details -bd show - -# Update issue status -bd update --claim -bd update --status done - -# Sync with Dolt remote -bd dolt push -``` - -### Working with Issues - -Issues in Beads are: -- **Git-native**: Stored in Dolt database with version control and branching -- **AI-friendly**: CLI-first design works perfectly with AI coding agents -- **Branch-aware**: Issues can follow your branch workflow -- **Sync-ready**: Uses Dolt remotes for backup and team sharing - -## Why Beads? - -✨ **AI-Native Design** -- Built specifically for AI-assisted development workflows -- CLI-first interface works seamlessly with AI coding agents -- No context switching to web UIs - -🚀 **Developer Focused** -- Issues live in your repo, right next to your code -- Works offline, syncs when you push -- Fast, lightweight, and stays out of your way - -🔧 **Git Integration** -- Dolt-native sync via bd dolt push / bd dolt pull -- Branch-aware issue tracking -- Dolt-native three-way merge resolution - -## Get Started with Beads - -Try Beads in your own projects: - -```bash -# Install Beads -curl -sSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash - -# Initialize in your repo -bd init - -# Create your first issue -bd create "Try out Beads" -``` - -## Learn More - -- **Documentation**: [github.com/steveyegge/beads/docs](https://github.com/steveyegge/beads/tree/main/docs) -- **Quick Start Guide**: Run `bd quickstart` -- **Examples**: [github.com/steveyegge/beads/examples](https://github.com/steveyegge/beads/tree/main/examples) - ---- - -*Beads: Issue tracking that moves at the speed of thought* ⚡ diff --git a/.beads/config.yaml b/.beads/config.yaml deleted file mode 100644 index 341984db9..000000000 --- a/.beads/config.yaml +++ /dev/null @@ -1,5 +0,0 @@ -export: - auto: true -no-git-ops: true -# Remote sync intentionally disabled: Beads memories and issue history may -# contain confidential infrastructure or operational details. diff --git a/.beads/hooks/post-checkout b/.beads/hooks/post-checkout deleted file mode 100755 index 4171e4d61..000000000 --- a/.beads/hooks/post-checkout +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env sh -# --- BEGIN BEADS INTEGRATION v1.1.0 --- -# This section is managed by beads. Do not remove these markers. -if command -v bd >/dev/null 2>&1; then - export BD_GIT_HOOK=1 - _bd_timeout=${BEADS_HOOK_TIMEOUT:-300} - _bd_used_perl=0 - if command -v timeout >/dev/null 2>&1; then - timeout "$_bd_timeout" bd hooks run post-checkout "$@" - _bd_exit=$? - elif command -v gtimeout >/dev/null 2>&1; then - gtimeout "$_bd_timeout" bd hooks run post-checkout "$@" - _bd_exit=$? - elif command -v perl >/dev/null 2>&1; then - _bd_used_perl=1 - perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run post-checkout "$@" - _bd_exit=$? - else - echo >&2 "beads: hook 'post-checkout' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT" - bd hooks run post-checkout "$@" - _bd_exit=$? - fi - if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then - echo >&2 "beads: hook 'post-checkout' timed out after ${_bd_timeout}s — continuing without beads" - _bd_exit=0 - fi - if [ $_bd_exit -eq 3 ]; then - echo >&2 "beads: database not initialized — skipping hook 'post-checkout'" - _bd_exit=0 - fi - if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi -fi -# --- END BEADS INTEGRATION v1.1.0 --- diff --git a/.beads/hooks/post-merge b/.beads/hooks/post-merge deleted file mode 100755 index fc05baa89..000000000 --- a/.beads/hooks/post-merge +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env sh -# --- BEGIN BEADS INTEGRATION v1.1.0 --- -# This section is managed by beads. Do not remove these markers. -if command -v bd >/dev/null 2>&1; then - export BD_GIT_HOOK=1 - _bd_timeout=${BEADS_HOOK_TIMEOUT:-300} - _bd_used_perl=0 - if command -v timeout >/dev/null 2>&1; then - timeout "$_bd_timeout" bd hooks run post-merge "$@" - _bd_exit=$? - elif command -v gtimeout >/dev/null 2>&1; then - gtimeout "$_bd_timeout" bd hooks run post-merge "$@" - _bd_exit=$? - elif command -v perl >/dev/null 2>&1; then - _bd_used_perl=1 - perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run post-merge "$@" - _bd_exit=$? - else - echo >&2 "beads: hook 'post-merge' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT" - bd hooks run post-merge "$@" - _bd_exit=$? - fi - if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then - echo >&2 "beads: hook 'post-merge' timed out after ${_bd_timeout}s — continuing without beads" - _bd_exit=0 - fi - if [ $_bd_exit -eq 3 ]; then - echo >&2 "beads: database not initialized — skipping hook 'post-merge'" - _bd_exit=0 - fi - if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi -fi -# --- END BEADS INTEGRATION v1.1.0 --- diff --git a/.beads/hooks/pre-commit b/.beads/hooks/pre-commit deleted file mode 100755 index 1b19e5747..000000000 --- a/.beads/hooks/pre-commit +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env sh -# --- BEGIN BEADS INTEGRATION v1.1.0 --- -# This section is managed by beads. Do not remove these markers. -if command -v bd >/dev/null 2>&1; then - export BD_GIT_HOOK=1 - _bd_timeout=${BEADS_HOOK_TIMEOUT:-300} - _bd_used_perl=0 - if command -v timeout >/dev/null 2>&1; then - timeout "$_bd_timeout" bd hooks run pre-commit "$@" - _bd_exit=$? - elif command -v gtimeout >/dev/null 2>&1; then - gtimeout "$_bd_timeout" bd hooks run pre-commit "$@" - _bd_exit=$? - elif command -v perl >/dev/null 2>&1; then - _bd_used_perl=1 - perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run pre-commit "$@" - _bd_exit=$? - else - echo >&2 "beads: hook 'pre-commit' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT" - bd hooks run pre-commit "$@" - _bd_exit=$? - fi - if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then - echo >&2 "beads: hook 'pre-commit' timed out after ${_bd_timeout}s — continuing without beads" - _bd_exit=0 - fi - if [ $_bd_exit -eq 3 ]; then - echo >&2 "beads: database not initialized — skipping hook 'pre-commit'" - _bd_exit=0 - fi - if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi -fi -# --- END BEADS INTEGRATION v1.1.0 --- diff --git a/.beads/hooks/pre-push b/.beads/hooks/pre-push deleted file mode 100755 index 64342fe70..000000000 --- a/.beads/hooks/pre-push +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env sh -# --- BEGIN BEADS INTEGRATION v1.1.0 --- -# This section is managed by beads. Do not remove these markers. -if command -v bd >/dev/null 2>&1; then - export BD_GIT_HOOK=1 - _bd_timeout=${BEADS_HOOK_TIMEOUT:-300} - _bd_used_perl=0 - if command -v timeout >/dev/null 2>&1; then - timeout "$_bd_timeout" bd hooks run pre-push "$@" - _bd_exit=$? - elif command -v gtimeout >/dev/null 2>&1; then - gtimeout "$_bd_timeout" bd hooks run pre-push "$@" - _bd_exit=$? - elif command -v perl >/dev/null 2>&1; then - _bd_used_perl=1 - perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run pre-push "$@" - _bd_exit=$? - else - echo >&2 "beads: hook 'pre-push' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT" - bd hooks run pre-push "$@" - _bd_exit=$? - fi - if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then - echo >&2 "beads: hook 'pre-push' timed out after ${_bd_timeout}s — continuing without beads" - _bd_exit=0 - fi - if [ $_bd_exit -eq 3 ]; then - echo >&2 "beads: database not initialized — skipping hook 'pre-push'" - _bd_exit=0 - fi - if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi -fi -# --- END BEADS INTEGRATION v1.1.0 --- diff --git a/.beads/hooks/prepare-commit-msg b/.beads/hooks/prepare-commit-msg deleted file mode 100755 index 52f01f152..000000000 --- a/.beads/hooks/prepare-commit-msg +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env sh -# --- BEGIN BEADS INTEGRATION v1.1.0 --- -# This section is managed by beads. Do not remove these markers. -if command -v bd >/dev/null 2>&1; then - export BD_GIT_HOOK=1 - _bd_timeout=${BEADS_HOOK_TIMEOUT:-300} - _bd_used_perl=0 - if command -v timeout >/dev/null 2>&1; then - timeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@" - _bd_exit=$? - elif command -v gtimeout >/dev/null 2>&1; then - gtimeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@" - _bd_exit=$? - elif command -v perl >/dev/null 2>&1; then - _bd_used_perl=1 - perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run prepare-commit-msg "$@" - _bd_exit=$? - else - echo >&2 "beads: hook 'prepare-commit-msg' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT" - bd hooks run prepare-commit-msg "$@" - _bd_exit=$? - fi - if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then - echo >&2 "beads: hook 'prepare-commit-msg' timed out after ${_bd_timeout}s — continuing without beads" - _bd_exit=0 - fi - if [ $_bd_exit -eq 3 ]; then - echo >&2 "beads: database not initialized — skipping hook 'prepare-commit-msg'" - _bd_exit=0 - fi - if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi -fi -# --- END BEADS INTEGRATION v1.1.0 --- diff --git a/.beads/interactions.jsonl b/.beads/interactions.jsonl deleted file mode 100644 index 5b54011b4..000000000 --- a/.beads/interactions.jsonl +++ /dev/null @@ -1,304 +0,0 @@ -{"id":"int-fe360a2002888c6426a537d2363f900d","kind":"field_change","created_at":"2026-07-22T16:37:16.342832875Z","actor":"Sam Catlow","issue_id":"archie-core-rig","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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)."}} -{"id":"int-7e16fccbb985b4942cf8bace2a8bb7d4","kind":"field_change","created_at":"2026-07-23T21:37:42.460096183Z","actor":"Sam Catlow","issue_id":"archie-core-u64","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented concurrent SQLite and NATS task dispatch using containers.max_concurrency, with default same-repo serialization and race-tested dispatcher coverage."}} -{"id":"int-dd2e5e0351a12ea84b50ad3e3c3c42e3","kind":"field_change","created_at":"2026-07-23T21:46:52.85072403Z","actor":"Sam Catlow","issue_id":"archie-core-g1l","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-a6f23a24a14200e58047cb705b026703","kind":"field_change","created_at":"2026-07-23T21:49:40.094050867Z","actor":"Sam Catlow","issue_id":"archie-core-l1q","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-4b10e52acc74cd691919159a77b36f6d","kind":"field_change","created_at":"2026-07-23T21:58:50.804043554Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-b4c080744419b9e5838f016f0f7e3d2f","kind":"field_change","created_at":"2026-07-23T22:02:41.482197412Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-94134ef6491261db5696279899fe6e9b","kind":"field_change","created_at":"2026-07-23T22:05:09.970642059Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-22fa22c9e086bd94634514c7a7708cfb","kind":"field_change","created_at":"2026-07-23T22:28:08.383511654Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.4","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-52ef9df12424463a13205bb9f244a308","kind":"field_change","created_at":"2026-07-23T22:51:47.945822737Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-5834a8b380a56b2badadcf9575e40716","kind":"field_change","created_at":"2026-07-23T22:56:17.803871719Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.6","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-e854b54f66c451e2fe7bba43a2debaf0","kind":"field_change","created_at":"2026-07-23T22:58:57.94105369Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-d3c2080053c72c054c32f4d5befd2be0","kind":"field_change","created_at":"2026-07-23T23:08:11.15292258Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.7","extra":{"field":"status","new_value":"closed","old_value":"open","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.> 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.."}} -{"id":"int-029f2aa8429c3fd67bdc1541fd78f9c3","kind":"field_change","created_at":"2026-07-23T23:14:48.198047941Z","actor":"Sam Catlow","issue_id":"archie-core-5zh.8","extra":{"field":"status","new_value":"closed","old_value":"open","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., 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. 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."}} -{"id":"int-49d653540ccc3b48763790e39f72c0b1","kind":"field_change","created_at":"2026-07-23T23:15:04.490104273Z","actor":"Sam Catlow","issue_id":"archie-core-5zh","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-a3541f29c68ee77fb14b771c250c0e4a","kind":"field_change","created_at":"2026-07-24T00:20:21.405370187Z","actor":"Sam Catlow","issue_id":"archie-core-j7v","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-1832f412d824416e9751eef200ef6896","kind":"field_change","created_at":"2026-07-24T02:44:53.101352131Z","actor":"Sam Catlow","issue_id":"archie-core-633","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-8c96ed96d1fd074033c2cdea50978276","kind":"field_change","created_at":"2026-07-24T02:49:55.599150491Z","actor":"Sam Catlow","issue_id":"archie-core-mjj","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-4be2b65448981e66c8be987f90dd450a","kind":"field_change","created_at":"2026-07-24T02:49:56.020907928Z","actor":"Sam Catlow","issue_id":"archie-core-cen","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-6e7f123e648eede675f71a47a6d625d5","kind":"field_change","created_at":"2026-07-24T02:53:05.487749413Z","actor":"Sam Catlow","issue_id":"archie-core-p9h","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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)."}} -{"id":"int-a989b2ac7c63b3fb55d282e31a3762c2","kind":"field_change","created_at":"2026-07-24T03:04:57.847938132Z","actor":"Sam Catlow","issue_id":"archie-core-s1r","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Added LinkBranch stub methods to stubForge, prCapturingForge, testForge, and fakeForge. go build/vet/test ./... now clean across the whole module."}} -{"id":"int-658af3002022ace68e0334fcd9474795","kind":"field_change","created_at":"2026-07-25T13:04:34.515241923Z","actor":"Sam Catlow","issue_id":"archie-core-jfg","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-e10fcdc614ba8326110c92df848644e4","kind":"field_change","created_at":"2026-07-25T13:18:41.264515013Z","actor":"Sam Catlow","issue_id":"archie-core-abg.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-3eeb29cffb5a07d207e5868f32a774ff","kind":"field_change","created_at":"2026-07-25T13:19:18.70648179Z","actor":"Sam Catlow","issue_id":"archie-core-abg.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-c4053e2f44eba52e00c6f38c1f1370e4","kind":"field_change","created_at":"2026-07-25T13:32:20.878901024Z","actor":"Sam Catlow","issue_id":"archie-core-abg.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-ade7bbe3f5f618b9566adae672a81af1","kind":"field_change","created_at":"2026-07-25T13:34:08.916914537Z","actor":"Sam Catlow","issue_id":"archie-core-abg.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-f63dc5143ac1609213bd5957dbe5e763","kind":"field_change","created_at":"2026-07-25T13:39:30.289297073Z","actor":"Sam Catlow","issue_id":"archie-core-abg.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-c0e4ab2434fab9cfa19effff250555c3","kind":"field_change","created_at":"2026-07-25T13:45:51.783982595Z","actor":"Sam Catlow","issue_id":"archie-core-abg.14","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-b8cd906e09c839f92c7c48576927b525","kind":"field_change","created_at":"2026-07-25T13:45:52.454242845Z","actor":"Sam Catlow","issue_id":"archie-core-abg.15","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-33836c212cbd12ff4e500b000d717086","kind":"field_change","created_at":"2026-07-25T13:49:39.434278753Z","actor":"Sam Catlow","issue_id":"archie-core-756","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-433fd98d0e4b9be4b80b6ec7784e53cb","kind":"field_change","created_at":"2026-07-25T13:49:44.900726387Z","actor":"Sam Catlow","issue_id":"archie-core-340","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-a243ce01f7d91224bc187c6196018fbb","kind":"field_change","created_at":"2026-07-25T13:54:07.37462053Z","actor":"Sam Catlow","issue_id":"archie-core-abg.13","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-264c233314b7f679cb1fe2f04d58c32e","kind":"field_change","created_at":"2026-07-25T14:11:25.090726606Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.16","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Test task, cleaning up"}} -{"id":"int-c43edbd4c4a08c8218dd60a3c28bfc11","kind":"field_change","created_at":"2026-07-25T14:31:11.55938636Z","actor":"Sam Catlow","issue_id":"archie-core-abg.30","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-5ae3dbeeb2bd57f32b3ff639d8808c9b","kind":"field_change","created_at":"2026-07-25T14:31:11.741361743Z","actor":"Sam Catlow","issue_id":"archie-core-abg.30v","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-fee34ada4224c08d024409cf1634a339","kind":"field_change","created_at":"2026-07-25T15:04:35.464107193Z","actor":"Sam Catlow","issue_id":"archie-core-abg.19","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-00ef7a26b3c6d9d4449e2c546a8f9d5e","kind":"field_change","created_at":"2026-07-25T15:08:34.046521882Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-0ef896206280288b339ae3c2a026e4ba","kind":"field_change","created_at":"2026-07-25T15:13:09.046176022Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-bf3d80be2da850c4fa08e136de3f9c91","kind":"field_change","created_at":"2026-07-25T15:13:09.271318819Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-afd78d711236b198e15d242c295e5a80","kind":"field_change","created_at":"2026-07-25T15:21:23.006947125Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.2","extra":{"field":"status","new_value":"closed","old_value":"open","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)."}} -{"id":"int-d39b6f82de816078ef1df60cbec1c5a0","kind":"field_change","created_at":"2026-07-25T15:23:32.356734272Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass."}} -{"id":"int-3e0cb77a7b57ca90bc6b0a1f22ccf829","kind":"field_change","created_at":"2026-07-25T15:23:32.597282473Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.2","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass."}} -{"id":"int-715119bfadbd5d3c457ea5e9a29d0fa7","kind":"field_change","created_at":"2026-07-25T15:23:32.844357178Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.3","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass."}} -{"id":"int-66b10a553362be4e06152b703a4919e0","kind":"field_change","created_at":"2026-07-25T15:23:33.084552261Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass."}} -{"id":"int-6b0ca24bb27d75952390738268de31f2","kind":"field_change","created_at":"2026-07-25T15:23:33.321874909Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass."}} -{"id":"int-aacae436b27928ecd6cda174573eb4a9","kind":"field_change","created_at":"2026-07-25T15:23:33.562157245Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.6","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"MemoryProvider interface + optional sub-interfaces + lifecycle hooks + config helpers + backup paths + MemoryManager orchestrator implemented test-first in internal/memory/. 29 tests pass."}} -{"id":"int-7e2b3180310008bbae7c354e7fb10a07","kind":"field_change","created_at":"2026-07-25T15:24:22.791930064Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-992f27abadb81797528f45c40fea9c07","kind":"field_change","created_at":"2026-07-25T15:24:23.02580184Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-422a049f716a3ca280c372a057931eb6","kind":"field_change","created_at":"2026-07-25T15:24:23.251951162Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-f754dc9637d0b376e0f1701c9fbeea0a","kind":"field_change","created_at":"2026-07-25T15:24:23.488259784Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.10","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-d94aea85c90956e9d61177baf5dcc638","kind":"field_change","created_at":"2026-07-25T15:24:23.732562499Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.11","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-36e8aa1c0131dbf7628277c94bdb592f","kind":"field_change","created_at":"2026-07-25T15:27:32.360197031Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.19","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-954acaa0c7adb1d594e68f203437cec8","kind":"field_change","created_at":"2026-07-25T15:27:32.585196404Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.23","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-2c8e9bea91b69a9cb75d6fb30b8c4178","kind":"field_change","created_at":"2026-07-25T15:27:32.803258345Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.20","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-adbfa7442319c93f8d8e49a87305732a","kind":"field_change","created_at":"2026-07-25T15:27:33.026261421Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.21","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-22b970972bb9333977e7e064b9d126c1","kind":"field_change","created_at":"2026-07-25T15:27:33.262893811Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.22","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-70403be840b990778c69f39cd5894eef","kind":"field_change","created_at":"2026-07-25T16:08:00.178012286Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.11","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented NormalizeToolSchema + NormalizedTool in internal/memory/schema.go with full test coverage (bare, wrapped OpenAI, missing/invalid fields, JSON round-trip)."}} -{"id":"int-fa092e5444ed023e4d8daeff49e25d02","kind":"field_change","created_at":"2026-07-25T16:08:05.427035053Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.10","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"StreamingContextScrubber implemented: io.Writer interface, handles partial chunk boundaries, nested tags, missing close tags, zero-alloc fast path. Tests + lint clean."}} -{"id":"int-8d144d6738cdf86468269c0424b60896","kind":"field_change","created_at":"2026-07-25T16:08:39.732057473Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.24","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Clean adversarial review. All tests pass, vet/lint clean, no dead paths."}} -{"id":"int-37ef2599392cbe68d1b8944a46630cbb","kind":"field_change","created_at":"2026-07-25T16:11:35.298235743Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.23","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-285f2a001673f7b3a8ce08df8e47d8b4","kind":"field_change","created_at":"2026-07-25T16:15:45.609272912Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.12","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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()."}} -{"id":"int-30b36a3edf3b2ba0c239a7b736ca5083","kind":"field_change","created_at":"2026-07-25T16:15:45.878726664Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.13","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-0115782f93e240e118b4a2ef095e1a45","kind":"field_change","created_at":"2026-07-25T16:19:04.48015536Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.25","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-8e0ebb08c89849f49e813516b4fc9461","kind":"field_change","created_at":"2026-07-25T16:19:04.718015863Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.26","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-52f96e270d649b1bced40c8413f454d5","kind":"field_change","created_at":"2026-07-25T16:37:24.170852943Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.21","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-4793914aceec98d88c89f4c26150fc0b","kind":"field_change","created_at":"2026-07-25T16:37:24.381908734Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.22","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-19ebb6da19ab5166b816391fe4cd7b22","kind":"field_change","created_at":"2026-07-25T16:38:31.447730204Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.17","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-8769db8f453fbbff371252fd2bba0a2d","kind":"field_change","created_at":"2026-07-25T16:38:31.660898755Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.18","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-8b0119e0c7ea2d5d15e7f765c48961df","kind":"field_change","created_at":"2026-07-25T23:01:51.103045963Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.14","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Frozen snapshot pattern implemented in builtin Provider. Initialize() captures Render() of both MEMORY.md and USER.md into frozen string fields. SystemPromptBlock() returns -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."}} -{"id":"int-f00c56678ac172220a5f2d3972aa7285","kind":"field_change","created_at":"2026-07-25T23:10:29.789330677Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.30","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-8941ae728d6b49b4fc344d0bcb724be1","kind":"field_change","created_at":"2026-07-25T23:17:18.373518878Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.7","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-4438d43687589861ab6f65d5c98e33b8","kind":"field_change","created_at":"2026-07-25T23:17:23.183456981Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.8","extra":{"field":"status","new_value":"closed","old_value":"open","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 blocks. 5 tests covering success, result storage, skip, timeout, and timeout config."}} -{"id":"int-98f74ea5759555013a1f6436709aaded","kind":"field_change","created_at":"2026-07-25T23:17:24.266411759Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.9","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-a3a70bd837bb2265a6ee6ea46a0f6b33","kind":"field_change","created_at":"2026-07-25T23:17:25.698024336Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.15","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-67b64f95e043ff1be99785e5e2dd6286","kind":"field_change","created_at":"2026-07-25T23:17:27.067082578Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.16","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-d404d1f5de198e4199ad33a2f063014f","kind":"field_change","created_at":"2026-07-25T23:17:33.092985803Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.27","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-406b42a8902901bbe317fc5cc3a21968","kind":"field_change","created_at":"2026-07-25T23:17:34.534127715Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.28","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-423945f3eb7fc2df46fc79f561a6d86b","kind":"field_change","created_at":"2026-07-25T23:17:35.707997006Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.29","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-289f061e4426a54b61bfa8f486d317a6","kind":"field_change","created_at":"2026-07-25T23:17:38.368842703Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.31","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-138fadeeb00eb4322eb44c3c1bd95dd5","kind":"field_change","created_at":"2026-07-25T23:17:39.914588438Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18.32","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-9565442ae0dc8bb54b6fa626de3f239e","kind":"field_change","created_at":"2026-07-25T23:35:33.532076825Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-1ef49571d07aa56a9f62da2e4b682f2c","kind":"field_change","created_at":"2026-07-25T23:35:33.777076153Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-1155414d2ba9d289a0bc4989e88a4876","kind":"field_change","created_at":"2026-07-25T23:35:34.01817599Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.6","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-87cb4e86209cee2168e52693538e9f2e","kind":"field_change","created_at":"2026-07-25T23:35:34.263763404Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.7","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-dc75c221cc183f9fb2b265b5b36c528d","kind":"field_change","created_at":"2026-07-25T23:35:34.513196132Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.10","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-5ad04f6a4124b4dca58c6df068825c8a","kind":"field_change","created_at":"2026-07-25T23:35:34.761519788Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.11","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-c80cde62c5a1fae720299067bc218519","kind":"field_change","created_at":"2026-07-25T23:35:35.007898267Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.12","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-75713eda5a6c579cb3dcf475eb6da40e","kind":"field_change","created_at":"2026-07-25T23:35:35.280702152Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.13","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-15f22b29c71cbb5925efa5116343008b","kind":"field_change","created_at":"2026-07-25T23:35:35.522627765Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.14","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-3d5e2db89c58aed0a73f5c7d769ac4df","kind":"field_change","created_at":"2026-07-25T23:35:35.768725713Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.15","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 10 implementation issues done: 6 new files + 1 field addition. Full test coverage with race detector passing."}} -{"id":"int-2d75978b2bf7f4aadb041a7158a89573","kind":"field_change","created_at":"2026-07-25T23:37:37.472204139Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Per-tool MaxResultSizeChars enforcement added to dispatchOne and DispatchSequential. Results exceeding limit are spilled to disk or truncated inline."}} -{"id":"int-2796d5d66fb688b38d384f3d70e3b308","kind":"field_change","created_at":"2026-07-25T23:38:57.982213481Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.24","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-df6a35ae23c81be1292b0e200a614469","kind":"field_change","created_at":"2026-07-25T23:38:58.197776106Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.25","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-d1ccc6efe13fecdd9b8ff0652fb08a86","kind":"field_change","created_at":"2026-07-25T23:38:58.421328608Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.26","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-cef6fb2e45dc01a19b2d087ff2956239","kind":"field_change","created_at":"2026-07-25T23:38:58.633110641Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.27","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-9c389e39c4ec5b78409288586058e48b","kind":"field_change","created_at":"2026-07-25T23:38:58.861080266Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.28","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-cd6dd7c8abd0aebdf0973059d8228fda","kind":"field_change","created_at":"2026-07-25T23:38:59.079417356Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.29","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-32e86d9c3e84cba1422b4d8089807c8a","kind":"field_change","created_at":"2026-07-25T23:38:59.294127502Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.30","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-d5d74d452945e9e84764089a9f128946","kind":"field_change","created_at":"2026-07-25T23:38:59.508606862Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.31","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-5e6fb0692b12988b18036ef61d13b1be","kind":"field_change","created_at":"2026-07-25T23:38:59.726498594Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.32","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-545dedf3cc30f173f5850a2eb48e8125","kind":"field_change","created_at":"2026-07-25T23:38:59.952259984Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.33","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-ecff501780d1ac1847fde4cce143a44f","kind":"field_change","created_at":"2026-07-25T23:39:14.029723973Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.34","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"17.15 implemented and all verification checks pass: tests pass with -race, go vet clean, gofmt clean."}} -{"id":"int-788726cf9a33665619129cfe7ed59d5f","kind":"field_change","created_at":"2026-07-25T23:59:22.974405956Z","actor":"Sam Catlow","issue_id":"archie-core-abg.5.1","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-b8ade5d26d4c85cf20e8a17ed615f026","kind":"field_change","created_at":"2026-07-25T23:59:23.196009007Z","actor":"Sam Catlow","issue_id":"archie-core-9zb","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-9b6966bffbb02aa37e0f2f6a614ed5fb","kind":"field_change","created_at":"2026-07-25T23:59:23.351647241Z","actor":"Sam Catlow","issue_id":"archie-core-iol","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-d873f6c6069b7e3f865da0d93ac5162a","kind":"field_change","created_at":"2026-07-25T23:59:23.511036682Z","actor":"Sam Catlow","issue_id":"archie-core-abg.13.1","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-f255e51eabc1287d12213a4046156286","kind":"field_change","created_at":"2026-07-25T23:59:23.731880025Z","actor":"Sam Catlow","issue_id":"archie-core-y7x","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-dd49063a8056e0562903fe548bbc54b5","kind":"field_change","created_at":"2026-07-25T23:59:23.886904981Z","actor":"Sam Catlow","issue_id":"archie-core-ao0","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-f3b5dcc6f5a28925a1f5f32231ff7e7e","kind":"field_change","created_at":"2026-07-25T23:59:24.04561454Z","actor":"Sam Catlow","issue_id":"archie-core-gnr","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-5bb47bb5ed98eb8c90dcc0178207178f","kind":"field_change","created_at":"2026-07-25T23:59:24.201226228Z","actor":"Sam Catlow","issue_id":"archie-core-yss","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-06fcaeb6234a81af9b01a6fcbcd70e35","kind":"field_change","created_at":"2026-07-26T00:24:04.190065035Z","actor":"Sam Catlow","issue_id":"archie-core-abg.5.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-5cab918e773822151be2b3757e790c5a","kind":"field_change","created_at":"2026-07-26T00:26:43.755244658Z","actor":"Sam Catlow","issue_id":"archie-core-abg.32","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-4912b7215fd8685a362352a717f97e94","kind":"field_change","created_at":"2026-07-26T00:33:20.508523222Z","actor":"Sam Catlow","issue_id":"archie-core-abg.21","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-b16f6cbd9e07ffdda548068f45f7d5c7","kind":"field_change","created_at":"2026-07-26T00:36:24.951759308Z","actor":"Sam Catlow","issue_id":"archie-core-abg.33","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-db3068e0adbbf46c6cb58c53f2b401cd","kind":"field_change","created_at":"2026-07-26T00:39:58.81103818Z","actor":"Sam Catlow","issue_id":"archie-core-abg.5.3","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-7fd486a1d4525ef2785aaea7473f39ef","kind":"field_change","created_at":"2026-07-26T00:39:59.583793112Z","actor":"Sam Catlow","issue_id":"archie-core-abg.34","extra":{"field":"status","new_value":"closed","old_value":"open","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."}} -{"id":"int-d5928c0fb2a8a61739a144f143c08eb8","kind":"field_change","created_at":"2026-07-26T03:56:19.96387364Z","actor":"Sam Catlow","issue_id":"archie-core-abg.21v","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}} -{"id":"int-1b928359a8f1911ad44b0013ba085335","kind":"field_change","created_at":"2026-07-26T03:56:20.690318723Z","actor":"Sam Catlow","issue_id":"archie-core-abg.19v","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Adversarial review complete. Dead code removed from finalize() (Label='' no-op). Nil guard added to loadFeatureFile(). Remaining findings (UserHomeDir error handling, single-unknown-file reporting, feature file scope) documented as known trade-offs. 40/40 pass with -race."}} -{"id":"int-d82c9cf0274bb06f4070c0846adb32cf","kind":"field_change","created_at":"2026-07-26T04:35:33.165540188Z","actor":"Sam Catlow","issue_id":"archie-core-xec","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Foundation delivered and adversarially reviewed: internal/secret package + Forge.Token migration. Provider/NATS/Telegram generalization and the three engine plugins (sops/bws/vault-openbao) tracked as separate follow-up beads (xec.1-4)."}} -{"id":"int-80a3f772feb61770c722cb3f97f1682e","kind":"field_change","created_at":"2026-07-26T04:37:50.730570728Z","actor":"Sam Catlow","issue_id":"archie-core-abg.35","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Completed read-only Hermes takeover audit; findings and MVP remediation issues recorded."}} -{"id":"int-2425ec28d83336d86e30415878a7c20e","kind":"field_change","created_at":"2026-07-26T05:14:05.598128025Z","actor":"Sam Catlow","issue_id":"archie-core-50z","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Strict plugin-engine invariant documented in canonical architecture and shared AGENTS/CLAUDE instructions, persisted in Beads memory, mechanically enforced with adversarial negative controls, and independently reviewed with zero findings."}} -{"id":"int-38f79879f591db39607dfee925da3328","kind":"field_change","created_at":"2026-07-26T05:27:30.956059171Z","actor":"Sam Catlow","issue_id":"archie-core-abg.37","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Multi-identity composition and task ownership routing complete and build-verified end-to-end: cmd/archied constructs per-identity forge/worktree, internal/daemon resolves the owning identity for every forge/worktree operation on a task, EnqueueIssue and NATS messages carry identity, 4 isolation tests prove two identities sharing a repo never cross-resolve. go build ./... and go vet ./... clean repo-wide; cmd/archied and internal/daemon test suites pass including race detector. One documented follow-up (container/NATS-sandboxed execution not yet identity-aware) does not block this bead's own acceptance criteria."}} -{"id":"int-f73e8a99267999171ae87179f196cee7","kind":"field_change","created_at":"2026-07-26T06:32:43.299120824Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Multimodal result envelope implemented in internal/tools (MultimodalResult type) and internal/tools/mcp (Client.WithMediaDir, content-block classification, disk persistence). Adversarial review found and all fixes applied for: path traversal via untrusted server-supplied tool names, unbounded media size, and concurrent-call file clobbering, plus two low-severity content-handling gaps. 15+ tests, race-clean, build-clean repo-wide."}} -{"id":"int-00ff59b8c7da8efba4003f5a3769510d","kind":"field_change","created_at":"2026-07-26T06:36:48.70585515Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.20","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Client-level mechanism complete and adversarially reviewed (zero correctness findings): Client.parallelToolCalls + WithParallelToolCalls(bool), default-serialized CallTool via a per-client mutex, opt-in removes serialization, verified nil-safe/deadlock-free/race-free. Production wiring (config.MCPServer field + both NewClient call sites) filed separately as archie-core-abg.17.42 since it's a distinct, independently-completable piece of work."}} -{"id":"int-f10c367359943230c53a9b8a6b4a3540","kind":"field_change","created_at":"2026-07-26T06:38:08.344561397Z","actor":"Sam Catlow","issue_id":"archie-core-abg.40","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Capability host, manifest/lifecycle, composition, enforcement tests, and adversarial remediation complete"}} -{"id":"int-95afa4ca0522571efaf40101ff350c27","kind":"field_change","created_at":"2026-07-26T06:41:11.798776493Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Cryptographic pairing code generation implemented and adversarially reviewed with zero blocking findings: crypto/rand.Int rejection sampling confirmed unbiased, alphabet/indexing verified safe, error handling verified to never leak a malformed code. 6 tests, race-clean, lint-clean."}} -{"id":"int-c2ab6edb61d51643797f55c2978156d3","kind":"field_change","created_at":"2026-07-26T06:41:12.633287517Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Salted SHA-256 hashing with constant-time comparison implemented and adversarially reviewed with zero blocking findings. Design note about SHA-256-vs-slow-KDF tradeoff carried forward to archie-core-abg.22.3 (expiry/rate-limiting), which is what makes the SHA-256 choice defensible for this short-lived credential. 6 tests, race-clean, lint-clean."}} -{"id":"int-8ef6b17593115a89d4df404104289966","kind":"field_change","created_at":"2026-07-26T06:47:44.699840686Z","actor":"Sam Catlow","issue_id":"archie-core-a5w","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Read-only package evaluation completed and reported with prioritized, actionable findings."}} -{"id":"int-c0dace77ff8c77f5623b65f104cfee23","kind":"field_change","created_at":"2026-07-26T06:49:00.576735791Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Rate limiting, quotas, and lockout implemented and adversarially reviewed with zero blocking findings; 34 tests, race-clean, lint-clean."}} -{"id":"int-e42d8bef8b005a2a77761be31289c4d3","kind":"field_change","created_at":"2026-07-26T06:49:01.444365438Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Atomic per-platform file persistence implemented and adversarially reviewed; confirmed fails-closed on partial-write, zero blocking findings."}} -{"id":"int-872ddf5c98dcd161ec3a0a2c2aa5b080","kind":"field_change","created_at":"2026-07-26T06:49:15.405771977Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.12","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Covered by the adversarial review already run when closing abg.22.3 (agent a2c54d7a327f953c8): build/vet/lint clean, gofumpt clean, 34 tests race-clean. No dead code, no hardcoded test values (table-driven with fakeClock), lockout/rate-limit/quota logic traced and confirmed correct against acceptance criteria."}} -{"id":"int-cdb5f9d051fd25f5b6afa81c9ae4d799","kind":"field_change","created_at":"2026-07-26T06:49:15.912376316Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.13","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Covered by the same adversarial review run when closing abg.22.4: writeFileAtomic's temp+rename traced for atomicity, one real lint finding (unchecked os.Remove) fixed, permissions (0700 dir/0600 files) confirmed. Zero blocking findings."}} -{"id":"int-9aa6ccf6d157597f2b556ef4cac354a6","kind":"field_change","created_at":"2026-07-26T06:49:24.192945457Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.10","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Covered by the adversarial review run when closing abg.22.1: crypto/rand.Int rejection sampling confirmed unbiased regardless of alphabet size, alphabet/indexing verified safe, error handling verified to never leak a malformed code. 6 tests, race-clean, lint-clean."}} -{"id":"int-56aabc6d6e465408638a5c272bab15c1","kind":"field_change","created_at":"2026-07-26T06:49:24.698684598Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.11","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Covered by the adversarial review run when closing abg.22.2: salted SHA-256 hashing and subtle.ConstantTimeCompare verified sound for the threat model (leaked pending code, not password storage). 6 tests, race-clean, lint-clean."}} -{"id":"int-f3d1104379eae0783cd05a9dbec259b1","kind":"field_change","created_at":"2026-07-26T06:53:11.622557369Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Per-user/platform sliding-window rate limiter implemented and adversarially reviewed; one real finding (string-concat key collision risk) fixed before close, zero findings remain."}} -{"id":"int-fcd2e7faed708da4b354298a9a68dde5","kind":"field_change","created_at":"2026-07-26T06:53:12.148106028Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.17","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Covered by the adversarial review run when closing abg.22.8 (agent a6d50f2191d914681): build/vet/lint/gofumpt clean, race-clean, mutex discipline and slice-filter idiom traced correct. One real finding (key collision via string concatenation) fixed with a struct key + regression test before close."}} -{"id":"int-9263365e076e18d5c40463f511decd5c","kind":"field_change","created_at":"2026-07-26T06:58:23.837935383Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Escalating brute-force lockout implemented and adversarially reviewed with zero blocking findings; LockoutCount persistence across restart confirmed."}} -{"id":"int-50065b0a54ab73eb127ff41877f3ecda","kind":"field_change","created_at":"2026-07-26T06:58:24.455363869Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.18","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Covered by the adversarial review run when closing abg.22.9 (agent a0d701a1a058a9fe9): lockoutDuration doubling+cap verified safe, LockoutCount increment/reset paths traced correct, persistence round-trip confirmed with added test. Zero blocking findings."}} -{"id":"int-802dba5ab0ca799e85b495460253b6d1","kind":"field_change","created_at":"2026-07-26T07:42:14.449273431Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.41","extra":{"field":"status","new_value":"blocked","old_value":"in_progress"}} -{"id":"int-2508de6be960c7fba74de6bf16962500","kind":"field_change","created_at":"2026-07-26T17:29:24.996863094Z","actor":"Sam Catlow","issue_id":"archie-core-abg.38","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Chat-native task lifecycle implemented and adversarially reviewed; all blocking findings were false positives verified against actual code. 34 router tests + 15 controller tests covering full lifecycle. IsForgeBacked() guards daemon forge operations."}} -{"id":"int-1519f2b33e2c925537763158c89c62f9","kind":"field_change","created_at":"2026-07-26T17:43:11.314275162Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.17","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"HTTP/StreamableHTTP transport implemented and adversarially reviewed. HTTPTransport satisfies Transport interface (Send/Notify) via stateless HTTP POST, 7 tests race-clean lint-clean. One finding (missing compile-time interface assertion) fixed. Pre-existing StdioTransport test failure unrelated."}} -{"id":"int-b1cad8de3b9a95170376122128ed50ae","kind":"field_change","created_at":"2026-07-26T17:43:12.25808796Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.18","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"SSE transport implemented and adversarially reviewed. SSETransport with long-lived GET SSE connection, message ID correlation, exponential-backoff reconnection, correct goroutine lifecycle. 7 tests race-clean lint-clean, satisfies Transport interface, no blocking findings."}} -{"id":"int-79a8456ef9c42caa9babbca0e87b0e63","kind":"field_change","created_at":"2026-07-26T17:44:49.347208513Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.16","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Stdio transport implemented: JSON-RPC framing, subprocess lifecycle, auto-restart with exponential backoff. Two rounds of adversarial review found and fixed: dead SendTimeout field, Start()/Stop() TOCTOU race, and a Start()/attemptRestart-vs-Stop() race (extracted into shared commitSpawnedProcess guard). Final review: zero findings."}} -{"id":"int-73d136618f699f155055eb438881117a","kind":"field_change","created_at":"2026-07-26T17:44:50.351097372Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.23","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Adversarial review completed across two rounds; all findings fixed and re-verified clean."}} -{"id":"int-545cf6991d178c87be720cda75a8cecb","kind":"field_change","created_at":"2026-07-26T17:44:50.845655116Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.41","extra":{"field":"status","new_value":"closed","old_value":"blocked","reason":"Blocking dependency abg.17.16 closed; tool-provider engine work was already implementation-complete and previously reviewed clean."}} -{"id":"int-1b6bdffe51700db83938f5128b005a97","kind":"field_change","created_at":"2026-07-26T18:57:43.797683721Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.32","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented via go-telegram/bot v1.22.0 rich messages. gateway.LLMStreamResponder + Router.RouteStream provide the streaming seam (degrades to Route when unset); telegram draft.go streams deltas through sendRichMessageDraft throttled to 700ms; main.go derives blocking and streaming responders from one shared turn impl using runtime.ChatStream. Also removed the markdownToHTML converter from the prior commit -- v1.22 takes Markdown natively and supports tables, so the conversion was unnecessary. 4 RouteStream tests; full suite + golangci-lint clean."}} -{"id":"int-932a44040e5dc8c24f4212f377b16115","kind":"field_change","created_at":"2026-07-26T19:15:22.216249366Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.33","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Shipped in cec0f3e. 16.33: chat.telegram.allowed_user_ids plumbed through config; empty list now DENIES (was: allowed everyone); matches sender from.id not chat id so groups cannot inherit access; rejections logged with sender id; startup warns on empty list. Old TestIsChatAllowed asserted the vulnerable fail-open behaviour and was replaced with fail-closed tests. Sam's id 1312197967 added to carina's config.toml before push. 16.34: SetMyCommands publishes the command list Router actually handles; non-fatal on failure."}} -{"id":"int-51ec484ce6786e942b4127275b3fac4e","kind":"field_change","created_at":"2026-07-26T19:15:22.402251424Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.34","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Shipped in cec0f3e. 16.33: chat.telegram.allowed_user_ids plumbed through config; empty list now DENIES (was: allowed everyone); matches sender from.id not chat id so groups cannot inherit access; rejections logged with sender id; startup warns on empty list. Old TestIsChatAllowed asserted the vulnerable fail-open behaviour and was replaced with fail-closed tests. Sam's id 1312197967 added to carina's config.toml before push. 16.34: SetMyCommands publishes the command list Router actually handles; non-fatal on failure."}} -{"id":"int-b44a2378b0927cc61e4d22e5bb092014","kind":"field_change","created_at":"2026-07-26T19:21:59.711877413Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.35","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped. Start is now a supervisor loop; /restart hands off via buffered channel (handler runs on the bot being stopped, so inline teardown would deadlock); duplicate requests dropped; failed reload keeps previous settings so a bad edit cannot permanently kill chat; admin-only by construction via the allowlist. main.go Reload re-reads config for token+allowlist. 2 tests."}} -{"id":"int-992125ccd2337e4407963a7e70651acb","kind":"field_change","created_at":"2026-07-26T19:26:24.561475744Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.35","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped in e600cfa. Temporarily reopened after seeing a Telegram transcript where /restart fell through to the LLM, then Sam clarified that transcript predates deployment; no regression evidence."}} -{"id":"int-6d6e840984054dec54aee42bb99042a5","kind":"field_change","created_at":"2026-07-26T19:29:37.633205149Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.43","extra":{"field":"status","new_value":"open","old_value":"in_progress"}} -{"id":"int-e370a7bbd16c6f091d318dc5520481ef","kind":"field_change","created_at":"2026-07-26T19:29:37.633258328Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.43","extra":{"field":"assignee","new_value":"","old_value":"Sam Catlow"}} -{"id":"int-98886b5c0eed086effa6684ec75bbb48","kind":"field_change","created_at":"2026-07-26T20:33:10.385698708Z","actor":"Sam Catlow","issue_id":"archie-core-3ro","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped locally: Telegram calls the assistant Archie rather than Gateway; restart copy is Archie-facing; new sessions receive and preserve an Archie baseline identity; model selector shows provider in the header and provider-free model names; successful selections acknowledge the chosen model; model/provider callbacks use stable tokens so stale keyboards cannot select a different option. task check and lint pass; fresh review clean."}} -{"id":"int-09fd2039fe043eb9110fa9bdb678b3e9","kind":"field_change","created_at":"2026-07-27T01:44:06.19963429Z","actor":"Sam Catlow","issue_id":"archie-core-n55","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped locally: /models removed from Telegram menu, help, and Router; /model is the sole model selector/direct-switch command; /help menu text is now 'See what Archie can do'; command docs updated. task check passes and fresh review reports no findings."}} -{"id":"int-30b8e857c7ac14ce8bfbac49283d7853","kind":"field_change","created_at":"2026-07-27T02:53:55.882577468Z","actor":"Sam Catlow","issue_id":"archie-core-rqp.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped: authorized /version reports installed gateway and runtime build versions from the composition root; menu/help parity covered; task check and scoped lint clean; fresh review found no blocking issues."}} -{"id":"int-21fc57e924a09c3e2cc06dad0b9fc341","kind":"field_change","created_at":"2026-07-27T03:02:11.029169675Z","actor":"Sam Catlow","issue_id":"archie-core-rqp","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped: deployment-neutral /update with configured argv check/install adapters, gateway/runtime release sections, per-user exact-version persisted deferrals, recipient-bound expiring single-use callback actions, global install serialization, callback authorization, and truthful progress/failure. Webhook callback queries enabled. task check and scoped lint clean; adversarial review findings remediated."}} -{"id":"int-0515875f328056cbb0888785d35497c9","kind":"field_change","created_at":"2026-07-27T12:11:14.316202683Z","actor":"Sam Catlow","issue_id":"archie-core-5dn","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Investigated local Hermes CLI and current Archie implementation; added the requested parity TODO checklist."}} -{"id":"int-e2b07b5c81dd19cabd9e2a18ff94f7f7","kind":"field_change","created_at":"2026-07-27T12:20:51.572157777Z","actor":"Sam Catlow","issue_id":"archie-core-sc5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented gateway.BuildSystemPrompt rendering internal/gateway/templates/archie.md.tpl: instruction precedence, core rules, communication rules, and blocks, with PersonaRegistry kept as the style layer on top. Tool inventory is derived from the same core.ToolSet passed to the model (cmd/archied/toolSummaries) so prompt and reality cannot drift; empty toolset renders an explicit 'no tools are available'. Tool metadata is markup-escaped and whitespace-flattened against forged tags and forged list entries. task check clean: vet, full go test ./... , golangci-lint 0 issues on changed packages, gofumpt clean. Commit 7fde716. NOT yet deployed - not pushed."}} -{"id":"int-c52b1ab5add5f30c8a63b5f03e5faff7","kind":"field_change","created_at":"2026-07-27T13:47:42.515040687Z","actor":"Sam Catlow","issue_id":"archie-core-4we","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Ported tau internal/indexing/codesearch.go @ 4893818d0c76 into archie-core internal/indexing. Mutations: global config path helpers replaced by explicit indexing.Config + DefaultConfig(workDir) (two archied instances share carina and must not share an index); child-process helper is archied's own 'workspace-codesearch' subcommand in cmd/archied/codesearch.go, dispatched from main() before flag parsing so it touches no config/store/NATS; deferred db.Close explicitly discarded for errcheck. Added dep github.com/google/codesearch v1.3.0-rc.1 (uuid and modernc sqlite already present). Verified E2E against the real repo: 2.2MB indexed in 0.05s, correct hits, [] for no match, corrupt index -> clean error exit 1 rather than process death. task check clean; golangci-lint 0 issues on both packages. Commit c924281. NOT pushed. Follow-up: nothing calls indexing.NewManager yet -- it is ported and proven but not wired into the agent's grep path."}} -{"id":"int-eccef7ef7597bda3a8162e06651e8ea2","kind":"field_change","created_at":"2026-07-28T08:35:54.89529236Z","actor":"Sam Catlow","issue_id":"archie-core-6pp","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Removed all unauthorized source-project references and accompanying rationale; validation and independent review complete."}} -{"id":"int-629331053ed3e16cfc7e4c66ec2dd88b","kind":"field_change","created_at":"2026-07-28T09:32:22.211586558Z","actor":"Sam Catlow","issue_id":"archie-core-5d7.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Deterministic contract data JSON slice implemented test-first, validated, documented, and independently reviewed with zero surviving findings."}} -{"id":"int-55ed98c95700255238586f6ff93c3652","kind":"field_change","created_at":"2026-07-28T16:44:27.106135832Z","actor":"Sam Catlow","issue_id":"archie-core-5d7.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closing: architecture review campaign artifact. The architecture docs in docs/prds/architecture/ are complete and authoritative; no further planning/ledger work wanted."}} -{"id":"int-52feff629746da38afa24db770c6ee0d","kind":"field_change","created_at":"2026-07-28T16:44:27.867931268Z","actor":"Sam Catlow","issue_id":"archie-core-5d7","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closing: the target organisation is already documented in docs/prds/architecture/. Reopen only when implementing a specific slice, not to plan further."}} -{"id":"int-b69743c79727aafff0ac088d272fa9b2","kind":"field_change","created_at":"2026-07-28T17:04:39.103785378Z","actor":"Sam Catlow","issue_id":"archie-core-0zp","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a document: description says 'Produce a reviewed PRD/specification' and 'No CLI code is in scope until Sam approves the resulting PRD'. Per CLAUDE.md scope discipline, no new architecture/PRD documents. The actual CLI code surface is tracked by archie-core-abg.20."}} -{"id":"int-59c9ce786d14b392a4b8f2636ae33804","kind":"field_change","created_at":"2026-07-28T17:04:39.819786125Z","actor":"Sam Catlow","issue_id":"archie-core-abg.12","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a document: acceptance criteria is 'A design note describes how the identity/session model ... could extend to multiple operators later'. Explicitly non-blocking, no code. Design-note-only work per CLAUDE.md scope discipline."}} -{"id":"int-8752b1d3336f3537b32691a99213c481","kind":"field_change","created_at":"2026-07-28T17:04:40.272887982Z","actor":"Sam Catlow","issue_id":"archie-core-abg.8","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a document: acceptance criteria is 'A short findings note states whether agent-to-agent handoff can be built as new workflow.Stage entries ... with reasoning'. Investigation writeup, not code."}} -{"id":"int-f4f61c9c4bf664538244b3fa06ebebda","kind":"field_change","created_at":"2026-07-28T17:04:40.728777054Z","actor":"Sam Catlow","issue_id":"archie-core-x96.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a document: 'Write the findings up as docs/prds/agent-personas.md'; AC is that the markdown file exists. Discovery-interview-to-PRD work, closed per CLAUDE.md scope discipline."}} -{"id":"int-8a66ceffead9736f572319cc8a1abe67","kind":"field_change","created_at":"2026-07-28T17:04:41.472776708Z","actor":"Sam Catlow","issue_id":"archie-core-abg.18","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Superseded by merged work: all 32 children complete (32/32, bd flags it 'eligible for close'). MemoryProvider interface, built-in file-backed memory, MemoryManager, scrubber, drain and threat scanning all landed in internal/memory. Nothing left in scope."}} -{"id":"int-2e9e7d4b822d30ce888356d0a48dc987","kind":"field_change","created_at":"2026-07-28T17:04:46.517062597Z","actor":"Sam Catlow","issue_id":"archie-core-x96","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a document: AC states verbatim 'No code changes required to close this epic - the PRD is the deliverable.' Only child (x96.1, also a PRD-writing task) closed with it. --force used because its depends-on link to archie-core-abg is a soft ordering dependency, not open work inside x96."}} -{"id":"int-90f339c13b85cd20663e486464c3b253","kind":"field_change","created_at":"2026-07-28T17:04:56.862786881Z","actor":"Sam Catlow","issue_id":"archie-core-abg.10v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-b2d95032f98b15de5d550ddb9f7481dd","kind":"field_change","created_at":"2026-07-28T17:04:57.29762815Z","actor":"Sam Catlow","issue_id":"archie-core-abg.11v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-760d9bf9260505dfec733892bd516cf2","kind":"field_change","created_at":"2026-07-28T17:04:57.729763716Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.24","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-906dbcfa531e047470dd4d730108eb82","kind":"field_change","created_at":"2026-07-28T17:04:58.235486769Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.25","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-30271f2f9a0a29ea955c9c763f8d4cb9","kind":"field_change","created_at":"2026-07-28T17:04:58.728422757Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.26","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-bc222d03179011757de55d8977b8b942","kind":"field_change","created_at":"2026-07-28T17:04:59.219095345Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.27","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-e698e5e6b9ac856f476f3a93e9fcd129","kind":"field_change","created_at":"2026-07-28T17:04:59.71537752Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.28","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-0c3b7ae102f9798ac43e77ebbde6bf88","kind":"field_change","created_at":"2026-07-28T17:05:00.231866793Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.29","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-d83828dbdfe22a806116396fe86dda10","kind":"field_change","created_at":"2026-07-28T17:05:00.726175365Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.30","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-b32012a8e9bd88762e13ff8a3057c77f","kind":"field_change","created_at":"2026-07-28T17:05:01.245714936Z","actor":"Sam Catlow","issue_id":"archie-core-abg.16.31","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-93e81d8ad4db9b9af878073e767991c0","kind":"field_change","created_at":"2026-07-28T17:05:01.756353914Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.35","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-aae486dd40dff95b804528091421683b","kind":"field_change","created_at":"2026-07-28T17:05:02.223431671Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.36","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-848cbb1bf19511fd4c756ee1beb2e7f0","kind":"field_change","created_at":"2026-07-28T17:05:02.690871212Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.37","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-0abf5c690a4e80ce34f678408c50a48f","kind":"field_change","created_at":"2026-07-28T17:05:03.188400515Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.38","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-d9cb5364f2e2f79d14ac7ed719466f86","kind":"field_change","created_at":"2026-07-28T17:05:03.701805333Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.39","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-624a5dfcd9263e713ae71cee3d6fee21","kind":"field_change","created_at":"2026-07-28T17:05:04.192811373Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.40","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-9c7bc7f7a7b1dbcbd116490b5a330aba","kind":"field_change","created_at":"2026-07-28T17:05:04.702082764Z","actor":"Sam Catlow","issue_id":"archie-core-abg.20v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-4d07857914cea87aa62a7183e2ffbee5","kind":"field_change","created_at":"2026-07-28T17:05:05.144591944Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.14","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-ed7423dc4e50e08dd7b2805485bed612","kind":"field_change","created_at":"2026-07-28T17:05:05.682890111Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.15","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-1488e9e151b3cb28ea35f68a99b706ab","kind":"field_change","created_at":"2026-07-28T17:05:06.21151355Z","actor":"Sam Catlow","issue_id":"archie-core-abg.22.16","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-2d72a46692955a74ee070d06cc366ff4","kind":"field_change","created_at":"2026-07-28T17:05:06.724253302Z","actor":"Sam Catlow","issue_id":"archie-core-abg.23v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-73387edbb6ee7e104dfd2ba1e4726f4e","kind":"field_change","created_at":"2026-07-28T17:05:07.203578848Z","actor":"Sam Catlow","issue_id":"archie-core-abg.24.7","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-c890a4d2f3b9ec854200f3a1416221d2","kind":"field_change","created_at":"2026-07-28T17:05:07.731506119Z","actor":"Sam Catlow","issue_id":"archie-core-abg.24.8","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-7440d4c9c7b82978d29904d6f254ab20","kind":"field_change","created_at":"2026-07-28T17:05:08.234016744Z","actor":"Sam Catlow","issue_id":"archie-core-abg.24.9","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-c8a61e34b860127e5269eab3929d472d","kind":"field_change","created_at":"2026-07-28T17:05:08.766539266Z","actor":"Sam Catlow","issue_id":"archie-core-abg.24.10","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-24f9a6f05457b457a6fc383fe4f7b17f","kind":"field_change","created_at":"2026-07-28T17:05:09.28774835Z","actor":"Sam Catlow","issue_id":"archie-core-abg.24.11","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-f039f5a8a072c4d88ee45d7068d89a11","kind":"field_change","created_at":"2026-07-28T17:05:09.826569896Z","actor":"Sam Catlow","issue_id":"archie-core-abg.24.12","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-8ed8064e67b1d7420d22825442b071cc","kind":"field_change","created_at":"2026-07-28T17:05:10.341246337Z","actor":"Sam Catlow","issue_id":"archie-core-abg.25.6","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-b131aaa4e6100904f0348b15bbbf717c","kind":"field_change","created_at":"2026-07-28T17:05:10.858434567Z","actor":"Sam Catlow","issue_id":"archie-core-abg.25.7","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-16eb0557fab24081077817db2118c9b7","kind":"field_change","created_at":"2026-07-28T17:05:11.392908214Z","actor":"Sam Catlow","issue_id":"archie-core-abg.25.8","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-364bcaf937d17efb78e4a213d8113bba","kind":"field_change","created_at":"2026-07-28T17:05:11.916100335Z","actor":"Sam Catlow","issue_id":"archie-core-abg.25.9","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-65f6e22fe43cee86636a4dbc0a6b7ac9","kind":"field_change","created_at":"2026-07-28T17:05:12.439653912Z","actor":"Sam Catlow","issue_id":"archie-core-abg.25.10","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-7479d7cc1a3141d4b379c59aa5c5f76e","kind":"field_change","created_at":"2026-07-28T17:05:12.961921106Z","actor":"Sam Catlow","issue_id":"archie-core-abg.26v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-eac3b325380847070c6e66b8e1a626db","kind":"field_change","created_at":"2026-07-28T17:05:13.428119746Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.8","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-cff621725eec32582e99a25fcd02ca62","kind":"field_change","created_at":"2026-07-28T17:05:13.959799721Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.9","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-fb761e10c2e9e522046f86bdf6be0587","kind":"field_change","created_at":"2026-07-28T17:05:14.50365366Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.10","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-c3043efb926cee46eb0ee33d16a5b778","kind":"field_change","created_at":"2026-07-28T17:05:15.037791047Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.11","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-9ddabcd155414ae80bd166390ace0189","kind":"field_change","created_at":"2026-07-28T17:05:15.582608258Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.12","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-1a92603d97e5cb98ee94b453d370db1a","kind":"field_change","created_at":"2026-07-28T17:05:16.10389861Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.13","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-df435f5788249d542066d1eb38f92284","kind":"field_change","created_at":"2026-07-28T17:05:16.615776502Z","actor":"Sam Catlow","issue_id":"archie-core-abg.27.14","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-c47844d5977860045c0439982c7b2d15","kind":"field_change","created_at":"2026-07-28T17:05:17.122757123Z","actor":"Sam Catlow","issue_id":"archie-core-abg.28v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-35cc712c3d60a2f98729a090eb80fc24","kind":"field_change","created_at":"2026-07-28T17:05:17.572377513Z","actor":"Sam Catlow","issue_id":"archie-core-abg.29v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-09b552dd5def7abf885b961b7101c9eb","kind":"field_change","created_at":"2026-07-28T17:05:18.00917918Z","actor":"Sam Catlow","issue_id":"archie-core-abg.6v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-7649d6eb347ce0f49bd2766b120e3f0c","kind":"field_change","created_at":"2026-07-28T17:05:18.44578893Z","actor":"Sam Catlow","issue_id":"archie-core-abg.7v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-f2c806258794a31431d2720c91059047","kind":"field_change","created_at":"2026-07-28T17:05:18.868921223Z","actor":"Sam Catlow","issue_id":"archie-core-abg.9v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue."}} -{"id":"int-ac4986c5a4bbcce5a0e6c433a27200bb","kind":"field_change","created_at":"2026-07-28T23:56:02.19240915Z","actor":"Sam Catlow","issue_id":"archie-core-qa4.3","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-b7346a3255f018abd02be2fc2a95608e","kind":"field_change","created_at":"2026-07-28T23:56:03.016873405Z","actor":"Sam Catlow","issue_id":"archie-core-qa4.4","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-022fc3fc6a77da64b290b47d235147db","kind":"field_change","created_at":"2026-07-28T23:56:03.389443421Z","actor":"Sam Catlow","issue_id":"archie-core-24g","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-66f1c602101cca1055897203b9ddc36a","kind":"field_change","created_at":"2026-07-29T00:06:36.960641889Z","actor":"Sam Catlow","issue_id":"archie-core-o3l","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-7ac2caef3cada29de07b090b07c48834","kind":"field_change","created_at":"2026-07-29T00:10:45.782637298Z","actor":"Sam Catlow","issue_id":"archie-core-qa4.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-d2b3b90cb93d38eb23d3d2120738768a","kind":"field_change","created_at":"2026-07-29T00:13:03.819548678Z","actor":"Sam Catlow","issue_id":"archie-core-vq4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-fc8b703ac5f77deef0c0fa7fa4c6fd91","kind":"field_change","created_at":"2026-07-29T00:14:32.561829752Z","actor":"Sam Catlow","issue_id":"archie-core-24g","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Completed"}} -{"id":"int-121dfb79c17bb556e48b19bbfe6c1b0d","kind":"field_change","created_at":"2026-07-29T00:15:26.026966964Z","actor":"Sam Catlow","issue_id":"archie-core-qa4.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-56175e7ff25f356ec9f6f1b44d96597d","kind":"field_change","created_at":"2026-07-29T01:11:44.064703641Z","actor":"Sam Catlow","issue_id":"archie-core-uxk","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-07f5fbc5b999b3c33395e21ef0c068dc","kind":"field_change","created_at":"2026-07-29T01:11:44.270013581Z","actor":"Sam Catlow","issue_id":"archie-core-dkf","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-9eb7bbde4ce8579fa6ff44b2b7c8837b","kind":"field_change","created_at":"2026-07-29T16:14:12.750427109Z","actor":"Sam Catlow","issue_id":"archie-core-rs9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"text-based line patcher implemented in internal/infrastructure/configuration/tomlwrite; template embedded via configtemplate.go; tests pass, task check clean"}} -{"id":"int-4b7430d2b3e135f65dd02e869735ddcb","kind":"field_change","created_at":"2026-07-29T16:19:14.81881455Z","actor":"Sam Catlow","issue_id":"archie-core-ifi","extra":{"field":"status","new_value":"closed","old_value":"open"}} -{"id":"int-d72f7fa25fe6964e77322aefb6e51b92","kind":"field_change","created_at":"2026-07-29T16:19:22.842905807Z","actor":"Sam Catlow","issue_id":"archie-core-0d6","extra":{"field":"status","new_value":"closed","old_value":"open"}} -{"id":"int-708d599fdab7b76f04111619b278a3de","kind":"field_change","created_at":"2026-07-30T17:39:36.940566206Z","actor":"Sam Catlow","issue_id":"archie-core-v8x","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented SDK-backed provider discovery, unified Telegram model picker, safe catalog caching, and execution composition tests"}} -{"id":"int-f1b886821c69a4b52d422bc826c5c153","kind":"field_change","created_at":"2026-07-30T17:47:08.215418355Z","actor":"Sam Catlow","issue_id":"archie-core-6he","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Telegram confirmation edits now omit nil reply_markup; regression test passes"}} -{"id":"int-a5d387a7885fbe49d1a2b6d910b26fcf","kind":"field_change","created_at":"2026-07-30T22:45:57.584919906Z","actor":"Sam Catlow","issue_id":"archie-core-u4v","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Built-in BWS and custom secret engines are production-wired; provider SecretRefs resolve safely across root and identity execution paths; full gate and adversarial review pass"}} -{"id":"int-84add6a34b78c40cb9697eef5a9eb109","kind":"field_change","created_at":"2026-07-30T22:48:38.349111694Z","actor":"Sam Catlow","issue_id":"archie-core-u4v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Live BWS discovery verified and ai-sdk openai-compatible fallback restored; 4+ provider catalog can now surface; full gate and final adversarial review pass"}} -{"id":"int-0028087fab7b1cb24434a6dd79eb9e0e","kind":"field_change","created_at":"2026-08-03T09:02:40.775330657Z","actor":"Sam Catlow","issue_id":"archie-core-ci3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed by upgrading NellDB v0.2.5 -> v0.3.0 (go.mod). Root cause as recorded: v0.2.5 sdk.DocDB.AllDocs consumed Store.List without sorting and LogStore.List iterated a map. v0.3.0 gives List/AllDocs a deterministic (WallTime, Counter, collection, ID) order.\n\nVerified with the 17-message reproducer from this issue: position 0 is now seq 00 and all 17 return in order. No archie-core code change was needed for the ordering defect itself.\n\nThe wider blast radius noted on this issue (prompt history, /undo, /retry, branch/resume copying, search ordering) is covered by the internal/gateway migration in archie-core-b4i, which moves message history onto _ts + per-session collections + ScanSince paging. Session list ordering is unchanged and still sorts newest-first in listAllLocked."}} -{"id":"int-93ac7bddb1cd82f6136599b2deebdfb6","kind":"field_change","created_at":"2026-08-03T12:43:41.521288679Z","actor":"Sam Catlow","issue_id":"archie-core-8u8.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Verified durability and rollback regression coverage; focused/race/lint/format green and independent review has no surviving findings."}} -{"id":"int-7866a318104d743ab844af3f5f65b83b","kind":"field_change","created_at":"2026-08-03T13:03:16.844776253Z","actor":"Sam Catlow","issue_id":"archie-core-8u8.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"SQLite FTS lifecycle and literal-query guarantees are regression-protected; all focused/race/lint/format validation passes and independent review is clean."}} -{"id":"int-b1f91a20f5ac5daa001747e80d8dd574","kind":"field_change","created_at":"2026-08-03T13:16:36.024444137Z","actor":"Sam Catlow","issue_id":"archie-core-8u8.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"SourceID parity and metadata-safe persistence are verified on NellDB and SQLite; all focused/race/lint/format validation passes and independent review has no blockers."}} -{"id":"int-ee825a6b9c8e5d56d8d33f5a9a8a2a9c","kind":"field_change","created_at":"2026-08-03T15:17:17.214255978Z","actor":"Sam Catlow","issue_id":"archie-core-0y4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"File logging shipped: internal/logging with [log] file/level/max_size_mb/keep/quiet, size-based rotation with retention, no new dependency. A bad log path degrades to stderr with an error rather than killing the daemon. Verified end to end."}} -{"id":"int-8ebf0b3f2d74575081ee170b57704ffa","kind":"field_change","created_at":"2026-08-03T16:08:59.401228612Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Completed responsive table containment across dashboard, tasks, settings, and workflows; added narrow-screen filter wrapping and grid shrink safeguards. Validated with ui npm test and npm run build; live daemon verification requires restarting the embedded UI bundle."}} -{"id":"int-7dfa3e120596080b39bc36a78c34c7ea","kind":"field_change","created_at":"2026-08-03T16:17:40.662105361Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.7","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented layered project/shared/user-global skill discovery, deterministic precedence, global activation support, UI messaging, and tests."}} -{"id":"int-c21fcb5dcefe9c5d3c97c08a1b7e171d","kind":"field_change","created_at":"2026-08-03T16:27:58.198289341Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented activity-to-task navigation, task source links using configured forge host, and Tasks KPI/table spacing. UI tests, build, and diff checks pass."}} -{"id":"int-c71ac05621a752929c58e232a8507c75","kind":"field_change","created_at":"2026-08-04T12:25:25.181652246Z","actor":"Sam Catlow","issue_id":"archie-core-cz8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-3da01b667ab38bf334add7df8a18c0a8","kind":"field_change","created_at":"2026-08-04T12:25:25.937286678Z","actor":"Sam Catlow","issue_id":"archie-core-8k8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-ce7aff318c5f03425427d6e0b7603702","kind":"field_change","created_at":"2026-08-04T12:25:26.342673397Z","actor":"Sam Catlow","issue_id":"archie-core-7s3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-cd41d327d95d5e9fb8d9915ae17930cc","kind":"field_change","created_at":"2026-08-04T12:25:26.715151228Z","actor":"Sam Catlow","issue_id":"archie-core-jex","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-f782b0c2638b0a12d16180ecb4701142","kind":"field_change","created_at":"2026-08-04T12:25:27.112314833Z","actor":"Sam Catlow","issue_id":"archie-core-x35","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-fdf0265456d2f378d6d26948e61e2aff","kind":"field_change","created_at":"2026-08-04T12:25:27.498290224Z","actor":"Sam Catlow","issue_id":"archie-core-6e0","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-28c9cc5292bd7ac7dc4b655b57edf8f0","kind":"field_change","created_at":"2026-08-04T12:25:27.885008748Z","actor":"Sam Catlow","issue_id":"archie-core-i6q","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-b47373a147adbb99b00f6eae652ebcff","kind":"field_change","created_at":"2026-08-04T12:25:28.265789043Z","actor":"Sam Catlow","issue_id":"archie-core-la1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-9ff3ed9dcf6e448a81df008815e8eb8e","kind":"field_change","created_at":"2026-08-04T12:48:07.637756274Z","actor":"Sam Catlow","issue_id":"archie-core-b4i","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-7255404c7c20506786e2b078da5057df","kind":"field_change","created_at":"2026-08-04T12:48:08.009222426Z","actor":"Sam Catlow","issue_id":"archie-core-0ua","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-616cf0b91be6940f73463e75a55458d7","kind":"field_change","created_at":"2026-08-04T12:48:08.392664077Z","actor":"Sam Catlow","issue_id":"archie-core-gih","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-df8617cb487d97af587b3f9f77e29944","kind":"field_change","created_at":"2026-08-04T12:48:08.788683014Z","actor":"Sam Catlow","issue_id":"archie-core-963","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-2ae0ebee849143716e348170cadf0857","kind":"field_change","created_at":"2026-08-04T12:48:09.176704811Z","actor":"Sam Catlow","issue_id":"archie-core-rml","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-3be21f823391c1ca4f895e87e456dc3f","kind":"field_change","created_at":"2026-08-04T12:48:09.558765245Z","actor":"Sam Catlow","issue_id":"archie-core-12n","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-0acabfbc83fa1bd117fca76693a7846c","kind":"field_change","created_at":"2026-08-04T12:48:09.945490827Z","actor":"Sam Catlow","issue_id":"archie-core-iyx","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-ada12b543691cdbcf87cc50c0ee0f3ff","kind":"field_change","created_at":"2026-08-04T12:48:10.334971684Z","actor":"Sam Catlow","issue_id":"archie-core-8u8.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}} -{"id":"int-2f6f4fe49056cd5f69cff38279f533b0","kind":"field_change","created_at":"2026-08-04T13:33:08.314758463Z","actor":"Sam Catlow","issue_id":"archie-core-ky6","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}} -{"id":"int-290db7fb3dcd58215f7aa807c027d4a8","kind":"field_change","created_at":"2026-08-04T15:28:28.018920198Z","actor":"Sam Catlow","issue_id":"archie-core-5oa","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass."}} -{"id":"int-255bca6bd2735fff9704e54087ad3598","kind":"field_change","created_at":"2026-08-04T15:28:28.194396619Z","actor":"Sam Catlow","issue_id":"archie-core-g4c","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass."}} -{"id":"int-bc32e8e1d480f244e4d321f6a5614514","kind":"field_change","created_at":"2026-08-04T15:28:28.367302939Z","actor":"Sam Catlow","issue_id":"archie-core-3dn","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass."}} -{"id":"int-aaac30bcbe470bad73f365ecd86530c2","kind":"field_change","created_at":"2026-08-04T15:28:28.557167416Z","actor":"Sam Catlow","issue_id":"archie-core-hiy","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass."}} -{"id":"int-5bda94d6f0d8def3009ef445974cd3c8","kind":"field_change","created_at":"2026-08-04T18:17:25.101664074Z","actor":"Sam Catlow","issue_id":"archie-core-abg.7","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented shared Router-backed Web UI chat with streamed responses, persisted sessions, command parity, focused API tests, frontend tests/build, and task check verification. Deployment/restart intentionally not performed."}} -{"id":"int-8ddd94fb8bb36b651a15fefe4f75cd28","kind":"field_change","created_at":"2026-08-04T18:17:25.557697898Z","actor":"Sam Catlow","issue_id":"archie-core-abg.6","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented persistent Web chat sessions/history, new/resume controls, slash-command routing, model/personality controls, focused tests, frontend tests/build, and task check verification. Deployment/restart intentionally not performed."}} -{"id":"int-1a1ad5bf1b079993ffecc077db0857a3","kind":"field_change","created_at":"2026-08-04T18:24:04.814687364Z","actor":"Sam Catlow","issue_id":"archie-core-abg.41","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Refined Web Chat into a composer-first workspace with a compact conversation rail, centered empty state, prompt chips, quiet header controls, responsive layout, and constrained model selector. Verified with npm test, npm run build, Playwright MCP browser inspection, and task check."}} -{"id":"int-c482fbfaa2dbfe08ecd23b4f3c4b6574","kind":"field_change","created_at":"2026-08-04T18:28:45.488043363Z","actor":"Sam Catlow","issue_id":"archie-core-abg.42","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shared the release update service between Telegram and Web Chat; added Web check, defer, and explicit install API/UI controls with snapshot validation. Verified endpoint tests, frontend tests/build, Playwright MCP rendering, and task check."}} -{"id":"int-04e634f715d20567688d144451fd812a","kind":"field_change","created_at":"2026-08-04T18:32:01.275461123Z","actor":"Sam Catlow","issue_id":"archie-core-abg.43","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added safe Telegram-style Markdown rendering to Web Chat history and completed streamed replies, including headings, emphasis, links, lists, blockquotes, inline code, and fenced code blocks. Verified with Playwright MCP DOM assertions, npm test/build, and task check."}} -{"id":"int-7da2e291c35effc305fb2f1564aed37c","kind":"field_change","created_at":"2026-08-04T18:35:41.764041401Z","actor":"Sam Catlow","issue_id":"archie-core-abg.44","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shared Telegram's scoped adapter restart with Web Chat via the gateway router, callback registration, non-blocking Telegram queueing, and an explicit conditional Reload Telegram control. Verified with gateway/Telegram tests, Playwright MCP interaction, frontend tests/build, and task check."}} -{"id":"int-b57138dd266f25f31d699e39ffc044ff","kind":"field_change","created_at":"2026-08-05T00:10:51.772810903Z","actor":"Sam Catlow","issue_id":"archie-core-abg.45","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Extracted the sandbox dangerous-action contract into gateway, added Web pending approval/approve-for-24h/deny workflows for rollback and process stop, and kept the UI capability-gated. Telegram setup accepts the same authority contract. Verified endpoint/service tests, Playwright MCP approval-request rendering, frontend tests/build, and task check."}} -{"id":"int-a284f10e8c87a7f4fa74abaac6013bdf","kind":"field_change","created_at":"2026-08-05T00:13:40.942188398Z","actor":"Sam Catlow","issue_id":"archie-core-abg.46","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added shared gateway command specs, capability-aware Web command catalog, and structured command help rendering. Verified with endpoint tests, Playwright MCP discovery checks, frontend tests/build, and task check."}} -{"id":"int-3cdd9193703ca30fddc295f25ebbe195","kind":"field_change","created_at":"2026-08-05T00:17:59.133880053Z","actor":"Sam Catlow","issue_id":"archie-core-abg.47","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Moved release update formatting into releaseupdate, added shared gateway UpdateService and /update dispatch, and wired both Web and Telegram routers to the same service. Verified gateway/release/Telegram tests, Playwright typed /update streaming behavior, frontend tests/build, and task check."}} -{"id":"int-7f0ac8bd2e6f3b45c5c7597dc631dcf5","kind":"field_change","created_at":"2026-08-05T00:21:18.894310238Z","actor":"Sam Catlow","issue_id":"archie-core-abg.48","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added shared typed dangerous approval dispatch: numeric /approve remains task approval, action IDs support /approve, /approve permanent, and /deny. Web service auto-wires into Router when available. Verified gateway tests, Playwright typed approval streaming, frontend tests/build, and task check."}} -{"id":"int-25668391a894be116544c3dde270889d","kind":"field_change","created_at":"2026-08-05T00:27:43.436096919Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented additive active model/provider and per-session personality state in the chat sessions API, provider-aware Web selectors, immediate shared /model commands, focused API coverage, npm tests/build, Playwright verification, and full task check."}} -{"id":"int-d8e96f6742d6b7a7e75298bac01bad8f","kind":"field_change","created_at":"2026-08-05T00:33:29.114742884Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.10","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added an accessible slash command palette to the Web Chat composer, sourced from the capability-aware shared command catalog. Supports live filtering, keyboard navigation, Escape dismissal, and pointer selection. npm tests/build, Playwright MCP keyboard/pointer verification, and full task check pass."}} -{"id":"int-8b5fe89cb5076ca4aef421db824afe00","kind":"field_change","created_at":"2026-08-05T00:36:17.789718413Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.11","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Extended the safe Web Markdown renderer with semantic tables and strikethrough, reusing inline formatting for cells. Playwright MCP verified table headers/body rows, bold cells, and del output; npm tests/build and full task check pass."}} -{"id":"int-deb638666436fbb5ce793c5baf8160bf","kind":"field_change","created_at":"2026-08-05T00:40:48.245647124Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.12","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Web update installation now requires and revalidates the displayed snapshot before installing; shared releaseupdate.SameAvailable comparison is used by Web and Telegram. Added stale/unchanged API tests and Playwright request-body verification. Full task check passes."}} -{"id":"int-0aa90a55daf825cb879d1f9e5994d1e3","kind":"field_change","created_at":"2026-08-05T00:42:41.164725606Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.13","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added a contextual Web Chat session-actions menu for retry, undo, rename, branch, and compression preview. Actions dispatch shared gateway commands and refresh the active session/history. Playwright MCP verified the menu and /undo dispatch; npm tests/build and full task check pass."}} -{"id":"int-372ffda198062c9e0fbe7227f944455e","kind":"field_change","created_at":"2026-08-05T00:44:40.646054541Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.14","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Aligned command discovery without weakening the intentional dangerous-command hiding rule: /start is now in the shared gateway catalog and Telegram menu; Web slash completion inherits it. Focused and full task-check suites pass."}} -{"id":"int-5f9f3d143801b3cff4f9b81e6f4183dd","kind":"field_change","created_at":"2026-08-05T00:49:48.079957662Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.15","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented server-side Web turn cancellation, authenticated cancel endpoint, immediate session event, UI Stop wiring, API test; task check and UI tests/build pass."}} -{"id":"int-f88b0cf8d1dc0762f57c600400786f58","kind":"field_change","created_at":"2026-08-05T01:01:36.902978334Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.16","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Markdown is now a dedicated tested renderer and Chat markup/view/state are split into dedicated source files; Playwright and task check pass."}} -{"id":"int-553fa90f40f535e02818c79eb5cc966d","kind":"field_change","created_at":"2026-08-05T01:01:37.127559733Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.17","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Markdown is now a dedicated tested renderer and Chat markup/view/state are split into dedicated source files; Playwright and task check pass."}} -{"id":"int-ea20588b819e2907c7b8adb63e8f4f9f","kind":"field_change","created_at":"2026-08-05T01:05:24.113971725Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.17","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Split chat.html, chat.css, markdown.js, chat-view.js, chat-render.js, chat-state.js, chat-catalog.js, and chat-panels.js; browser and full gate pass."}} -{"id":"int-25a7a3e0b1d07e6e55bd9f4a5111f683","kind":"field_change","created_at":"2026-08-05T01:13:00.221558079Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added explicit task timeline controls with keyboard operation, accessible state/relationships, focus styling, DOM regression coverage, Playwright verification, and task check."}} -{"id":"int-2110034178629d2fc64fdbc3872e1dbf","kind":"field_change","created_at":"2026-08-05T01:20:16.450475463Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.18","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Web Chat now replaces the live assistant bubble with the safe Markdown renderer on every streamed delta; unit coverage, Playwright verification, npm tests, build, and task check pass."}} -{"id":"int-7b1c4881d61026eb5259af44cfffaaa0","kind":"field_change","created_at":"2026-08-05T01:46:35.622632267Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.19","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added typed-nil Web Chat update endpoint regression test; it currently fails with the observed nil-pointer panic as intended."}} -{"id":"int-7b90bba1ba3aef3019f4ffe32aa61df5","kind":"field_change","created_at":"2026-08-05T01:52:33.010867085Z","actor":"Sam Catlow","issue_id":"archie-core-3cf.20","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed typed-nil update service handling in Web Chat and releaseupdate, added nil-service coverage, and passed affected-package tests, race tests, vet, and builds. Full task check remains blocked by unrelated internal/tools/builtin/TestFindFallback_CancelledWalkReportsError."}} -{"id":"int-03f8b60d93b113c6e5e82682d3608a46","kind":"field_change","created_at":"2026-08-05T01:53:08.810860407Z","actor":"Sam Catlow","issue_id":"archie-core-ts9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed the cancellation guard; runFindGoFallback now returns an error result when ctx.Err() fires instead of falling through to 'no matches found'. Test + fix in 6d47fb3."}} -{"id":"int-b30bfd157cd704a8d9e677fb537fce64","kind":"field_change","created_at":"2026-08-05T01:55:45.419121893Z","actor":"Sam Catlow","issue_id":"archie-core-3fb","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Push now checks the worktree's origin remote for an HTTP(S) scheme and fails immediately naming the missing forge.token config, instead of letting go-git fail late with a bare transport error. Local transports unaffected. 69bc618."}} -{"id":"int-448e0c65b5d5f87507fcf725c2f77d43","kind":"field_change","created_at":"2026-08-05T01:57:20.927553571Z","actor":"Sam Catlow","issue_id":"archie-core-bfw","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Removed --force and its help line rather than fake an up-to-date check go build's own cache already makes unnecessary. 625e0ba."}} -{"id":"int-b3ed851e1514fb2bdfd08047f847440c","kind":"field_change","created_at":"2026-08-05T01:57:21.771300149Z","actor":"Sam Catlow","issue_id":"archie-core-c6o","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Added a default case: unknown options now print a diagnostic naming the flag and exit 1, per the agreed (a) option. 625e0ba."}} -{"id":"int-c1fe6d38b84f3a32e5ff142fef85a196","kind":"field_change","created_at":"2026-08-05T01:57:22.198712359Z","actor":"Sam Catlow","issue_id":"archie-core-utt","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Detection now requires positive Linger=yes and falls through to enable-linger (idempotent) on any other outcome, including a failed/empty loginctl call; uses $(id -un) instead of $USER. 625e0ba."}} -{"id":"int-994d988e7e0b0b0ca18c9dc95697d537","kind":"field_change","created_at":"2026-08-05T02:44:49.686671248Z","actor":"Sam Catlow","issue_id":"archie-core-ewk.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Exported Validate(cfg *config.Config) error wrapping the unexported validate; Loader.finalize now calls it. Documented that it doesn't apply defaults, so setup should render+reload through a Loader rather than call Validate on a hand-built config directly. 82fd015."}} -{"id":"int-77aba9bbe52b8e697c888fee3f452198","kind":"field_change","created_at":"2026-08-05T02:47:24.466276431Z","actor":"Sam Catlow","issue_id":"archie-core-via","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Defined Prompter (Select/ReadLine/ReadSecret/Confirm, all context-aware) in internal/infrastructure/configuration/setup, and a real TTY-gated implementation in internal/infrastructure/terminalprompt. Construction refuses a non-terminal input with a clear message rather than a degraded fallback. b04733c."}} -{"id":"int-ae335a9efd6546eafb010a5e4ab24406","kind":"field_change","created_at":"2026-08-05T02:58:58.454077695Z","actor":"Sam Catlow","issue_id":"archie-core-cbk","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented Run in internal/infrastructure/configuration/setup: operator, provider, models, forge, chat(telegram) steps, returning tomlwrite edits (not a parallel config.Config). Tested by rendering+loading through a real Loader. Found and fixed two boot-time landmines in config.example.toml along the way ([providers.openai] bws default, [[repos]] placeholder). 56d684a."}} -{"id":"int-199608b5a75e0656f5588a9e9769f035","kind":"field_change","created_at":"2026-08-05T04:23:35.480944746Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.3","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-807c0bfa32b573810961a590e666e96f","kind":"field_change","created_at":"2026-08-05T04:23:35.655154884Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.5","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-a35915621451865f63e3dc02a85f663d","kind":"field_change","created_at":"2026-08-05T04:23:35.833440967Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.7","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-c009a300902078abd705e1703b0cf732","kind":"field_change","created_at":"2026-08-05T04:23:36.015993075Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.14","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-54f7fd84050f409c89d45c4ce5c86533","kind":"field_change","created_at":"2026-08-05T04:23:36.211080415Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.25","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-1e1d209179d47901b9a76713c9d6877c","kind":"field_change","created_at":"2026-08-05T04:23:36.427302171Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.24","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-b8c4b80e05b0760cc5ddfa690f4bddfa","kind":"field_change","created_at":"2026-08-05T04:23:36.636676694Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.26","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-2e92c16044f0b5c1ff964b26e9abf779","kind":"field_change","created_at":"2026-08-05T04:23:36.804448838Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.27","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-df7db2f07c3f013cefd5d427f766fea6","kind":"field_change","created_at":"2026-08-05T04:23:37.003152861Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.33","extra":{"field":"status","new_value":"open","old_value":"closed"}} -{"id":"int-e7538b713cd9d6932e3d759ef294b5f5","kind":"field_change","created_at":"2026-08-05T07:20:39.887488125Z","actor":"Sam Catlow","issue_id":"archie-core-n8l","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Duplicate of archie-core-7ma, which has the sharper diagnosis (regression from 44f914c's v0.2.5->v0.3.0 bump, not a long-standing prefix squat). Fix landed under 7ma."}} -{"id":"int-edf64421a584e5b563db3e2878a17c75","kind":"field_change","created_at":"2026-08-05T07:20:50.789955047Z","actor":"Sam Catlow","issue_id":"archie-core-7ma","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed forward on v0.3.0 (no pin-back; sdk.MessageRange is v0.3.0-only so a revert would drag the session/message store with it).\n\ninternal/nell/adapter.go:\n- Counters moved off the SDK-reserved prefix: meta:task_id_counter -> counter:task_id, meta:event_id_counter -> counter:event_id.\n- migrateCounters() seeds the new keys from the old docs at open. The old doc is readable (only Put fails) and its next_id is load-bearing: restarting at 1 would reissue IDs belonging to live tasks. Old doc left in place; removing it is the op that cannot succeed. Migration failure is now fatal at OpenStore rather than silently starting a fresh sequence.\n- isMetaKey -> isReservedKey. Counter ids matched EXACTLY, not by prefix: task keys are owner:repo:number, so a counter: prefix rule would black-hole every task in a repo owned by 'counter' (enqueue succeeds, then invisible to ClaimNext/Tasks/StatusCounts forever).\n- EnqueueIssue now persists identity, which it previously accepted and silently dropped -- every forge-polled task was unattributed, diverging from the SQLite store and breaking multi-identity dispatch.\n\nTests (internal/nell/counter_repro_test.go): persisted log -> write -> reopen -> write again (the missing red test); migration continues a seeded sequence; migration failure prevents opening; identity round-trips; a task owned by 'counter' stays visible.\n\ngo build/vet/test ./... clean; lint at baseline."}} -{"id":"int-7a545490a53d8e491ddeebe7ae4fa1a4","kind":"field_change","created_at":"2026-08-05T07:20:59.251143818Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.7","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Now integrated, not just implemented. agentexec.BuildToolSet applies the per-tool result cap and the per-turn budget inside the Execute closure it builds for every tool -- the one path from a ToolEntry to a model. tools.CapPayload is the single definition of the cap/spill rule, shared with the batch-dispatch path. Limits are configurable via [tools.tool_policy] (max_result_chars, turn_budget_chars, spill_dir), which previously had no toml tags and could not be set at all. Budget is minted per turn/stage, never shared. Adversarial pass fixed a double-charge (Spill billed the full displaced size on top of the caller's charge) and cross-turn spill filename collisions."}} -{"id":"int-860bc7fc4c800ff799eda762ce6b8d55","kind":"field_change","created_at":"2026-08-05T07:20:59.532604119Z","actor":"Sam Catlow","issue_id":"archie-core-abg.17.25","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Now integrated, not just implemented. agentexec.BuildToolSet applies the per-tool result cap and the per-turn budget inside the Execute closure it builds for every tool -- the one path from a ToolEntry to a model. tools.CapPayload is the single definition of the cap/spill rule, shared with the batch-dispatch path. Limits are configurable via [tools.tool_policy] (max_result_chars, turn_budget_chars, spill_dir), which previously had no toml tags and could not be set at all. Budget is minted per turn/stage, never shared. Adversarial pass fixed a double-charge (Spill billed the full displaced size on top of the caller's charge) and cross-turn spill filename collisions."}} diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl deleted file mode 100644 index cc93b7736..000000000 --- a/.beads/issues.jsonl +++ /dev/null @@ -1,410 +0,0 @@ -{"_type":"issue","id":"archie-core-n8l","title":"fix(nell): counters squat on the SDK-reserved meta: prefix, blocking all writes after restart","description":"TOTAL OUTAGE. No task can be queued and no event recorded; survives restarts.\n\ninternal/nell/adapter.go:946,952 store auto-increment counters at meta:task_id_counter and meta:event_id_counter. The NellDB SDK reserves the meta: prefix for its own bookkeeping (sdk/replicate.go:841 isInternalID = id[:5]==\"meta:\").\n\nDocDB.reindex() skips internal ids when rebuilding the in-memory rev cache (sdk/docdb.go:128-137), but the record stays in the log. So after a restart Get returns the counter doc WITH its _rev while d.revs has no entry, and putIn rejects exactly that: 'incomingRev != \"\" \u0026\u0026 !exists' -\u003e ErrConflict (sdk/docdb.go:213-217). Permanent.\n\nHits nextTaskID (every EnqueueIssue) and nextEventID (every InsertEvent). processNATSTask Naks on error so NATS redelivers forever.\n\nReproduced: internal/nell/counter_repro_test.go - open, insert, close, reopen, insert -\u003e ErrConflict in 7ms with no daemon/NATS/forge.\n\nSECOND DEFECT: isInternalID exists to exclude records from replication, so the two carina instances never converge their counters and would allocate COLLIDING task IDs. Masked only because allocation currently fails outright.\n\nFIX: move the keys out of the reserved namespace (counter:task_id / counter:event_id) AND migrate on open - the old doc is readable (only Put fails), and its next_id is load-bearing because restarting at 1 would reissue live task IDs. Also teach isMetaKey (adapter.go:803) to skip the new prefix so scans do not parse a counter as a task.\n\nREJECTED: stripping _rev before Put is one line and works, but leaves the prefix squat, leaves counters unreplicated, and turns a loud failure into silent last-write-wins.\n\nFull writeup: docs/incident-nelldb-counter-conflict.md","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T06:38:32Z","created_by":"Sam Catlow","updated_at":"2026-08-05T07:20:40Z","started_at":"2026-08-05T07:02:30Z","closed_at":"2026-08-05T07:20:40Z","close_reason":"Duplicate of archie-core-7ma, which has the sharper diagnosis (regression from 44f914c's v0.2.5-\u003ev0.3.0 bump, not a long-standing prefix squat). Fix landed under 7ma.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-cz8","title":"fix(gateway): /compress destroys message identity, breaking dedup permanently","description":"applyCompress (session_commands.go:561-573) rebuilds retained head/tail turns as bare Message{From, Text}, dropping MessageID, SourceID and At. newMessageID with an empty SourceID returns a random UUID, so every protected message is deleted and re-inserted under a new identity with source_id NULL and _ts reset to now.\n\nCONFIRMED by two independent reviewers, executed on BOTH backends. Before compress, redelivering tg-59 is a correct no-op (60 stays 60). After compress the same redelivery duplicates (24 -\u003e 25). So archie-core-963's whole guarantee survives only until the first /compress -- after that, a Telegram 24h backlog replay on restart appends every surviving message a second time.\n\nAlso violates messaging-and-work-intake.md:88-90 (immutable application-generated MessageID) and 112-114 (immutable records), and dangles any branch-point correlation to the old IDs.\n\nBlocks archie-core-963 and archie-core-0ua.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:00:51Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:25Z","started_at":"2026-08-03T16:13:11Z","closed_at":"2026-08-04T12:25:25Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8u8","title":"feat(gateway): migrate canonical session/message store to SQLite","description":"docs/architecture/messaging-and-work-intake.md:107 requires the canonical session and message implementation to supply durable SQLite round trips. The current store is NellDB-backed.\n\nScope is the SETTLED parts of the messaging architecture only:\n- SQLite persistence (modernc.org/sqlite; FTS5 verified available at 3.53.3, no CGo)\n- application-generated canonical MessageID, platform IDs as correlation only (doc 88-90)\n- immutable message records (doc 112-114)\n- append-only linear sequence per conversation (doc 128)\n- real transactions for ReplaceMessages and Delete\n\nExplicitly OUT of scope: the rich typed-content / tool-call / tool-result model and delivery-attempt semantics. docs/architecture/messaging-and-work-intake.md:273-284 lists the canonical inbound message model, source-correlation model, and outbound delivery/retry/dedup semantics as DECISIONS STILL REQUIRED, so they are not specified enough to implement. That work belongs to archie-core-abg.16.\n\nDecision by Sam 2026-08-03 after the third review surfaced that the NellDB-vs-SQLite question was already settled by the architecture docs.","notes":"SQLite SessionStore implemented and verified 2026-08-03. Not yet wired into production.\n\nAdded (no existing production file touched):\n- internal/gateway/session_store_sqlite.go -- SessionStore on modernc.org/sqlite. Real sql.Tx for ReplaceMessages and Delete, which is the actual reason for the migration: /compress gets genuine atomicity instead of the write-then-delete approximation the NellDB path needs. FTS5 external-content index (content='messages', content_rowid='id') kept in sync by AFTER INSERT/UPDATE/DELETE triggers, so sync is enforced by the schema and no Go code path can forget it.\n- internal/gateway/sessionstore_conformance_test.go -- runSessionStoreSuite(t, newStore), the backend-agnostic contract.\n- Conformance hooks for both backends.\n\nVERIFIED, not taken on trust:\n- 19 identical subtest groups pass against BOTH backends. The suite is the migration gate.\n- FTS index does not drift: search and count stay equal through delete (5-\u003e3), replace (-\u003e1) and session delete (-\u003e0); no cross-session leak.\n- FTS5 syntax injection neutralised: 'text:hello', '\"unbalanced', 'NEAR(a b)', '*', 'needle OR elsewhere' all return 0 hits with no error, confirming terms are escaped phrases AND'ed rather than operators.\n\nBehavioural differences from NellDB, both improvements:\n- MessagePage.Truncated is always false. SQLite gives an exact COUNT(*), so the MaxTextSearchLimit ceiling that field exists to describe does not apply.\n- SourceID is persisted and round-trips; the NellDB path derives the canonical ID from it but never stores it.\n\nCleanup: the two agents ran in parallel, so the SQLite implementation shipped 22 standalone tests written before the suite existed. 18 duplicated suite coverage and were removed (701 -\u003e 170 lines); the 4 kept are genuinely SQLite-specific (transaction atomicity, Truncated semantics, error paths, file creation).\n\ntask check clean, golangci-lint ./internal/gateway/... 0 issues, -race clean.\n\nREMAINING: wire cmd/archied over (config switch), decide the NellDB path's retirement, adversarial review of the combined diff.","status":"open","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T10:03:05Z","created_by":"Sam Catlow","updated_at":"2026-08-03T11:54:41Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-0ua","title":"fix(gateway): make /compress failure-safe","description":"applyCompress swallows MessageCount and DeleteRecentMessages errors (allCount, _ := and _, _ =) then deletes all messages BEFORE saving the compressed replacement. A crash or error between the two loses the session's entire history unrecoverably. Add a store-level ReplaceMessages that saves first and deletes the previously-listed IDs after, so the failure mode is recoverable duplicates rather than total loss.","notes":"ADVERSARIAL PASS CLEARED 2026-08-04. All blockers fixed and committed:\n- archie-core-8k8 (bare /compress could never apply, so this failure-safe path was unreachable) -\u003e cf74d9c\n- archie-core-6e0 (mid-compress message destroyed) -\u003e 3dd42a5, which changed ReplaceMessages to take the superseded set from the caller\n- archie-core-cz8 (identity) -\u003e cf74d9c\nThe core claim held under probing: write-then-delete on both backends, no record deleted that was just written, an injected failure leaves the full history with the error propagated.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T09:25:26Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:08Z","closed_at":"2026-08-04T12:48:08Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-b4i","title":"fix(gateway): chronological message ordering — _ts + per-session collections","description":"SaveMessages keys from i=0 and overwrites the first N messages of any non-empty session (verified: m0/m1 destroyed by a bulk save). SaveMessage derives seq from len(rows) so deletes cause key reuse. The 'at' timestamp is written and never read; ordering is by insertion counter, not time.\n\nFix: add Message.At, write nell.TimestampField (_ts), give each session its own NellDB collection (a room IS a collection), key messages by time-ordered unique IDs, and order/page via sdk.ScanSince. Clean break on existing data (carina is a testing ground).","notes":"ADVERSARIAL PASS CLEARED 2026-08-04. All blockers fixed and committed:\n- archie-core-7s3 (resolve/List newest-first) -\u003e 740ec50\n- archie-core-8u8.2 (both backends agree on recency) -\u003e 02a3630\n- archie-core-cz8 (/compress no longer re-mints identity or timestamps) -\u003e cf74d9c\nThe bead's own claims were verified by execution and held: _ts numeric on every write path, clamp survives restart and a backwards clock, 32 concurrent saves produce no duplicate _ts, paging over 2500 messages is lossless, per-session collection names need no sanitisation.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T02:27:48Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:08Z","closed_at":"2026-08-04T12:48:08Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ci3","title":"Telegram chat replies use stale and reordered session context","description":"Live Telegram conversation shows replies answering earlier user messages and replayed user history in non-chronological order. Trace ingestion, turn lanes, Nell persistence/history ordering, prompt construction, and response routing to identify the production cause.","acceptance_criteria":"Root cause is demonstrated with code path, live evidence, and a focused reproducer; affected ordering contract and correct fix seam are identified.","notes":"2026-08-03: Ordering half is FIXED by upgrading NellDB to v0.3.0 (go.mod v0.2.5 -\u003e v0.3.0). The ci3 17-message reproducer now passes: position 0 is seq 00 and all 17 are in order via the existing AllDocs path. No archie-core code change was required for the ordering defect — v0.3.0 gives List/AllDocs a deterministic (WallTime, Counter, collection, ID) order, which is exactly the unsorted-map root cause recorded above.\n\nStill open, tracked in archie-core-b4i (separate defect, not an ordering bug): SaveMessages keys from i=0 and destroys the first N messages of a non-empty session, and SaveMessage derives seq from len(rows) so deletes cause key reuse. Verified by reproducer.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-31T05:15:30Z","created_by":"Sam Catlow","updated_at":"2026-08-03T09:02:41Z","started_at":"2026-07-31T05:15:40Z","closed_at":"2026-08-03T09:02:41Z","close_reason":"Fixed by upgrading NellDB v0.2.5 -\u003e v0.3.0 (go.mod). Root cause as recorded: v0.2.5 sdk.DocDB.AllDocs consumed Store.List without sorting and LogStore.List iterated a map. v0.3.0 gives List/AllDocs a deterministic (WallTime, Counter, collection, ID) order.\n\nVerified with the 17-message reproducer from this issue: position 0 is now seq 00 and all 17 return in order. No archie-core code change was needed for the ordering defect itself.\n\nThe wider blast radius noted on this issue (prompt history, /undo, /retry, branch/resume copying, search ordering) is covered by the internal/gateway migration in archie-core-b4i, which moves message history onto _ts + per-session collections + ScanSince paging. Session list ordering is unchanged and still sorts newest-first in listAllLocked.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.33","title":"Telegram: allowlist senders, fail closed when unset","description":"telegram.New is called with a nil allowlist and isChatAllowed returns true when the allowlist is empty, so any Telegram user who finds the bot can talk to it. AllowedChatIDs is not plumbed into config at all. This gates exposing any real tools to the chat agent: with an MCP shell/filesystem server wired, allow-all becomes RCE for arbitrary senders.","acceptance_criteria":"Allowlist is configurable via config.toml. Unset means deny, not allow. Sender identity (user id) is checked, not just chat id, so a group chat cannot be used to bypass it. Rejections are logged with the sender id. Startup logs loudly when the chat gateway is enabled with an empty allowlist.","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T19:11:40Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:15:22Z","closed_at":"2026-07-26T19:15:22Z","close_reason":"Shipped in cec0f3e. 16.33: chat.telegram.allowed_user_ids plumbed through config; empty list now DENIES (was: allowed everyone); matches sender from.id not chat id so groups cannot inherit access; rejections logged with sender id; startup warns on empty list. Old TestIsChatAllowed asserted the vulnerable fail-open behaviour and was replaced with fail-closed tests. Sam's id 1312197967 added to carina's config.toml before push. 16.34: SetMyCommands publishes the command list Router actually handles; non-fatal on failure.","dependencies":[{"issue_id":"archie-core-abg.16.33","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T05:11:40Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.17.41","title":"Tool-provider engine: lifecycle registry with MCP and memory providers","description":"Build the typed tool-provider capability family over the central tools registry. Providers declare a plugin manifest, lifecycle/health, and discover executable ToolEntry values. Add adapters for memory.Manager and configured MCP servers, perform MCP initialize/tools-list/tools-call, register handlers atomically with collision rollback, translate available entries to ai-sdk core.ToolSet, and wire consumers so registered tools are actually callable rather than dead daemon fields.","design":"internal/tools owns Provider and ProviderRegistry; Provider is a typed domain contract and uses the shared plugin manifest/lifecycle vocabulary. The registry owns provider registration and tool indexing while the capability host orchestrates cross-family lifecycle. Memory is adapted without changing internal/memory concurrent work. MCP provider wraps the existing stdio transport without modifying its concurrent implementation, adds protocol client behavior in new files, prefixes/sanitizes server tool names deterministically, and retains original MCP names for calls. Never advertise a tool on an execution path that cannot invoke its handler; explicitly proxy or omit tools across subprocess/NATS boundaries.","acceptance_criteria":"Provider registration is atomic and rejects duplicate provider/tool IDs without partial state. Start/discovery failure rolls back tools and lifecycle; stop removes availability and shuts providers down in reverse order. Memory provider tools appear in the central registry and execute through memory.Manager. A fake MCP server proves initialize, initialized notification where supported, tools/list discovery, tools/call execution, JSON-RPC errors, shutdown, and name mapping. Available tools convert to valid ai-sdk core.ToolSet and are used by the gateway conversational loop and supported agent execution paths; unsupported remote paths do not advertise unusable handlers. Configuration creates providers through typed factories. Focused/race tests, lint, task check, and fresh adversarial review pass subject only to documented concurrent baseline failures.","notes":"Implemented typed provider.Engine + provider.Registry capability family; atomic central RegisterBatch/Unregister; dependency-ordered start/discovery, bounded rollback, retryable failed cleanup, reverse stop and health aggregation. Added memory.Manager adapter and lifecycle-managed MCP adapter with initialize/list/call, deterministic ASCII name mapping, original-name dispatch, tool errors, resource text and multimodal preservation. Composition uses typed config factory, omits unsupported HTTP/unknown transports, registers the family with capabilityHost, defers gateways until host+daemon startup, shuts memory down, builds validated ai-sdk ToolSets, uses independent 8-step chat loop, and exposes handlers only to Telegram chat/in-process agents. Focused race tests pass; scoped lint 0; fresh final adversarial review 0 findings. task check passes every package except known concurrent internal/gateway /spawn tests. Dependency abg.17.16 remains independently in progress.\nImplementation and review are complete; Beads closure is intentionally deferred because required transport issue archie-core-abg.17.16 is still open. Close without --force when that dependency completes.","status":"closed","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T05:11:10Z","created_by":"Sam Catlow","updated_at":"2026-07-26T17:44:51Z","started_at":"2026-07-26T06:22:50Z","closed_at":"2026-07-26T17:44:51Z","close_reason":"Blocking dependency abg.17.16 closed; tool-provider engine work was already implementation-complete and previously reviewed clean.","dependencies":[{"issue_id":"archie-core-abg.17.41","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T15:11:09Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.41","depends_on_id":"archie-core-abg.40","type":"blocks","created_at":"2026-07-26T15:11:17Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.17.41","depends_on_id":"archie-core-abg.17.16","type":"blocks","created_at":"2026-07-26T15:11:18Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":2,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.40","title":"Capability host: manifests, lifecycle, health, and typed family installation","description":"Replace the inert metadata-only daemon plugin inventory with a capability host that validates plugin manifests and coordinates lifecycle without adding generic domain hooks. The host owns module identity/API compatibility/dependency ordering/start/health/stop state; typed family registries remain responsible for capability registration. Wire it into archied startup/shutdown and expose status without passing *daemon.Daemon to plugins.","design":"Keep plugin.Plugin exactly Name/Version. Add a validated Manifest and lifecycle vocabulary in internal/plugin plus a Host that manages manifests and lifecycle only. Capability packages receive narrow typed registrars; the host must not become an any-typed service locator. Start in dependency order, roll back a partially failed start, stop in reverse order, isolate panics/errors, and return immutable health snapshots. Preserve existing Yaegi loading through an adapter or manifest synthesis for metadata-only legacy plugins.","acceptance_criteria":"Manifest validation covers stable ID, semantic version, host API compatibility, declared capability kinds, dependencies, permissions, and optional config schema. Duplicate IDs, missing dependencies, cycles, incompatible API versions, and invalid manifests fail deterministically. Host lifecycle tests prove dependency-ordered start, rollback, reverse stop, health aggregation, idempotent shutdown, and panic/error isolation. archied owns one host and starts/stops it. plugin.Plugin remains metadata-only and architecture tests pass. task check and lint are green apart from explicitly identified concurrent baseline failures; fresh adversarial review has no surviving findings.","notes":"Implemented strict manifest validation, dependency-ordered lifecycle, bounded/retryable rollback cleanup, reverse shutdown, health snapshots, legacy metadata adapter, and archied composition. Removed divergent daemon PluginRegistry. TDD focused tests, race tests, lint, formatting, and independent adversarial re-review all pass with zero surviving findings. Repository-wide task check remains separately subject to concurrent gateway work.","status":"closed","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T05:11:09Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:38:08Z","started_at":"2026-07-26T05:14:06Z","closed_at":"2026-07-26T06:38:08Z","close_reason":"Capability host, manifest/lifecycle, composition, enforcement tests, and adversarial remediation complete","dependencies":[{"issue_id":"archie-core-abg.40","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T15:11:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.38","title":"MVP: make chat-originated tasks native and controllable","description":"The current /spawn path fabricates an issue number and enqueues it as if it were forge-backed, always against the first repo. The task schema has no source or identity, the workflow later performs forge labels/comments against a nonexistent issue, and /approve and /cancel are absent. Add a native chat task source routed through the same daemon-owned workflow and review gates without pretending a forge issue exists.","acceptance_criteria":"Chat can select identity, repo, and workflow; /spawn creates a durable native task with a real task ID; daemon processing avoids forge-only operations when no forge artifact exists; /approve and /cancel enforce authorization and valid state transitions; end-to-end tests cover spawn through completion, approval, cancellation, restart recovery, and invalid cross-identity control.","notes":"Adversarial review completed. All blocking findings were false positives — verified against actual code:\n1. /approve and /cancel ARE implemented (gateway.go:292-320, tasks.go:198-224)\n2. Daemon processing GUARDS forge operations via IsForgeBacked() (daemon.go:666,672,715,727,751,944)\n3. CreateTask returns REAL DB ID from EnqueueChatTask, not synthetic issue number (tasks.go:113)\n4. Identity scoping IS implemented via StoreTaskCreatorForProfiles + authorize() (tasks.go:70-224)\n5. handleStatus HAS nil check for r.Store (gateway.go:336-338)\n6. int overflow on 32-bit — not our platform (deployed on 64-bit Linux)\n7. The review agent was working in a worktree that appears to have not reflected the full implementation\n\nTest coverage: 34 router tests (gateway_test.go), 15+ StoreTaskCreator/Controller tests (tasks_test.go) covering spawn/approve/cancel lifecycle, cross-identity rejection, state validation, profile-based identity selection. Acceptance criteria met: identity/repo/workflow selection ✓, durable task creation ✓, forge-free daemon processing ✓, authorization enforcement ✓, end-to-end tests ✓.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T04:37:01Z","created_by":"Sam Catlow","updated_at":"2026-07-26T17:29:25Z","started_at":"2026-07-26T15:18:54Z","closed_at":"2026-07-26T17:29:25Z","close_reason":"Chat-native task lifecycle implemented and adversarially reviewed; all blocking findings were false positives verified against actual code. 34 router tests + 15 controller tests covering full lifecycle. IsForgeBacked() guards daemon forge operations.","dependencies":[{"issue_id":"archie-core-abg.38","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T14:37:01Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.37","title":"MVP: complete multi-identity composition and task ownership routing","description":"The multi-identity types are not instantiated by cmd/archied, and the identity loop still polls with root Config fields then drains into root Forge, Trees, Config, and repo lookup. Tasks do not persist source identity. Complete the end-to-end ownership path so overlapping repo assignments for archie and winter cannot be claimed or acted on by the wrong identity.","acceptance_criteria":"All items now DONE and build-verified: composition root builds every identity with its own forge/worktree -- DONE + VERIFIED (go build ./cmd/... passes). Task records carry identity -- DONE. NATS messages carry identity -- DONE. Polling/claiming/processing/labels/comments/pushes/PRs use owning identity -- DONE for in-process execution (documented gap for container mode, tracked separately, does not block this bead). Production-shaped two-identity-same-repo isolation test -- DONE (4 tests, race-clean).","notes":"VERIFIED: go build ./cmd/... now succeeds (Codex's concurrent main.go blocker resolved) and all cmd/archied tests pass, including TestRegisterTaskRPCServersReachableFromClient and TestChatTaskWriterAdapter (Codex's abg.38 additions) alongside the identity-construction block added for this bead. Full repo: go build ./... clean, go vet ./... clean. Remaining test failures repo-wide are entirely within internal/gateway (Codex's own in-progress abg.38 work, not touched by this bead).\n\nFinal scope delivered: internal/secret... no wait, internal/daemon identity routing (identityFor/forgeFor/treesFor/repoFor) threaded through process/reconcilePRs/checkWaiting/markDead/pollSQLite/pollNATS/acknowledge/maybeRetryParked; EnqueueIssue + NATS TaskMessage carry identity end-to-end; cmd/archied/main.go constructs one forge.Forge + worktree.Manager per configured identity via daemon.NewIdentityRunner; 4 dedicated isolation tests (two identities sharing one repo, proving no cross-resolution or root fallback). Known documented gap: container/NATS-sandboxed execution (runViaAgent) still proxies through registerTaskRPCServers, wired to root forge/trees only -- tracked as a follow-up, not blocking this bead's acceptance criteria since the in-process path (default/common case) is fully identity-scoped.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T04:36:52Z","created_by":"Sam Catlow","updated_at":"2026-07-26T05:27:31Z","started_at":"2026-07-26T04:55:23Z","closed_at":"2026-07-26T05:27:31Z","close_reason":"Multi-identity composition and task ownership routing complete and build-verified end-to-end: cmd/archied constructs per-identity forge/worktree, internal/daemon resolves the owning identity for every forge/worktree operation on a task, EnqueueIssue and NATS messages carry identity, 4 isolation tests prove two identities sharing a repo never cross-resolve. go build ./... and go vet ./... clean repo-wide; cmd/archied and internal/daemon test suites pass including race detector. One documented follow-up (container/NATS-sandboxed execution not yet identity-aware) does not block this bead's own acceptance criteria.","dependencies":[{"issue_id":"archie-core-abg.37","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T14:36:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.36","title":"MVP: run gateway conversations through the full agent/tool loop","description":"The Telegram responder currently calls runtime.Chat with MaxSteps=1 and no tool set. Email and webhook routers receive a nil responder. The central tool registry is empty/unconsumed; MCP transports are started without initialize/list/register/stop; the memory manager is not part of chat; skills and guardrails are not available to gateway turns. Replace the one-shot responder with one shared session-scoped conversational agent path used by Telegram, email, and webhook, preserving archie-core's daemon-owned safety boundaries.","acceptance_criteria":"A gateway turn can use approved built-in tools, configured MCP tools, memory, skills, compression, and guardrails through a multi-step agent loop; Telegram, email, and webhook share this path; tool transports are initialized, discovered, registered, and shut down; an end-to-end test proves an inbound message causes a tool call and a delivered reply.","notes":"cmd/archied/main.go's MCP server startup loop now completes the full lifecycle: transport.Start -\u003e mcp.NewClient -\u003e Initialize (handshake) -\u003e RegisterTools (discovers and registers tools into toolReg), with Stop() deferred for graceful shutdown on daemon exit. Previously it only called transport.Start() and stopped -- this closes that gap for real, not just in a standalone tested package.\n\nAlso wired in this pass: skill.Catalog(cfg.WorkDir) -\u003e skill.ActivateTool(...) registered into toolReg (skill_activate tool, progressive disclosure); memManager.GetToolSchemas() entries registered into toolReg (memory tools). Daemon.ToolRegistry is now actually populated with real tools at startup instead of staying empty -- verified via go build ./... and go test ./cmd/archied/... (all green, including Codex's own TestRegisterTaskRPCServersReachableFromClient and TestChatTaskWriterAdapter tests, confirming no collision with the concurrent abg.38 work landing in the same file).\n\nDeliberately NOT touched: the Telegram/email/webhook responder construction and the runtime.Chat(MaxSteps:1) call itself. internal/gateway's test suite is still red (Codex's own in-progress abg.38 work, TestRouteSpawn* failures + a panic) -- that's a live signal the gateway package isn't stable yet, so wiring toolReg into the actual chat turn (agentexec.ToolSet(toolReg) + MaxSteps\u003e1 on the GenerateOptions passed to llm.Chat) is left as the next step once gateway.go stabilizes. All the pieces to do that wiring now exist and are tested: agentexec.ToolSet (converts tools.Registry -\u003e ai-sdk core.ToolSet), the populated toolReg itself, and memory.Manager.SystemPromptBlock() (already used for the system prompt).","status":"in_progress","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T04:36:42Z","created_by":"Sam Catlow","updated_at":"2026-07-26T05:30:07Z","started_at":"2026-07-26T04:51:22Z","dependencies":[{"issue_id":"archie-core-abg.36","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T14:36:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_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":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:05Z","created_by":"Sam Catlow","updated_at":"2026-07-26T17:44:50Z","closed_at":"2026-07-26T17:44:50Z","close_reason":"Adversarial review completed across two rounds; all findings fixed and re-verified clean.","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":"closed","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-26T17:44:49Z","started_at":"2026-07-25T15:36:30Z","closed_at":"2026-07-26T17:44:49Z","close_reason":"Stdio transport implemented: JSON-RPC framing, subprocess lifecycle, auto-restart with exponential backoff. Two rounds of adversarial review found and fixed: dead SendTimeout field, Start()/Stop() TOCTOU race, and a Start()/attemptRestart-vs-Stop() race (extracted into shared commitSpawnedProcess guard). Final review: zero findings.","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":2,"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":"closed","priority":0,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-25T14:02:22Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:41Z","closed_at":"2026-07-28T17:04:41Z","close_reason":"Superseded by merged work: all 32 children complete (32/32, bd flags it 'eligible for close'). MemoryProvider interface, built-in file-backed memory, MemoryManager, scrubber, drain and threat scanning all landed in internal/memory. Nothing left in scope.","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-7ma","title":"Daemon: every task/event write fails with 'sdk: revision conflict' after NellDB v0.3.0 bump — counter RMW permanently broken","description":"## Symptom (observed 2026-08-05, task dev session)\n\n- Every 1m poll logs `issue queued` for the same open issue (sam/archie-core#8) again.\n- Every attempt logs `event sink insert failed: err=\"sdk: revision conflict\"` (cmd/archied/main.go:373, the event-sink goroutine calling st.InsertEvent).\n- The daemon's own task consumer logs `nats enqueue failed: err=\"sdk: revision conflict\"` (internal/daemon/daemon.go:599, calling Store.EnqueueIssue) and NAKs; JetStream redelivers to max-deliver 3 (triples of errors every ~2 min in the log).\n- The task doc is never persisted, so the enqueue dedup check always passes and the poll re-queues forever. Work never reaches the agent; dashboard shows a stuck/no-op task.\n\n## Exact cause\n\nCommit 44f914c bumped github.com/samcharles93/NellDB v0.2.5 -\u003e v0.3.0 touching only go.mod/go.sum. v0.3.0 changed the DocDB rev-cache rebuild:\n\n- v0.2.5 sdk/docdb.go reindex() indexed EVERY record by rec.ID, including Archie's meta:task_id_counter / meta:event_id_counter docs.\n- v0.3.0 sdk/docdb.go reindex() skips any id where isInternalID() is true (sdk/replicate.go:841: id[:5] == \"meta:\"), intended only for the SDK's own meta:clock/meta:vector bookkeeping but prefix-matching Archie's counter docs too.\n- v0.3.0 putIn (sdk/docdb.go:208-216) keeps the same conflict rule as v0.2.5: incomingRev != \"\" \u0026\u0026 !exists -\u003e sdk.ErrConflict.\n\nArchie's Adapter.nextCounter (internal/nell/adapter.go:957) is a Get -\u003e mutate -\u003e Put RMW that supplies the _rev returned by Get (joinDoc copies the payload, which putIn re-stamps with _rev). After any restart the counter docs are present in the log but absent from the rev cache, so exists=false and every counter Put conflicts. The counter doc can never be written again, so the cache is never repopulated — the failure is permanent for the lifetime of the DB, every process run, from the first poll.\n\nRepro (standalone, module cache, v0.3.0): open log, Put meta:task_id_counter, close, reopen, Get (rev e.g. \"1-69bfa51d...\"), Put with that rev -\u003e \"sdk: revision conflict\". First run of a fresh DB succeeds (empty-rev init Put is allowed); every subsequent process restart fails.\n\nWhy tests are green: OpenMemory/fresh-log tests initialize the counter via empty-rev Put within the same process; TestPersistenceAcrossRestart reopens a real log but only reads (TaskByIssue) and never exercises the counter RMW after reopen. The production path (restart an existing log, then enqueue) is untested.\n\n## Evidence\n\n- go.mod: github.com/samcharles93/NellDB v0.3.0 (no replace).\n- git show 44f914c --stat: go.mod, go.sum, .gitignore only; internal/nell/ untouched since.\n- Module cache diff !nell!d!b@v0.2.5 vs @v0.3.0: sdk/docdb.go reindex()/putIn(), sdk/replicate.go isInternalID.\n- /tmp/nell-repro: deterministic ErrConflict on counter RMW after reopen.\n\n## Fix direction\n\nOptions, in order of preference: (1) pin back to v0.2.5 (verified-2026-07-28 semantics) until adapter is migrated; (2) stop supplying _rev in nextCounter (drop rev from the RMW doc before Put — v0.3.0 continues the chain from the cached rev when incomingRev == \"\"), but that breaks the MVCC chain for the counter when the cache lacks it; (3) upstream: isInternalID should match exact SDK ids (meta:clock, meta:vector), not the meta: prefix, or reindex should index meta docs. Any fix must add a red test: open persisted log, EnqueueIssue, reopen, EnqueueIssue again -\u003e no conflict.","status":"closed","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-05T06:37:35Z","created_by":"Sam Catlow","updated_at":"2026-08-05T07:20:51Z","closed_at":"2026-08-05T07:20:51Z","close_reason":"Fixed forward on v0.3.0 (no pin-back; sdk.MessageRange is v0.3.0-only so a revert would drag the session/message store with it).\n\ninternal/nell/adapter.go:\n- Counters moved off the SDK-reserved prefix: meta:task_id_counter -\u003e counter:task_id, meta:event_id_counter -\u003e counter:event_id.\n- migrateCounters() seeds the new keys from the old docs at open. The old doc is readable (only Put fails) and its next_id is load-bearing: restarting at 1 would reissue IDs belonging to live tasks. Old doc left in place; removing it is the op that cannot succeed. Migration failure is now fatal at OpenStore rather than silently starting a fresh sequence.\n- isMetaKey -\u003e isReservedKey. Counter ids matched EXACTLY, not by prefix: task keys are owner:repo:number, so a counter: prefix rule would black-hole every task in a repo owned by 'counter' (enqueue succeeds, then invisible to ClaimNext/Tasks/StatusCounts forever).\n- EnqueueIssue now persists identity, which it previously accepted and silently dropped -- every forge-polled task was unattributed, diverging from the SQLite store and breaking multi-identity dispatch.\n\nTests (internal/nell/counter_repro_test.go): persisted log -\u003e write -\u003e reopen -\u003e write again (the missing red test); migration continues a seeded sequence; migration failure prevents opening; identity round-trips; a task owned by 'counter' stays visible.\n\ngo build/vet/test ./... clean; lint at baseline.","comments":[{"id":"019fd139-2a9a-762c-9778-173e085b16c9","issue_id":"archie-core-7ma","author":"Sam Catlow","text":"Adversarial review complete (fresh reviewer, two passes): zero surviving findings. Disposition: (1) multi-writer/replicated allocation explicitly documented as unsupported — each log is single-writer; no sdk.Replicator wired; (2) migration fails closed at OpenStore on current/legacy read errors, write errors, and invalid next_id, tested for both task and event counters (write, read, invalid-value injection); (3) malformed current counters rejected at open and at allocation; (4) reserved-key matching is exact (counter-owned repos stay visible, tested); (5) reopen regression asserts exact post-reopen IDs and event preservation; migration idempotent across reopens with legacy docs untouched. Gates on internal/nell: go test, go test -race, go vet clean; golangci-lint 0 issues; gofumpt clean. Working tree uncommitted.","created_at":"2026-08-05T09:20:12Z"}],"dependency_count":0,"dependent_count":0,"comment_count":1} -{"_type":"issue","id":"archie-core-abg.17.46","title":"feat(gateway): task_list and task_spawn chat tools","description":"/spawn, /approve and /cancel are slash commands only a human types (internal/gateway/gateway.go:299-401), so 'what are you working on?' has no tool path, even though TaskCreator/TaskController (internal/gateway/tasks.go) are one import away.\n\ninternal/gateway/tasks.go gains a narrow read interface chatTaskLister (ListChatTasks(ctx, identity, limit) ([]ChatTaskSummary, error)), keeping gateway independent of internal/store; the daemon adapts store.Store.Tasks.\n\ninternal/gateway/task_tools.go (new): TaskTools(lister, creator, identity) returning task_list and task_spawn, both bound to the calling gateway's identity so the model never supplies it.\n\ntask_approve and task_cancel are deliberately excluded: waiting_human is the one point in the lifecycle where a person must act and /approve is that gate. Chat input is an untrusted path (a forge issue body or inbound email quoted into a turn is model-visible text), so a tool that approves Archie's own work removes the only human checkpoint. Add behind an operator flag defaulting to off if wanted later.\n\nWired into chatGenerateOptions, merged over the registry-built set.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-05T04:23:55Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:55Z","dependencies":[{"issue_id":"archie-core-abg.17.46","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-08-05T14:23:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.17.45","title":"feat(tools): web_fetch tool with dial-time SSRF protection","description":"Archie has no web access of any kind and no MCP server configured to substitute, so it cannot open a URL pasted into chat.\n\nNew package internal/tools/webfetch, registered directly in cmd/archied/main.go beside skill_activate.\n\nSchema: url (required), raw (bool, skip HTML extraction).\n\n- http/https scheme allowlist.\n- SSRF protection in DialContext, NOT as a pre-flight URL check: resolve the host, reject loopback/private/link-local/unspecified/multicast, then dial the vetted IP. A pre-flight URL check leaves a DNS-rebinding hole, and this daemon runs on a host with the Docker socket and NATS reachable on 172.19.0.1.\n- CheckRedirect caps hops and re-applies the scheme check.\n- Body capped by io.LimitReader; result then capped by the per-tool limit.\n- text/html -\u003e readable text via golang.org/x/net/html; text/*, json, xml as-is; anything else an error naming content type and size.\n- Non-2xx returns status plus a short excerpt.\n\nConfig [tools.web_fetch]: enabled, timeout, max_bytes, allow_private_networks (default false). Defaults via configuration.applyDefaults.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-05T04:23:47Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:47Z","dependencies":[{"issue_id":"archie-core-abg.17.45","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-08-05T14:23:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.20","title":"Fix Web Chat nil update service panic","description":"Fix the typed-nil *releaseupdate.Service injected into ChatUpdateService when update checking is unconfigured. Make the Web Chat update endpoints return a controlled not-configured response and add service nil-receiver safety as needed. Preserve the regression test in archie-core-3cf.19 and run focused tests plus task check.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T01:50:33Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:52:33Z","started_at":"2026-08-05T01:50:34Z","closed_at":"2026-08-05T01:52:33Z","close_reason":"Fixed typed-nil update service handling in Web Chat and releaseupdate, added nil-service coverage, and passed affected-package tests, race tests, vet, and builds. Full task check remains blocked by unrelated internal/tools/builtin/TestFindFallback_CancelledWalkReportsError.","dependencies":[{"issue_id":"archie-core-3cf.20","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T11:50:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.19","title":"Add regression test for nil Web Chat update service","description":"The Web Chat update endpoint receives a typed-nil *releaseupdate.Service through ChatUpdateService when update checking is unconfigured. Add a regression test proving the endpoint returns a controlled not-configured response instead of panicking. Do not implement the fix in this task.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T01:46:03Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:46:36Z","started_at":"2026-08-05T01:46:07Z","closed_at":"2026-08-05T01:46:36Z","close_reason":"Added typed-nil Web Chat update endpoint regression test; it currently fails with the observed nil-pointer panic as intended.","dependencies":[{"issue_id":"archie-core-3cf.19","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T11:46:02Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.12","title":"Web Chat: revalidate update snapshot before installation","description":"Make the Web update approval path match Telegram by requiring the displayed snapshot and rechecking available component versions immediately before installation.","design":"Export the existing releaseupdate available-version comparison instead of duplicating it. Keep the existing in-progress mutex and progress response.","acceptance_criteria":"Web install requests include the displayed snapshot; the server rejects changed or missing snapshots without installing; unchanged snapshots install once; the shared comparison logic is tested and used by Telegram and Web.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:37:52Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:40:48Z","started_at":"2026-08-05T00:37:53Z","closed_at":"2026-08-05T00:40:48Z","close_reason":"Web update installation now requires and revalidates the displayed snapshot before installing; shared releaseupdate.SameAvailable comparison is used by Web and Telegram. Added stale/unchanged API tests and Playwright request-body verification. Full task check passes.","dependencies":[{"issue_id":"archie-core-3cf.12","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:37:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-5oa","title":"Disable automatic forge comments and state labels","description":"Remove automatic plan/progress/retry/dead/state-label noise from normal execution. Preserve internal logs/events and retain only comments explicitly required by an operator decision flow, exposed through messaging or Web UI.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T15:08:02Z","created_by":"Sam Catlow","updated_at":"2026-08-04T15:28:28Z","started_at":"2026-08-04T15:08:20Z","closed_at":"2026-08-04T15:28:28Z","close_reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass.","dependencies":[{"issue_id":"archie-core-5oa","depends_on_id":"archie-core-hiy","type":"parent-child","created_at":"2026-08-05T01:08:12Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-g4c","title":"Link pushed task branch to source issue before opening PR","description":"After the task branch is successfully pushed, call the forge branch-link operation for the source issue, then create the PR without relying on a PR comment or Closes directive to associate it. Propagate link failures and cover Gitea plus forge RPC behavior.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T15:08:01Z","created_by":"Sam Catlow","updated_at":"2026-08-04T15:28:28Z","started_at":"2026-08-04T15:08:19Z","closed_at":"2026-08-04T15:28:28Z","close_reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass.","dependencies":[{"issue_id":"archie-core-g4c","depends_on_id":"archie-core-hiy","type":"parent-child","created_at":"2026-08-05T01:08:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-hiy","title":"Quiet autonomous execution and correct forge linkage","description":"Reduce Archie forge noise and make issue/branch/PR lifecycle authoritative. Automatic plan/progress/retry/state-label comments must be disabled; human decisions must remain available through messaging and the Web UI; pushed task branches must be linked to their source issues through the forge API before PR creation.","acceptance_criteria":"No automatic plan/progress/retry/state-label comments are emitted; configured human decisions remain actionable through messaging or Web UI; the source issue has a forge branch link after push; PR creation does not rely on a comment or closing directive for linkage; focused tests cover both in-process and RPC forge paths.","status":"closed","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-04T15:08:01Z","created_by":"Sam Catlow","updated_at":"2026-08-04T15:28:29Z","closed_at":"2026-08-04T15:28:29Z","close_reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-x35","title":"fix(gateway): resolve() orphans a session when it loses the double-check race","description":"CONFIRMED by execution with a blocking store decorator. sessionTracker.resolve calls sessions.Save BEFORE cacheActive, which may then discard the ID in favour of a racing caller's. The write is not rolled back.\n\nInterleaving: goroutine A misses the cache and GetByChannel returns empty; meanwhile /new saves a UUID session and setActives it; A resumes, saves the deterministic session 'chat-y', then cacheActive returns the UUID. Store holds 2 sessions; 'chat-y' is unreachable, shows up in /sessions and /topic listings as '(untitled)', and per the newest-first bug can be silently resurrected on restart.\n\nApplies equally to a racing /resume, /branch or /topic \u003cid\u003e -- the daemon genuinely runs commands on lane goroutines while submitTurn resolves on the bot worker.\n\nNote the synchronization itself is correct: all four accesses to sessionTracker.active are guarded, and stripping the locks produces 12 race-detector reports plus an assertion failure, so the test is load-bearing. This is a logic bug inside the guarded code, not a race.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:31Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:27Z","started_at":"2026-08-04T12:15:33Z","closed_at":"2026-08-04T12:25:27Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-i6q","title":"fix(gateway): redelivery dedups the stored turn but still re-runs the model","description":"archie-core-963 made SaveMessage idempotent, but nothing upstream consults the result. cmd/archied/telegram_setup.go:158 respond() calls SaveMessage (now a no-op on redelivery) then unconditionally loads history, calls the model, and saves the reply -- which carries no SourceID, so it always gets a fresh random ID and always appends.\n\nCONFIRMED at store level on both backends: redelivering tg-1 leaves [ping, pong, pong], plus a second billed model turn with any tool side effects executed twice.\n\nThe bead's stated problem ('a re-delivered Telegram update appends a duplicate turn') is half fixed. SaveMessage returns no already-seen signal for the caller to act on.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:30Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:28Z","started_at":"2026-08-04T12:21:24Z","closed_at":"2026-08-04T12:25:28Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-jex","title":"fix(gateway): /topic off poisons the tracker cache with an empty session ID","description":"CONFIRMED by execution. handleTopic (session_commands.go:200) 'off' does setActive(chan, \"\", getActive(chan, threadID)). With no session cached for (chan, threadID), getActive returns \"\" and that empty string is stored. resolve treats map presence as authoritative ('id, ok := t.active[key]; if ok { return id }'), and cacheActive also returns the empty existing value, so nothing can repair it.\n\nReachable when /topic off is the first message on the webhook (webhook.go:169) or email (email.go:207) channel -- both call router.Route directly and never call ResolveSessionKey first, unlike telegram's submitTurn.\n\nBlast radius: every later message in that chat persists under session ID \"\", history is shared with any other poisoned chat, and the turn-lane key becomes \"\" so /stop in one chat kills a turn in another.\n\nSame line is also non-atomic: setActive(...getActive(...)) is two critical sections, so a concurrent /resume or /branch is silently clobbered.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:18Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:27Z","started_at":"2026-08-04T12:14:00Z","closed_at":"2026-08-04T12:25:27Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-7s3","title":"fix(gateway): session resolution is not newest-first, so restart resumes a stale session","description":"Found independently by two reviewers, CONFIRMED by execution.\n\nsessionTracker.resolve (session_commands.go:54-59) comments 'Find the most recent session matching this thread and bot' but returns the first element GetByChannel yields. The wired-up NellDB store returns document-ID order (listAllLocked reverses AllDocs, which sorts by document ID), i.e. UUID-lexicographic -- effectively random. LastActiveAt is populated on every record and never consulted.\n\nScenario: user runs /new 'old', chats, runs /new 'current'; daemon restarts (the tracker cache is in-memory only); the next message resolves to whichever session sorts first. Probed over 10 runs: 4 landed in the OLDER session, answering against pre-/new history. This is the user-visible lost-context class.\n\nAlso a silent backend divergence: SQLite's GetByChannel orders created_at DESC, NellDB does not, and the shared conformance suite does not pin it. Separately, SessionStore.List's doc comment (session_store.go:34-36) promises newest-first and does not deliver: saving zzz-oldest, aaa-middle, mmm-newest returns [zzz-oldest mmm-newest aaa-middle].\n\nBlocks archie-core-b4i and archie-core-gih.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:17Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:26Z","started_at":"2026-08-04T12:12:02Z","closed_at":"2026-08-04T12:25:26Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-6e0","title":"fix(gateway): a message arriving mid-/compress is destroyed","description":"applyCompress reads MessageCount then RecentMessages, and ReplaceMessages later removes everything outside the replacement set. A chat turn that lands between the read and the replace is deleted, never summarised.\n\nCONFIRMED executed on both backends: 'nell: mid-compress inbound message destroyed (stored=24)', 'sqlite: ... (stored=24)'. NellDB deletes it via the AllDocs snapshot; SQLite via DELETE ... WHERE message_id NOT IN (survivors), a survivor-complement.\n\narchie-core-0ua's guarantee (worst case is recoverable duplicates) does not cover this: it is unrecoverable loss, and the store-level fix cannot address it because the window is in the caller. Nothing serialises /compress against an inbound turn.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:02Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:27Z","started_at":"2026-08-04T12:17:57Z","closed_at":"2026-08-04T12:25:27Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8k8","title":"fix(gateway): /compress argument dispatch is wrong in three ways","description":"session_commands.go:460-478, all CONFIRMED by execution:\n\n1. Bare /compress can never apply. isPreview is 'len(fields) == 0 || --preview || --dry-run', so /compress with no arguments takes the preview branch -- and compressPreview ends with 'Run /compress to apply'. The command tells the user to run a command that does nothing, forever. The failure-safe ReplaceMessages path added by archie-core-0ua is unreachable via the documented command; only '/compress here \u003cN\u003e' reaches it.\n\n2. /compress focus \u003ctopic\u003e silently ignores the topic. focus is validated for arity only; cfg is never modified, so it runs a full default compression and reports success. Irreversible history rewrite from a command the user believes does something narrower.\n\n3. /compress here (no N) and any unrecognised argument (/compress asdf) fall through to a full default compression rather than printing usage, unlike the sibling focus branch.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:02Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:26Z","started_at":"2026-08-04T12:08:49Z","closed_at":"2026-08-04T12:25:26Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-rml","title":"fix(memory): startup accepted an unusable memory directory","description":"cmd/archied/main.go builds the builtin memory provider at filepath.Join(cfg.WorkDir, \"memory\") and logs 'memory manager started' regardless of whether that path exists or is writable. builtin.NewStore treats ENOENT as an empty document and Reload does the same, so a missing directory is indistinguishable from a memory with nothing in it yet.\n\nFound live: carina's config was copied to the laptop with work_dir = /var/lib/archie/work, a container path that does not exist here. archied logged 'memory manager started dir=/var/lib/archie/work/memory' and ran with no memory at all. The failure would only have surfaced at the agent's first memory write, when writeFileAtomic's MkdirAll hit EACCES on /var/lib -- mid-conversation, as a tool error, after startup said it was fine.\n\nFixed: builtin.New now does MkdirAll(cfg.Dir) and returns an error the operator can act on, so an unusable path fails at startup where the existing error path already exits non-zero. New's doc claimed 'the provider is ready for use as soon as New returns'; it now is.","status":"closed","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-03T16:00:07Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:09Z","closed_at":"2026-08-04T12:48:09Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.6","title":"Restore compliance with the approved Archie visual design","description":"The current dashboard does not follow the supplied reference design. Rework the shell and page composition around the reference: a framed rounded workspace, compact top navigation, prominent welcome/header area, adjacent primary actions, getting-started panel, prominent status/compliance visualization, compact KPI strip with trend marks, forecast/projection panel, and live-runs table. Match the reference visual treatment: layered rounded surfaces, soft translucent panels, luminous abstract background treatment, compact information-dense cards, restrained status colours, and consistent icon/action placement. Do not reinterpret this as a generic dark admin console or as a light editorial marketing page. Capture desktop and narrow-viewport visual evidence before closing.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-03T15:18:32Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:20:01Z","dependencies":[{"issue_id":"archie-core-3cf.6","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T01:18:32Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.1","title":"Fix dashboard KPI tiles rendering blank values","description":"Authenticated runtime inspection of the supplied dashboard URL showed the first three dashboard stat tiles visually rendered with empty headline values while their comparison text was present; the Tokens used tile rendered 0. Trace the stat tile/render/update path and make every KPI display a stable value during initial load, loading, zero-data, and API-error states. Add focused regression coverage and verify against the live dashboard.","status":"open","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-03T15:17:39Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:17:58Z","dependencies":[{"issue_id":"archie-core-3cf.1","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T01:17:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.2","title":"Make dashboard authentication and connectivity failures actionable","description":"Opening the bare dashboard hash URL returns a raw 401 text response telling the operator to find the startup URL; the authenticated dashboard also showed reconnecting while activity rows were visible. Provide a browser-facing auth recovery state or clear redirect guidance, distinguish initial load failure from SSE reconnecting, and expose a retry path without requiring source or log knowledge. Cover token, API, SSE, and daemon-unavailable states.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-03T15:17:39Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:17:59Z","dependencies":[{"issue_id":"archie-core-3cf.2","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T01:17:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-0y4","title":"feat(config): optional file logging","description":"archied writes slog JSON to stdout only; under systemd journald is the sole copy, and running by hand leaves nothing. Add a log_file config field so there is a durable copy independent of journald. Prerequisite for the webui logs view showing anything from before the dashboard connected.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T14:15:00Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:17:17Z","closed_at":"2026-08-03T15:17:17Z","close_reason":"File logging shipped: internal/logging with [log] file/level/max_size_mb/keep/quiet, size-based rotation with retention, no new dependency. A bad log path degrades to stderr with an error rather than killing the daemon. Verified end to end.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-iyx","title":"feat(webui): logs section - filterable, live-tailing","description":"There is no way to see archied's logs outside journalctl. Every event already flows through events.Bus into the store and out over SSE, so this is mostly presentation over existing data. Filterable by level and component, live-tailing the SSE stream, with history from the store for anything before the dashboard connected.","notes":"Implemented 2026-08-04. Separation follows PocketBase: the logging package owns its own on-disk format and does the reading (internal/logging/reader.go); internal/webui/api_logs.go is transport only; ui/src/logs/ is a self-contained feature folder importing its own CSS.\n\nHistory comes from the file via logging.Tail with server-side level/component/text filters; live lines append from the existing /events SSE with the same matcher shape client-side. Component filter options are built from what the log actually contains rather than a hardcoded list that drifts. Bounded: 8MB tail scan, 2000-entry cap, ring buffer keeps the NEWEST entries (truncating the other end would hide whatever just went wrong). Non-JSON lines skipped so subprocess output cannot break the view; missing file and empty path are empty results, not errors, since file logging is optional.\n\n14 reader tests. task check clean, lint clean.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T14:15:00Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:10Z","closed_at":"2026-08-04T12:48:10Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-12n","title":"fix(telegram): honour retry_after on 429 instead of the library's fixed backoff","description":"go-telegram/bot v1.22.0 get_updates.go discards TooManyRequestsError.RetryAfter and applies its own 100ms-doubling backoff capped at 5s. Against retry_after:5 that is ~12 further requests inside the silence window, which escalated a brief 429 on carina into sustained 429s, 502s and request timeouts over several minutes.\n\nFixed in internal/channels/telegram/ratelimit.go: WithErrorsHandler is invoked synchronously from the polling loop before the library applies its own backoff, so blocking there honours the interval without patching the dependency. errors.As unwraps the library's fmt.Errorf wrap; capped at maxRetryAfter=60s; releases immediately on context cancellation so /restart during a 429 does not block.\n\nUpstream report drafted for https://github.com/go-telegram/bot/issues -- suggested fix is to prefer RetryAfter over incErrTimeout in the error branch.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T14:14:59Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:10Z","closed_at":"2026-08-04T12:48:10Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8u8.5","title":"feat(gateway): version the SQLite session schema before cutover","description":"OpenSQLiteSessionStore currently runs CREATE IF NOT EXISTS statements with no schema version or transactional migration record. Before production wiring, add the smallest deterministic schema-version mechanism so future upgrades cannot silently leave a partially evolved database.","acceptance_criteria":"A fresh database records the current schema version; opening a supported older fixture migrates transactionally and preserves data; unsupported newer versions fail with an actionable error; migration failure leaves the prior schema/data usable; schema initialization and upgrades are covered by file-backed tests.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-03T12:34:39Z","created_by":"Sam Catlow","updated_at":"2026-08-03T12:34:39Z","dependencies":[{"issue_id":"archie-core-8u8.5","depends_on_id":"archie-core-8u8","type":"parent-child","created_at":"2026-08-03T22:34:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8u8.3","title":"fix(gateway): round-trip SourceID through every SessionStore backend","description":"SQLite persists and returns Message.SourceID, but the NellDB adapter derives MessageID from SourceID and then discards SourceID from the stored document. External correlation metadata therefore changes across backend selection and cannot be exported from NellDB during migration.","acceptance_criteria":"The shared conformance suite requires SourceID to round-trip without becoming the canonical MessageID; NellDB persists and reads source_id with empty-field compatibility for older records; SQLite remains conformant; redelivery deduplication and immutable content semantics remain unchanged.","notes":"Implemented and independently reviewed 2026-08-03. Shared conformance now pins SourceID round-trip, canonical-ID distinction, redelivery stability, empty compatibility, and non-searchability on both backends. Nell persists SourceID as numeric UTF-8 byte values so its all-string text index cannot expose correlation metadata; file-backed Nell reopen verifies JSON-decoded UTF-8 round-trip. Focused conformance/reopen tests, full gateway suite, gateway race, scoped lint, and format check pass. Fresh DeepSeek V4 Flash review found no blockers; residual note only for malformed hand-corrupted numeric arrays coercing on decode.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T12:34:38Z","created_by":"Sam Catlow","updated_at":"2026-08-03T13:16:36Z","started_at":"2026-08-03T13:03:26Z","closed_at":"2026-08-03T13:16:36Z","close_reason":"SourceID parity and metadata-safe persistence are verified on NellDB and SQLite; all focused/race/lint/format validation passes and independent review has no blockers.","dependencies":[{"issue_id":"archie-core-8u8.3","depends_on_id":"archie-core-8u8","type":"parent-child","created_at":"2026-08-03T22:34:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8u8.4","title":"test(gateway): pin SQLite FTS lifecycle and literal-query semantics","description":"Trigger-driven FTS synchronization and hostile-query escaping were manually verified but are not retained by the trimmed SQLite-specific test suite. Preserve these SQLite-specific guarantees without duplicating the shared SessionStore contract.","acceptance_criteria":"Table-driven tests show FTS search/count remains correct after message deletion, ReplaceMessages, and session deletion with no cross-session leak; hostile inputs including column syntax, unmatched quotes, NEAR, wildcard, and boolean operators return literal-match behavior without syntax errors; multi-term queries pin AND semantics; tests stay SQLite-specific and focused.","notes":"Implemented and independently reviewed 2026-08-03. Added SQLite-specific FTS lifecycle tests for delete/replacement/session deletion, cross-session isolation, exact counts, hostile literal queries, multi-term AND semantics, exact MATCH escaping, and FTS5 rank=1 integrity checks. Sensitivity test proves the integrity check catches orphaned index entries when the delete trigger is absent. Focused tests, full gateway suite, gateway race, scoped lint, and format check pass. Fresh DeepSeek V4 Flash review reports zero surviving findings.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T12:34:38Z","created_by":"Sam Catlow","updated_at":"2026-08-03T13:03:17Z","started_at":"2026-08-03T12:43:49Z","closed_at":"2026-08-03T13:03:17Z","close_reason":"SQLite FTS lifecycle and literal-query guarantees are regression-protected; all focused/race/lint/format validation passes and independent review is clean.","dependencies":[{"issue_id":"archie-core-8u8.4","depends_on_id":"archie-core-8u8","type":"parent-child","created_at":"2026-08-03T22:34:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8u8.2","title":"fix(gateway): align newest-session ordering across SessionStore backends","description":"SQLite List/GetByChannel order by created_at, while NellDB orders by latest document write/HLC. Touching or re-saving a session can therefore select a different active session after a backend cutover even though both pass the shared suite. Pin one observable newest-session contract and make both adapters satisfy it.","acceptance_criteria":"The shared conformance suite covers multiple sessions with distinct CreatedAt and LastActiveAt values plus Touch/re-save; List and GetByChannel return the same deterministic order on NellDB and SQLite; restart-style resolution selects the same session on both backends; indexes support the chosen SQLite ordering.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T12:34:37Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:10Z","started_at":"2026-08-04T12:46:04Z","closed_at":"2026-08-04T12:48:10Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-8u8.2","depends_on_id":"archie-core-8u8","type":"parent-child","created_at":"2026-08-03T22:34:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-8u8.1","title":"test(gateway): prove SQLite session rollback and reopen durability","description":"The SQLite SessionStore uses real transactions and WAL, but current tests only verify successful operations through the same open handle. Add adversarial file-backed tests that prove persisted session/message state survives close+reopen and that injected failures during Delete and ReplaceMessages roll the transaction and FTS index back to the original state.","acceptance_criteria":"A file-backed store is closed and reopened with sessions, canonical MessageID, SourceID, text, sender, and timestamps intact; PRAGMA quick_check returns ok; deterministic abort triggers force mid-Delete and mid-ReplaceMessages failures; after each failure the original session, history, counts, and search results remain unchanged; focused and race tests pass.","notes":"Implemented and independently reviewed 2026-08-03. Added file-backed close/reopen round-trip with PRAGMA quick_check plus trigger-injected mid-Delete and mid-ReplaceMessages rollback tests that verify session/history/count/FTS state. Focused gateway tests, gateway race suite, scoped lint, and format check pass. Fresh DeepSeek V4 Flash review found zero blockers; one cosmetic early-failure handle-cleanup note only.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T12:34:36Z","created_by":"Sam Catlow","updated_at":"2026-08-03T12:43:41Z","started_at":"2026-08-03T12:35:02Z","closed_at":"2026-08-03T12:43:41Z","close_reason":"Verified durability and rollback regression coverage; focused/race/lint/format green and independent review has no surviving findings.","dependencies":[{"issue_id":"archie-core-8u8.1","depends_on_id":"archie-core-8u8","type":"parent-child","created_at":"2026-08-03T22:34:35Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-963","title":"feat(gateway): durable message deduplication via upstream IDs","description":"gateway.Message carries no upstream/channel-native message ID, so a re-delivered Telegram update appends a duplicate turn. Add Message.ID and derive the NellDB document ID from it (time-prefixed to preserve the ScanSince ID tie-break), making redelivery an idempotent LWW upsert.","notes":"ADVERSARIAL PASS CLEARED 2026-08-04. Claims (b), (c), (d) verified on both backends; /retry verified end to end. Blockers fixed:\n- archie-core-cz8 (/compress destroyed the identity this bead establishes) -\u003e cf74d9c\n- archie-core-i6q (redelivery still re-ran the model) -\u003e 4c37925\n- archie-core-la1 (/branch copied parent MessageIDs; Message doc said MessageID was ignored on write) -\u003e 622ff64\nSTILL NOT DONE, deliberately: doc lines 112-114 also require edits/deletions/branches be represented through related records or events. Only the immutability half exists. Not live loss (telegram AllowedUpdates excludes edited_message) but this bead should not be read as 'immutability done'.\nDEDUP COVERAGE remains telegram-only: SourceID is set at exactly one site repo-wide. Email and webhook retries still append; email has an unused RFC 5322 Message-ID.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T09:25:26Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:09Z","closed_at":"2026-08-04T12:48:09Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-gih","title":"fix(gateway): synchronize sessionTracker.active","description":"sessionTracker.active is a plain map with no mutex. go-telegram/bot dispatches each update in its own goroutine, so resolve() writes it while getActive() reads it concurrently. Backend-agnostic Go data race.","notes":"ADVERSARIAL PASS CLEARED 2026-08-04. The synchronization was verified correct and load-bearing: stripping the RWMutex produces 12 data-race reports plus an assertion failure. Blockers fixed:\n- archie-core-jex (/topic off poisoning the cache) -\u003e 182375b\n- archie-core-x35 (orphaned session on the lost race) -\u003e 3ebedcd\n- archie-core-7s3 (arbitrary session on restart) -\u003e 740ec50","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T09:25:25Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:08Z","closed_at":"2026-08-04T12:48:08Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-u4v","title":"Wire secret engines into provider discovery and execution","description":"Production creates only the env registry, never loads secret-engine plugins, and Provider lacks the documented api_key SecretRef. Implement startup plugin loading, backwards-compatible provider secret references, resolved provider discovery/runtime/container propagation, tests, release, and Carina deployment.","acceptance_criteria":"Provider api_key SecretRefs resolve through loaded engines at startup; existing api_key_env remains compatible; discovered providers, chat runtime, taskrun and containers receive resolved credentials without logging or serializing secret values; production composition tests and task check pass.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-30T17:52:08Z","created_by":"Sam Catlow","updated_at":"2026-07-30T22:48:38Z","started_at":"2026-07-30T17:52:13Z","closed_at":"2026-07-30T22:48:38Z","close_reason":"Live BWS discovery verified and ai-sdk openai-compatible fallback restored; 4+ provider catalog can now surface; full gate and final adversarial review pass","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-6he","title":"Telegram rejects model confirmation when clearing inline keyboard","description":"Selecting a model calls editMessageText with a typed nil reply_markup; Telegram rejects it as object expected, leaving the picker visible. Omit reply_markup when no keyboard is required and cover the request shape.","acceptance_criteria":"Selecting any model replaces the picker with metadata confirmation and the Telegram edit request omits reply_markup when clearing controls.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-30T17:46:25Z","created_by":"Sam Catlow","updated_at":"2026-07-30T17:47:08Z","started_at":"2026-07-30T17:46:29Z","closed_at":"2026-07-30T17:47:08Z","close_reason":"Telegram confirmation edits now omit nil reply_markup; regression test passes","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-v8x","title":"Unify Telegram provider and model selection around SDK catalog","description":"Replace the separate /provider and static configured-model surfaces with one /model provider-to-model wizard. Build the usable provider catalog from the local ai-sdk models.dev catalog plus environment credentials and explicit overrides, cache the filtered tool-capable catalog under the active config directory, and use the same resolved provider/model state across chat and execution paths. Remove the handwritten WellKnown table and remove external-framework references from the Archie tree.","acceptance_criteria":"/model first shows usable providers, then paginated tool-capable models, then atomically switches provider/model and reports model metadata and scope. /provider is absent from executable/menu/help surfaces. Catalog refresh is downloaded at daemon startup and cached beside configuration with safe cached fallback. Environment discovery and explicit overrides flow through chat, identities, subprocess and container/taskrun paths. Focused and composition tests cover discovery, pagination, callbacks and execution parity. A case-insensitive repository scan outside the explicit .references source tree finds no forbidden external-framework name.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-30T17:10:38Z","created_by":"Sam Catlow","updated_at":"2026-07-30T17:39:37Z","started_at":"2026-07-30T17:10:59Z","closed_at":"2026-07-30T17:39:37Z","close_reason":"Implemented SDK-backed provider discovery, unified Telegram model picker, safe catalog caching, and execution composition tests","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ky6","title":"One optional MCP provider failing takes down the whole daemon","description":"internal/tools/provider/provider.go Start() is atomic by design -- 'Any failure rolls the complete family back' -- so a single failing provider unregisters every other provider including the builtins, capabilityHost.Start returns the error, and cmd/archied/main.go:655 exits 1. Under compose restart or systemd Restart=on-failure that is a crash loop. Observed 2026-07-30 on carina: mcp.desktop-commander could not start (missing unzip in the runtime image, fixed in 455fd6f) and archied restarted continuously, losing chat, the gateway and every builtin tool over one third-party npm package.\\n\\nAtomicity is correct for a provider the daemon requires. It is wrong for an external MCP server pulled from a registry at runtime, which is exactly the category that should be allowed to be absent -- the same reasoning applied to the forge in 518a1a0, where a missing credential now disables the capability rather than the daemon.","design":"Needs a required/optional distinction on the registration or manifest, which does not exist today. Keep the all-or-nothing path for required providers; the atomic batch semantics for tool visibility (tools appear only after Start and Discover both succeed) should hold per-provider either way. Relates to the plugin engine rule in ARCHITECTURE.md: failure isolation is explicitly the owning manager's responsibility.","acceptance_criteria":"A provider can be declared optional. An optional provider that fails to start or discover is logged, excluded from the running set, and does not roll back the family or stop the daemon. A required provider keeps today's atomic rollback. Provider health reflects the degraded state so the failure is visible rather than silent. Regression test starts a family containing one failing optional provider and asserts the other providers' tools remain registered and Start returns nil.","notes":"Fixed 2026-08-04 in a8c9483.\n\nRegistry.RegisterOptional marks a provider the daemon can run without; Register is unchanged and keeps atomic rollback. The distinction lives on the registration rather than the manifest: required-vs-optional is a deployment fact, not a property of the code, and keeping it out of plugin.Manifest preserves the metadata-only rule.\n\nAn optional provider failing Start, Discover or index registration is stopped (so a half-started child process is not leaked), excluded from the running set, and recorded in Skipped(). The family carries on. Per-provider atomic tool visibility still holds either way: tools appear only after Start and Discover both succeed.\n\nDependency cascade: a provider whose dependency was skipped cannot run. Optional dependents are skipped with the reason; a required dependent is a hard failure, since it declared it cannot work without something now absent.\n\nVisibility: Health returns degraded naming each excluded provider and its cause, Skipped() exposes the set programmatically, and cmd/archied logs one error line per exclusion after capability host startup.\n\nmain.go now registers every [[tools.mcp_servers]] entry with RegisterOptional, and a registration error warns and continues rather than exiting.\n\nVerified: TestCarinaScenarioThroughCapabilityHost drives the real plugin.Host, the path main.go calls. Registered as required it fails with 'start plugin module \"archie.tools\": start tool provider \"mcp.desktop-commander\": npx exec: unzip: not found' -- verbatim the crash loop. As optional the host starts, read/shell/edit/memory_edit stay registered, and health is degraded carrying the cause.\n\nCLAUDE.md's per-package trap note updated; it documented the old hard-failure behaviour.\n\nNOT DONE, deliberately: there is no per-server required/optional switch in config. Every MCP server is optional. An operator who genuinely depends on one gets a degraded daemon and an error log rather than a refusal to start, which matches the forge and container precedent. Add a config knob only if a real deployment needs it.","status":"closed","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-30T06:49:26Z","created_by":"Sam Catlow","updated_at":"2026-08-04T13:33:08Z","closed_at":"2026-08-04T13:33:08Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qa4.5","title":"Phase 5: the 56 lint findings Phase 4 left behind","description":"Discovered as a side effect of the 6d4e0be audit (archie-core-ifi), not as its\ngoal: running golangci-lint over the two packages I had touched showed findings\nin files nobody had flagged, so I ran it repo-wide.\n\nAll four children of archie-core-qa4 are closed and the epic reports \"4/4\ncomplete (100%) -- eligible for close\", but `golangci-lint run ./...` still\nreports 56 issues. The epic must not be closed on that prompt; its own\ndescription says the gate is RED until it closes, so closing it early declares\na green gate that does not exist.\n\nBreakdown: noctx 11, gocognit 11, gocritic 6, errcheck 6, nilerr 4, recvcheck 3,\nnestif 3, godox 3, sloglint 2, predeclared 2, funlen 2, gofumpt 1, cyclop 1,\nstaticcheck 0 (the one hit, configtemplate.go:6, is fixed).\n\nThe gocognit remainder is concentrated in exactly the functions Phase 4 named as\ndeferred -- cmd/archied/main.go run (106, the description predicted \"108-\u003e30\nremaining\" and it did not land), internal/workflow AgentStage.Stage (68),\nFeasibility and TDD (funlen), cmd/archie-agent startMCPProviders (45) -- plus\nthe whole of internal/tools/builtin: grepFallback 58, runFindGoFallback 57,\nmakeReadExecutor 56, makeGrepExecutor 41, makeShellExecutor 40, makeWriteExecutor\n38, suggestPaths 36. tomlwrite.Apply (82) is new, uncommitted-until-7fab597 code.\n\nREAD archie-core-qa4's notes before starting. Both known behaviour regressions\nfrom this epic came out of structural extraction, and every remaining gocognit\nsite is a structural extraction waiting to happen. The nilerr findings in\ngrep.go are not noise either -- see archie-core-ts9, where the same swallow in\nfind.go is a live false-negative bug. Fixing nilerr by \"returning the error\"\nwithout deciding what the caller does with it will change tool behaviour.","acceptance_criteria":"golangci-lint run ./... reports 0 issues, or every remaining finding has an explicit nolint with a reason. Each structural extraction lands with a behavioural test for the function it splits, per the discipline recorded in archie-core-qa4's notes.","status":"open","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:26:57Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:26:57Z","dependencies":[{"issue_id":"archie-core-qa4.5","depends_on_id":"archie-core-qa4","type":"parent-child","created_at":"2026-07-30T02:26:57Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-qa4.5","depends_on_id":"archie-core-ts9","type":"blocks","created_at":"2026-07-30T02:27:02Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-qa4.5","depends_on_id":"archie-core-ifi","type":"discovered-from","created_at":"2026-07-30T02:26:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-0d6","title":"[BUG] /model \u003cname\u003e asked the router for a doubled model name","description":"The nestif extraction in 651de0a pulled --provider parsing out of parseModelRest into extractProviderFlag, which took the modelParts slice by pointer and appended every non-provider field to it. The caller's own loop then appended the same fields again, so every field of the model name was duplicated: '/model gpt-5.6' resolved to 'gpt-5.6 gpt-5.6' and SetActiveModel rejected it as an unknown model. '/model gpt-5.6 --provider openai' was worse -- the space-separated provider value was no longer consumed with its flag, giving 'gpt-5.6 gpt-5.6 openai'. Direct model switching over Telegram was broken for anything but a bare --refresh or a provider-only switch. Found while auditing 6d4e0be for archie-core-ifi: the naked return in the same function could not be regression-tested until the function produced correct values.","design":"Two ways to fix the double append were available. Rejected: keep the helper\nsignature and delete the caller's default-branch append. That restores correct\noutput but leaves the shape intact -- a helper holding a pointer to the\ncaller's accumulator, with two loops over the same fields -- so the next person\nwho adds a field type has the same trap waiting. It also does not fix the\nspace-separated provider value, because the helper returns early on the first\n--provider and never sees the fields after it.\n\nChosen: splitProviderFlag returns (provider, remaining) and is the sole\naccumulator. One loop owns the fields, and there is no shared slice to append\nto twice. The index loop is kept deliberately -- i++ after reading a\nspace-separated value is what removes it with its flag, and converting that to\na range loop is precisely what 651de0a did wrong.\n\nLast --provider wins if repeated, matching the pre-651de0a behaviour rather\nthan the buggy helper's first-wins. Not worth a flag: /model does not document\nrepeating it.","acceptance_criteria":"parseModelRest returns the model name exactly once for bare names, scope flags, and both --provider spellings, with a regression test asserting field count rather than string equality.","notes":"Fixed by making splitProviderFlag the sole accumulator of surviving fields and returning them, so the shared-slice shape that allowed the double append is structurally impossible. Tests: TestParseModelRestDoesNotDoubleTheModelName, TestParseModelRestReturnsDeclaredValuesInOrder.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:18:46Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:26:09Z","closed_at":"2026-07-29T16:19:23Z","dependencies":[{"issue_id":"archie-core-0d6","depends_on_id":"archie-core-ifi","type":"discovered-from","created_at":"2026-07-30T02:18:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ewk.1","title":"Export configuration.Validate for archied setup to call","description":"The ewk epic's acceptance criteria (and archie-core-cbk's, by inheritance) require: \"Every config it writes passes configuration.Validate, verified by a test that runs setup non-interactively and validates the output.\" That identifier does not exist. internal/infrastructure/configuration/validate.go defines only an unexported validate(cfg *config.Config) error, called from one place: loader.go:178 inside Loader.Load's own decode-then-validate sequence. There is no way for code outside the configuration package -- e.g. `archied setup` after it builds a config.Config in memory but before writing it to disk -- to run the same validation.\n\nDiscovered while implementing archie-core-rs9 (TOML write strategy). Not fixed there: rs9's scope was the text-patching mechanism, not wiring setup's actual validation step, and exporting validate() is really part of cbk's job (the thing that needs to call it).","acceptance_criteria":"configuration package exposes a callable that runs the same checks as the current unexported validate() against a config.Config value in memory (either export validate itself, or add a thin Validate(cfg *config.Config) error wrapper -- whichever fits the package's existing exported-surface conventions). Loader.Load continues to use it internally with no behavior change. A test outside the package (e.g. in cbk's setup tests) can call it directly without going through file I/O.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:18:36Z","created_by":"Sam Catlow","updated_at":"2026-08-05T02:44:50Z","started_at":"2026-08-05T02:43:36Z","closed_at":"2026-08-05T02:44:50Z","close_reason":"Exported Validate(cfg *config.Config) error wrapping the unexported validate; Loader.finalize now calls it. Documented that it doesn't apply defaults, so setup should render+reload through a Loader rather than call Validate on a hand-built config directly. 82fd015.","dependencies":[{"issue_id":"archie-core-ewk.1","depends_on_id":"archie-core-ewk","type":"parent-child","created_at":"2026-07-30T02:18:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-1y6","title":"SOUL cannot override the prompt invariants","description":"Enforce the boundary that makes SOUL safe to hand to users: it supplies identity and style, and cannot reach the instruction hierarchy, core rules, tool inventory or env block.","acceptance_criteria":"A test renders a hostile SOUL that attempts to countermand core_rules and asserts the invariant sections are still present and intact. The boundary is documented where the layering rule already lives so the next person editing the template does not quietly relax it.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:56Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:56Z","dependencies":[{"issue_id":"archie-core-1y6","depends_on_id":"archie-core-4gv","type":"parent-child","created_at":"2026-07-30T02:09:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-z8c","title":"SOUL loader with per-turn reload and default fallback","description":"Load the SOUL file from the config dir into the identity slot of the rendered prompt, re-reading it per turn so an edit takes effect on the next message with no restart.","acceptance_criteria":"SOUL content is rendered into the identity slot ahead of the invariant sections. An absent, empty or unreadable SOUL falls back to the shipped default identity rather than rendering nothing. Editing the file changes the next turn's prompt with no restart. A read error is logged once and degrades to the default; it never fails the turn. Size is bounded so an oversized SOUL cannot crowd out the rules.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:56Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:56Z","dependencies":[{"issue_id":"archie-core-z8c","depends_on_id":"archie-core-4gv","type":"parent-child","created_at":"2026-07-30T02:09:55Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-4gv","title":"[EPIC] SOUL file: user-authored agent identity","description":"Move Archie's identity and tone out of compiled Go constants and into a user-editable SOUL file. Root cause of a real defect on 2026-07-29: heyarchie answered 'Hey are you there?' with 'I'm here. What do you need?', which reads as demanding the user justify getting in touch. The fix required editing DefaultPersonas() in internal/gateway/persona.go and rebuilding -- personality is not tunable without a compile. Modelled on Hermes (SOUL.md occupies the identity slot in the stable tier, DEFAULT_AGENT_IDENTITY is the fallback when absent, re-read per message so no restart is needed) and openclaw, which injects SOUL.md alongside AGENTS.md.","design":"THE BOUNDARY IS THE POINT. The existing layering rule (recorded in the chat-system-prompt-design memory) is that PersonaRegistry is the style layer only and rules live in the template, so switching persona cannot strip the agent's rules or tool inventory. SOUL inherits exactly that constraint: it owns identity, name, register and warmth, and must not be able to touch core_rules -- otherwise 'be terse' in a SOUL silently disarms the no-fabrication rules. Steal from Hermes: is_legacy_template_soul upgrades untouched scaffolding in place but never overwrites a SOUL the user actually edited. This is the first of the three identity layers agreed with Sam on 2026-07-30: invariants (template, nobody edits at runtime) / SOUL (user-authored) / representation (curator-derived, proposes only).","acceptance_criteria":"A user can name their agent and define its personality by editing a file, with no rebuild and no restart. An absent or empty SOUL falls back to the shipped default identity. SOUL cannot weaken the invariants: \u003cinstruction_precedence\u003e, \u003ccore_rules\u003e, the \u003ctools\u003e block and \u003cenv\u003e stay in the template and remain unreachable from SOUL, enforced by a test. A SOUL the user has customised is never overwritten by an upgrade.","status":"open","priority":1,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:37Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:37Z","dependencies":[{"issue_id":"archie-core-4gv","depends_on_id":"archie-core-ewk","type":"related","created_at":"2026-07-30T02:09:58Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ifi","title":"Audit the remaining golangci-lint autofix changes in 6d4e0be","description":"Commit 6d4e0be applied a golangci-lint --fix batch across 8 files. One of the eight was a behaviour regression: the errorlint fix in internal/tools/builtin/grep.go rewrote 'if exitErr, ok := err.(*exec.ExitError); ok \u0026\u0026 exitErr.ExitCode() == 1' into 'errors.As(err, \u0026exitErr)' and dropped the exit-code check, so any ripgrep failure (bad pattern, unreadable path) was reported to the model as 'no matches found' -- the agent would state a file contains nothing on the strength of a search that never ran. Fixed in 782510d. The other seven changes were eyeballed as benign (naked return expanded, err != ctx.Err() -\u003e errors.Is) but were never verified individually. A one-in-eight regression rate does not justify trusting the remainder on inspection alone.","acceptance_criteria":"Each remaining changed hunk in 6d4e0be is reviewed against its pre-fix behaviour, specifically for predicates that were narrowed or widened. internal/channels/telegram/model.go, internal/infrastructure/configuration/discovery.go, internal/tools/builtin/find.go, internal/tools/builtin/shell.go and the touched test files are covered. Any behaviour change found gets a regression test in the style of TestGrepReportsSearchFailureRatherThanNoMatches.","notes":"AUDIT COMPLETE. Per-hunk verdicts against pre-fix behaviour:\n\n- telegram/model.go (nakedret expansion): return order matches the declaration, and no defer mutates the results, so the expansion is behaviour-neutral. Two strings and three bools mean a transposed pair would have compiled silently, so it is now pinned by TestParseModelRestReturnsDeclaredValuesInOrder. Writing that test surfaced an unrelated P1 regression from 651de0a -- archie-core-0d6, fixed here.\n- configuration/discovery.go ((path string, yaml bool, ok bool) -\u003e (path string, yaml, ok bool)): type-identical signature reshuffle, no semantic content.\n- tools/builtin/find.go (err != ctx.Err() -\u003e !errors.Is(err, ctx.Err())): behaviour-neutral. Verified on go1.26 that errors.Is(err, nil) is false for non-nil err, so with a live context the new predicate still means err != nil. With a cancelled context the walk returns ctx.Err() unwrapped, so identity and errors.Is agree. The audit did expose that this branch is unreachable in practice and cancellation is reported as 'no matches found' -- pre-existing, filed as archie-core-ts9.\n- tools/builtin/shell.go (err.(*exec.ExitError) -\u003e errors.As): NOT the grep failure. The original had no companion condition to drop -- the exit code is read inside the branch, not used to gate it -- and the ctx.Err() timeout check already runs first. Widening to wrapped ExitErrors is unreachable since cmd.Run returns them unwrapped. The branch had no test at all, so TestShellReportsExitCodeRatherThanAGenericError now covers it.\n- loader_test.go, pluginextract/*.go, secretextract/*.go: blank-line insertions only.\n- read_test.go ((cwd string, params string) -\u003e (cwd, params string)): type-identical.\n- webui_test.go (\"GET\" -\u003e http.MethodGet): same constant value.\n\nOne-in-eight held: the batch itself had exactly the one regression already fixed in 782510d. The lint-driven refactor in 651de0a, however, carried a second regression of the same family, which suggests the review discipline belongs on structural extractions as much as on --fix batches.","status":"closed","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:21Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:19:15Z","closed_at":"2026-07-29T16:19:15Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-cbk","title":"Setup steps: operator, provider, models, forge, chat channel","description":"The archie equivalent of tau's provider+model flow. Steps: (1) operator display name -\u003e [chat].operator; (2) LLM provider -\u003e [providers.\u003cname\u003e] class and api_key_env, with the key value stored via the secret engine; (3) models per role -\u003e [models] triage/planner/builder, plus the optional [chat].models catalog; (4) forge -\u003e github/gitea/none with host and a token reference, explicitly optional now that a missing forge credential only disables the forge; (5) chat channel -\u003e Telegram bot token, optional. bot_user must always be written because validation requires it when no [[identities]] exist.","acceptance_criteria":"Each step is skippable where the underlying setting is optional, and skipping leaves a valid config. Forge selection defaults to none rather than assuming a forge. The token key written into config matches the key the value was stored under, for every forge type -- the exact drift that broke the installer. Local model discovery (Ollama) is offered when available and degrades to free text when not.","status":"closed","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T16:02:50Z","created_by":"Sam Catlow","updated_at":"2026-08-05T02:58:58Z","closed_at":"2026-08-05T02:58:58Z","close_reason":"Implemented Run in internal/infrastructure/configuration/setup: operator, provider, models, forge, chat(telegram) steps, returning tomlwrite edits (not a parallel config.Config). Tested by rendering+loading through a real Loader. Found and fixed two boot-time landmines in config.example.toml along the way ([providers.openai] bws default, [[repos]] placeholder). 56d684a.","dependencies":[{"issue_id":"archie-core-cbk","depends_on_id":"archie-core-ewk.1","type":"blocks","created_at":"2026-07-30T02:18:40Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-cbk","depends_on_id":"archie-core-rs9","type":"blocks","created_at":"2026-07-30T02:02:55Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-cbk","depends_on_id":"archie-core-ewk","type":"parent-child","created_at":"2026-07-30T02:02:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":2,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-via","title":"SetupPrompter interface and UI-agnostic setup flow","description":"Port tau's split: setup logic lives in a package that takes a SetupPrompter interface; the command layer supplies the terminal implementation. This is what makes setup testable without a TTY.","acceptance_criteria":"Setup logic has no direct terminal dependency and is driven end to end in tests by a fake prompter. The terminal implementation provides a numbered Select and a non-echoing ReadSecret via golang.org/x/term, both cancellable on Ctrl+C via context. No TUI framework is introduced.","status":"closed","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T16:02:50Z","created_by":"Sam Catlow","updated_at":"2026-08-05T02:47:24Z","closed_at":"2026-08-05T02:47:24Z","close_reason":"Defined Prompter (Select/ReadLine/ReadSecret/Confirm, all context-aware) in internal/infrastructure/configuration/setup, and a real TTY-gated implementation in internal/infrastructure/terminalprompt. Construction refuses a non-terminal input with a clear message rather than a degraded fallback. b04733c.","dependencies":[{"issue_id":"archie-core-via","depends_on_id":"archie-core-ewk","type":"parent-child","created_at":"2026-07-30T02:02:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-rs9","title":"Decide and implement the TOML write strategy","description":"Settle how setup persists config before any prompting code is written; everything else depends on it. BurntSushi/toml loses comments on re-marshal, and config.example.toml carries substantial inline documentation users are meant to read and edit by hand. Options: (a) generate a fresh commented config from a template on first run and only line-patch specific keys on re-run; (b) full re-marshal and accept losing comments; (c) adopt a comment-preserving TOML editor.","design":"Decision: text-based line patching, not decode/re-marshal, not a comment-preserving TOML AST library (none exist for Go that are safe to depend on).\n\nNew package internal/infrastructure/configuration/tomlwrite:\n- Apply(src []byte, edits []Edit) ([]byte, error): for each {Table, Key, Value} edit, finds an active \"key = value\" line in that table and replaces just the value (preserving indent + trailing inline comment); else finds a commented \"# key = value\" line in that table, uncomments the table header and the line; else appends the key at the end of the table's content (or appends a brand new [table] section at EOF if the table doesn't exist at all, active or commented). Lines not named by an edit are copied through byte-for-byte.\n- Generate(template, edits) is Apply against configtemplate.Example (config.example.toml embedded at the module root via configtemplate.go, since go:embed can't reach outside its own directory tree -- this keeps config.example.toml the single source of truth instead of a second copy, which is exactly the drift bug this epic exists to fix).\n- Value callers pre-render TOML literals; String() and Ref(engine,key) helpers cover the two shapes setup needs (quoted strings, secret.SecretRef inline tables). Deliberately does not import internal/secret -- it edits text, not Go values.\n\nTrade-off: only understands single-line scalar/inline-table values. Does not handle multi-line arrays or [[array-of-tables]] (e.g. [[repos]]) -- those aren't setup's targets and must not be routed through this patcher.\n\nTests (internal/infrastructure/configuration/tomlwrite/tomlwrite_test.go) cover: active-key replace preserving trailing comment, active inline-table replace, commented-table uncomment-one-key-leave-siblings-commented, append into existing active table, append brand-new table, byte-identical-elsewhere on a single edit, byte-identical-elsewhere across two sequential runs (the rs9 acceptance criterion), and a full run against the real config.example.toml verified to decode via BurntSushi/toml and round-trip bot_user/forge.token correctly.\n\n`go build ./...` and `task check` pass clean; no other files touched.","acceptance_criteria":"The chosen strategy is documented with its trade-off. A first run produces a config a human can read and hand-edit afterwards. A second run changing one value leaves every other line, including comments, byte-identical -- asserted by a test. No strategy is adopted that silently discards user edits.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:02:49Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:14:13Z","started_at":"2026-07-29T16:09:23Z","closed_at":"2026-07-29T16:14:13Z","close_reason":"text-based line patcher implemented in internal/infrastructure/configuration/tomlwrite; template embedded via configtemplate.go; tests pass, task check clean","dependencies":[{"issue_id":"archie-core-rs9","depends_on_id":"archie-core-ewk","type":"parent-child","created_at":"2026-07-30T02:02:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-ewk","title":"[EPIC] archied setup: interactive first-run configuration","description":"Move config generation out of install.sh and into the daemon as 'archied setup', so the thing that writes config.toml is the same code that reads it. install.sh currently hand-rolls TOML and has already drifted from the schema once: it hardcoded the GitHub token key and the Gitea host, so a Gitea install produced a config naming a token the installer never wrote. Modelled on tau's 'tau setup' (internal/cli/setup.go, internal/app/setup.go), adapted for archie's TOML config and existing secret-reference indirection.","design":"Port from tau: the CLI/app split behind a SetupPrompter interface so business logic is UI-agnostic and testable without a terminal; plain-stdio Select and hidden ReadSecret (golang.org/x/term) racing ctx.Done for Ctrl+C -- no TUI dependency; atomic temp+rename writes. DIVERGENCE FROM TAU: tau surgically patches YAML nodes to preserve comments. archie uses BurntSushi/toml, which does not preserve comments across a decode/encode round trip, so a full re-marshal would destroy config.example.toml's documentation. Decide this explicitly -- see the child issue. Secrets differ too: archie already has secret.SecretRef{engine,key} indirection, so setup writes the reference into TOML and the value into the env engine's store; that is archie's equivalent of tau's config.yaml/auth.yaml split and should be used rather than reinvented.","acceptance_criteria":"install.sh no longer generates config.toml; it invokes archied setup. Setup is idempotent and re-runnable against an existing config without clobbering unrelated settings. Every config it writes passes configuration.Validate, verified by a test that runs setup non-interactively and validates the output. Secrets never reach config.toml or argv: config holds a secret reference, the value goes to the env file at 0600 via atomic write. Prompts for secrets do not echo. A non-TTY invocation without sufficient input fails with a clear message rather than writing a partial config.","status":"open","priority":1,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-29T16:02:28Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:02:28Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-035","title":"Trigger accounting: curator output must not feed its own trigger","description":"Establish the invariant that work a curator produces does not count toward the condition that schedules the next curator run. The scheduler must explicitly exclude derived curator output from the observation threshold: counting it would inflate the threshold and create a feedback loop, so a curator that writes memories must not thereby schedule itself again.","acceptance_criteria":"Derived curator output is distinguishable from primary input at the point the trigger is evaluated. A curator that writes memories does not thereby schedule itself again. There is a regression test that would fail if derived output were counted, with the feedback-loop rationale recorded in the test so the guard is not removed as redundant.","notes":"IMPLEMENTED 2026-08-05 (commit 7372ddf): turn_completed event published from the single responder choke point (makeChatLLMResponder in cmd/archied/telegram_setup.go, shared by telegram + web gateways; redeliveries return earlier and never emit). curator.WakeOnPrimaryInput forwards ONLY primary-input kinds to the runtime as best-effort nudges — curator output (curator_run/action/error, future derived kinds) never reaches the wake path, so derived work cannot feed its own trigger. Regression test TestWakeOnPrimaryInputForwardsOnlyPrimaryKinds carries the feedback-loop rationale in its comment. REMaining: the store-level derived marker (primary-vs-derived distinction at the trigger's store read) lands with gs8 (session-memory curator writes carry a derived marker, per the SummaryMarker precedent). Adversarial review still pending per repo protocol.\nIMPLEMENTED 2026-08-05 (commit 7372ddf): turn_completed event published from the single responder choke point (makeChatLLMResponder in cmd/archied/telegram_setup.go, shared by telegram and web gateways; redeliveries return earlier and never emit). curator.WakeOnPrimaryInput forwards ONLY primary-input kinds to the runtime as best-effort nudges — curator output (curator_run/action/error, future derived kinds) never reaches the wake path, so derived work cannot feed its own trigger. Regression test TestWakeOnPrimaryInputForwardsOnlyPrimaryKinds carries the feedback-loop rationale in its comment. Remaining: the store-level derived marker (distinguishing primary vs derived at the trigger's store read) lands with gs8, following the SummaryMarker precedent. Adversarial review still pending per repo protocol.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T15:47:44Z","created_by":"Sam Catlow","updated_at":"2026-08-05T05:00:42Z","dependencies":[{"issue_id":"archie-core-035","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:47:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-89x","title":"Curator runtime: persistent loop with idle cooldown","description":"Implement the loop that runs a registered curator: continuous operation while work is available, backing off to a configured cooldown when there is nothing to do, waking on new input, and honouring per-curator check-in intervals.","acceptance_criteria":"A curator with pending input runs without waiting for its next interval; an idle curator consumes no meaningful CPU and wakes on new input. Cooldown and check-in interval are configurable per curator. Loop timing is tested with a fake clock, not wall-clock sleeps. Shutdown is clean and bounded: an in-flight curator pass is cancelled via context and the daemon does not block indefinitely on it. A panicking curator is recovered and isolated from other curators and from the agent loop.","notes":"ISOLATION INVARIANT (added 2026-08-05, Sam): curators are PEERS, not dependencies. They run on their own registry-owned loops and consume their own events; a curator must never block, delay, or take down chat turns, agent runs, or the daemon. Wake events ride the in-process events.Bus (mutex fan-out, bounded per-subscriber buffers that DROP on overflow) so a slow curator can never backpressure the chat publisher. WAKE IS A NUDGE, TRIGGER IS TRUTH: wake events are best-effort; the trigger decision is a deterministic read of persisted primary-input state at pass time, so a dropped wake only delays a run to the next check-in and never corrupts trigger accounting (archie-core-035). Per-pass recover(); per-pass budgets (max steps/tokens/timeout); max concurrent passes configurable (default 1) so curators cannot saturate the shared LLM runtime against chat. Registry lifecycle independent of the agent loop; daemon shutdown cancels in-flight passes and waits bounded. Rule of thumb: no code path a curator executes may ever appear on a chat turn's critical path.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:47:43Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:27:12Z","dependencies":[{"issue_id":"archie-core-89x","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:47:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-rfp","title":"Curator contract, registry, and internal/curator package","description":"Stand up internal/curator as a package in its own right: the typed curator contract, the owning registry that controls registration and discovery, and the definition of a curator's declared shape (check-in interval, tool set, attached memory engine).","acceptance_criteria":"internal/curator owns a typed contract exposing real curator operations plus start/health/stop. A registry controls registration, discovery, and shutdown ordering, and defines failure isolation. Curators receive a narrow typed registrar and only the host services their declared capability requires -- never *daemon.Daemon or an untyped hook map. internal/plugin/architecture_test.go recognises curator as a conforming engine family.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T15:47:42Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:30:03Z","started_at":"2026-08-05T04:30:03Z","dependencies":[{"issue_id":"archie-core-rfp","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:47:42Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-yp9","title":"[EPIC] Curator engine: persistent memory-reasoning agent loops","description":"Introduce curators as their own engine family: long-running agent loops that reason over memory and perform small maintenance tasks, rather than one hardcoded background job. A curator is defined by a check-in interval, a tool set, and (once the memory engine family lands) an attached memory engine. It runs persistently while there is input and backs off to a cooldown when idle. Ship two reference curators -- a skill curator and a persistent-session-memory curator -- so the interface is proven against two consumers rather than designed around one.","design":"The design splits a cheap hot-path extractor from an expensive sampled reasoner, so agentic cost is never paid per message. Sampling chooses which memories deserve attention via surprisal-based scoring, implemented over embeddings through interchangeable strategies including a k-NN graph random walk. Archie has no embedding capability today, so any surprisal-style sampling is gated behind adding one.","acceptance_criteria":"Curator is a conforming engine family per ARCHITECTURE.md 'Plugin engine rule (strict)': typed contract, owning registry/manager, start/health/stop, narrow typed host access. Curators are registered and configured declaratively, not hardcoded. The runtime supports persistent operation under load and cooldown when idle, with intervals configurable per curator. Both reference curators run against the shipped defaults. Curator activity is observable: what ran, when, what it changed, and why. A curator failure is isolated and never takes down the daemon or a chat turn.","notes":"FULL PLAN (2026-08-05, approved by Sam; no external-app references anywhere in this epic):\nTARGET: internal/curator is a conforming engine family per the strict plugin engine rule: typed CuratorEngine contract, owning Registry with start/health/stop and shutdown ordering, narrow typed registrar, never the daemon. In-process execution in the daemon (precedent: chat + inprocess agent mode). \nWAVE 1 (no memory engine needed): rfp contract+registry+registrar -\u003e 89x runtime loop (fake clock, per-pass budgets, panic isolation, bounded shutdown) -\u003e 035 trigger accounting (new KindTurnCompleted event from chat responder paths; derived-output marker excludes curator writes from the trigger; regression test carries the feedback-loop rationale) -\u003e i7i skill curator (new skill write path, config-scoped root, attributable actions) -\u003e 114 observability (curator event kinds + /api/curators).\nWAVE 2 (after memory-engine family 1x7 lands): pek curator\u003c-\u003ememory binding, then gs8 persistent session-memory curator (hot path = the trigger event only; no per-message model calls; writes derived memories through the engine contract).\nSAMPLING: Sampler strategy seam with cheap strategies (recency/random/all/staleness proxy) ships in wave 1; embedding-backed surprisal deferred (see children archie-core-yp9.1 and archie-core-yp9.2).\nISOLATION INVARIANT (load-bearing): curators are peers, never dependencies - own registry-owned loops, own events; a curator must never block, delay, or take down chat turns, agent runs, or the daemon. Wake events ride events.Bus (bounded dropping subscriber); wake is a best-effort nudge, the trigger is a deterministic persisted-state read at pass time. Per-pass recover + budgets; max concurrent passes configurable (default 1); registry lifecycle independent of the agent loop; daemon shutdown cancels in-flight passes and waits bounded. See bd memory curator-isolation-invariant.","status":"open","priority":1,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-29T15:47:27Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:27:08Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-lp1","title":"Ship the file-writing store as the default memory engine","description":"Reframe internal/memory/builtin as the reference engine implementation behind the new contract, so the standard install keeps writing memories to files with no configuration and no behaviour change.","acceptance_criteria":"The builtin store implements the engine contract and registers as the default. A config that names no memory engine behaves exactly as today, verified by existing internal/memory tests continuing to pass unmodified where they assert behaviour rather than structure. Its lifecycle methods are real or explicit no-ops, not stubs that silently do nothing surprising.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:46:57Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:46:57Z","dependencies":[{"issue_id":"archie-core-lp1","depends_on_id":"archie-core-huu","type":"parent-child","created_at":"2026-07-30T01:46:57Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-lp1","depends_on_id":"archie-core-1x7","type":"blocks","created_at":"2026-07-30T01:48:15Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-1x7","title":"Memory engine contract and owning registry","description":"Define the typed memory engine interface and the registry that owns provider registration, discovery, and lifecycle. This is the load-bearing design step: everything else in the epic is written against this contract.","acceptance_criteria":"A typed interface exposes real memory operations beyond identity metadata. An owning Registry/Manager controls registration, init, start, health, and stop, and defines failure isolation and shutdown ordering. Providers receive only a typed registrar and the host services their capability declares. internal/plugin/architecture_test.go passes with memory recognised as a conforming engine family. Stateless providers may declare explicit no-op lifecycle.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:46:56Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:46:56Z","dependencies":[{"issue_id":"archie-core-1x7","depends_on_id":"archie-core-huu","type":"parent-child","created_at":"2026-07-30T01:46:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":4,"comment_count":0} -{"_type":"issue","id":"archie-core-huu","title":"[EPIC] Pluggable memory engine: typed family + external providers","description":"Make the memory subsystem a pluggable engine family so an external memory backend (Honcho, or a future alternative) can be bolted on without touching the agent loop, while the file-writing store ships as the default. internal/memory already has a Manager and lifecycle hooks (TurnStartHook, SessionEndHook, SessionSwitchHook); this epic promotes that into a conforming engine family per the strict plugin engine rule in ARCHITECTURE.md rather than inventing a parallel abstraction.","design":"Constraint from the plugin engine rule: 'engine' requires a typed domain contract, an owning Registry or Manager, explicit lifecycle/health, and narrow typed registrars -- providers never receive *daemon.Daemon or untyped hook maps. The contract must express real memory operations (write observation, query, list, forget), not just Name/Version.","acceptance_criteria":"Memory is a typed engine family with an owning registry/manager, start/health/stop lifecycle, and narrow typed host access, satisfying every invariant in ARCHITECTURE.md 'Plugin engine rule (strict)' and passing internal/plugin/architecture_test.go. The builtin file-writing store is the shipped default engine and remains the behaviour when nothing is configured. At least one external engine is implementable against the contract without changes to the agent loop or gateway. Engine selection and per-engine settings are configurable, validated, and documented. Failure of a non-default engine degrades to a reported error rather than taking down a turn.","status":"open","priority":1,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-29T15:46:38Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:46:38Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qiq","title":"chat: mid-conversation context loss, undiagnosed","description":"Reported from a real Telegram transcript (29 Jul, ~09:47 AEST / 23:47 UTC 28\nJul). Turn 3 of a coherent conversation was answered with a fresh greeting as\nthough no history existed; turn 4 was coherent again.\n\nRuled out by evidence:\n- Not two processes racing the bot token. docker compose ps on carina shows a\n single archied container.\n- Not a restart. That container had 43h uptime spanning the whole exchange.\n- Not history compression. DefaultCompressionConfig protects the first 3 and\n last 20 messages and triggers at 50% of a 128k window; there were three\n messages.\n- Not a canned greeting. No such string exists in the codebase, so the reply\n was model-generated from little or no history.\n- Not the session-key namespace split fixed in 96ab167: the deployed image\n predates the session lifecycle commands entirely.\n\nBlocked on evidence, now unblocked: chat turns were completely unlogged (76\nlog lines covered two days, none a conversation). 96ab167 adds a \"chat turn\"\nlog line carrying session id, channel, thread and history depth.\n\nNext step when it recurs: check the chat turn log for that message. A session\nid differing from neighbouring turns points at key resolution (e.g. ThreadID\nappearing on one message); history_messages of 0 or 1 with a stable session id\npoints at the store read path.\n\nDo not close this by guessing. It needs one reproduction with the new log line.","notes":"CANDIDATE CAUSE 2026-08-04, from the gateway adversarial review. NOT closing -- this is a hypothesis matching the symptom, and the bead rightly asks for one reproduction with the chat turn log line before believing it.\n\narchie-core-x35: sessionTracker.resolve saved a newly created session BEFORE asking the cache who had won a concurrent race. Two callers resolving the same channel at once could each end up on a different session id, and the loser's turn ran against a session that had just been created -- i.e. an empty history -- while the next turn hit the now-settled cache and was coherent again.\n\nThat matches every point of evidence here: one turn answered as though no history existed, the next turn fine, single process, no restart, no compression involved, and no canned greeting (the model was answering with an empty history, so it greeted).\n\nConfirmed reachable by forcing the interleaving -- the store held 2 sessions where it should hold 1 -- and fixed in 3ebedcd, which claims the cache slot before the store write so only the winner writes and all racing callers agree.\n\nTwo other fixes from the same review could produce the same symptom and are also now in:\n- archie-core-jex (182375b): /topic off cached an empty session id, permanently routing a channel to session \"\".\n- archie-core-7s3 (740ec50): resolve picked an arbitrary session rather than the most recent, so a restart could resume a stale one. Ruled out here by the 43h uptime, but the same class.\n\nTO CONFIRM: if this recurs on a build containing 3ebedcd, the cause is something else and the chat turn log will show it. If it does not recur, that is consistent but not proof.","status":"open","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-29T05:17:39Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:48:43Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-uxk","title":"gateway: restore /whoami /profile /sessions /resume /agents handlers","description":"These five command handlers were lost during parallel merges of the Telegram\nworkers. The Router fields they need (Identity, Models, Sessions, Agents)\nalready exist; the handlers and their Route cases do not.\n\n18 tests in internal/gateway/gateway_test.go already specify the exact\nbehaviour. They are currently failing. Run them and make them pass:\n\n go test ./internal/gateway/...\n\nFailing: TestRouteWhoami, TestRouteWhoamiNoIdentity, TestRouteWhoamiWithModel,\nTestRouteProfile, TestRouteProfileNoIdentity, TestRouteSessionsEmpty,\nTestRouteSessionsNotConfigured, TestRouteSessionsError, TestRouteResumeNoArg,\nTestRouteResumeNotConfigured, TestRouteResumeNoMatch, TestRouteResumeAmbiguous,\nTestRouteResumeExactMatch, TestRouteAgentsEmpty, TestRouteAgentsNotConfigured,\nTestRouteAgentsWithTasks, TestRouteAgentsError, TestLocalCommandsIncludesNewCommands\n\nScope:\n- ONLY internal/gateway/. Do not touch any other package.\n- Read the tests first; they define the exact reply text fragments expected\n (\"not configured\", \"No sessions\", \"Usage\", etc). Do not invent wording.\n- Follow the shape of the existing handlers in gateway.go and\n session_commands.go: handleX methods on *Router returning (string, error).\n- A nil dependency means \"not configured\" and returns a reply, not an error.\n A dependency that returns an error must propagate it (see TestRouteSessionsError).\n- Add the new commands to the Route switch and to LocalCommands.\n\nConstraints:\n- Do NOT add //nolint or otherwise suppress lint findings. Fix issues properly.\n- Do NOT write architecture docs, ledgers, plans or new beads. Just the code.\n- Do NOT modify the tests to make them pass. The tests are correct.\n\nDone when: go build ./... , go vet ./... , gofmt -l . clean, and\ngo test ./internal/gateway/... passes with zero failures.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T00:58:16Z","created_by":"Sam Catlow","updated_at":"2026-07-29T01:11:44Z","closed_at":"2026-07-29T01:11:44Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-o3l","title":"infrastructure/eventbus/nats: relocate NATS transport","description":"Create internal/infrastructure/eventbus/nats as a properly structured replacement for internal/nats. This is NOT a mechanical move: the existing code has no interfaces, leaks vendor types (Conn() *nats.Conn, PublishMsg(*nats.Msg), Fetch() jetstream.Msg) into all four consumers, uses a 7-positional-parameter publish with stringly-typed comma-separated labels, stores an unused logger, returns (nil, nil) for 'no message', and hardcodes stream/consumer/timeout config. Rebuild it with: separate files per concern; a Message wrapper so jetstream types stop crossing the boundary; Publisher/Consumer interfaces; a Config struct; sentinel errors; consistent %w wrapping; real logging. Then update cmd/archied, cmd/archie-agent, internal/daemon and internal/agentexec to the new API.","acceptance_criteria":"internal/nats no longer exists; internal/infrastructure/eventbus/nats has its contents. All imports updated. task check clean. Container and NATS behaviour unchanged.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T00:02:50Z","created_by":"Sam Catlow","updated_at":"2026-07-29T00:14:19Z","started_at":"2026-07-29T00:04:35Z","closed_at":"2026-07-29T00:06:37Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-vq4","title":"infrastructure/configuration: external input boundary","description":"Read docs/architecture/configuration.md. Create internal/infrastructure/configuration as the external config input boundary. It owns TOML/YAML decoding, env and secret references, base/overlay precedence, compatibility aliases, input validation, and provenance. It must NOT own domain behaviour. Preserve current LoadOverlay behaviour exactly and keep every existing TOML field name working. Translate the decoded input into the current internal/config.Config shape at the composition boundary as an explicitly-marked temporary adapter, so runtime behaviour is unchanged. Do not migrate consumers in this bead.","acceptance_criteria":"internal/infrastructure/configuration exists and is the loader used by cmd/archied. Old config files still load with identical effective values. task check clean. No consumer outside cmd/archied changed. The temporary adapter carries a comment naming its deletion condition.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T00:02:49Z","created_by":"Sam Catlow","updated_at":"2026-07-29T00:13:04Z","started_at":"2026-07-29T00:04:30Z","closed_at":"2026-07-29T00:13:04Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-24g","title":"Trim the remaining agent skills to factual reference","description":"The .agents/skills/ library is 4283 lines across 12 skills. An audit found most carry useful facts buried in process ceremony. Five worst offenders were already parked at /work/apps/archie-skills-parked. Trim what remains to roughly 2200 lines total. KEEP: concrete commands, package anchors, config wiring tables, NellDB shapes, symptom-to-diagnostic indexes, known regressions, domain glossary, operational hazards, false-confidence warnings. CUT: mandated N-step procedures, handoff templates, evidence packets, acceptance checklists, ownership/deletion/rollback field lists, sibling-skill routing prose, repeated 'reject unless' instructions, dated tool snapshots. Preserve every skill's YAML frontmatter name and description. Do not delete any skill file outright.","acceptance_criteria":"Total line count of .agents/skills/*/*.md is between 1900 and 2500. All 12 skills still exist with valid frontmatter. No factual command, path, or table was lost - only procedure and ceremony. go build ./... still clean.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-28T17:18:09Z","created_by":"Sam Catlow","updated_at":"2026-07-29T00:14:32Z","started_at":"2026-07-28T17:18:44Z","closed_at":"2026-07-29T00:14:32Z","close_reason":"Completed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-5d7.2","title":"Configuration boundary and ownership review","description":"Run the first focused architecture campaign for the configuration refactor. Trace the current TOML/YAML loaders, defaults, validation, overlays, secret references, identity/repository settings, worker snapshots, container/NATS passthrough, and every production consumer. Produce a field-level current-to-target ownership ledger and decide the smallest behavior-preserving migration slice. Do not edit runtime code until ownership, input DTO boundaries, provenance requirements, schema generation boundary, compatibility semantics, and deletion criteria are recorded.","acceptance_criteria":"A reproducible current-state trace covers entrypoints, loaders, consumers, process boundaries, tests, deployment passthrough, and decoded-but-unwired fields; every in-scope setting has one current owner, target owner, scope, validation/provenance behavior, and migration disposition; base/overlay and secret compatibility semantics are explicit; the first implementation slice has an observable outcome, bounded change cone, parity tests, rollback, and deletion criterion; no unresolved semantic decision is left for the implementer to invent.","notes":"Baseline: clean committed tree at d8f4a94b4679f1d7b15abfc6fbff1a2114fe0a2a (2026-07-29). Parent archie-core-5d7 remains in progress; docsgen child 5d7.1 is complete. Initial read-only inventory confirms production uses config.LoadOverlay in cmd/archied; feature LoadDir is tested but not selected by the daemon; TaskConfig.ForTask/ToConfig is a separate worker projection; Compose mounts base+docker TOML and passes a fixed environment allowlist. No runtime edits made in this review slice.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-28T16:28:50Z","created_by":"Sam Catlow","updated_at":"2026-07-28T16:44:27Z","started_at":"2026-07-28T16:29:17Z","closed_at":"2026-07-28T16:44:27Z","close_reason":"Closing: architecture review campaign artifact. The architecture docs in docs/prds/architecture/ are complete and authoritative; no further planning/ledger work wanted.","labels":["architecture","configuration","migration"],"dependencies":[{"issue_id":"archie-core-5d7.2","depends_on_id":"archie-core-5d7","type":"parent-child","created_at":"2026-07-29T02:28:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-6pp","title":"Remove source-project references from Archie","description":"Remove every tau reference outside the explicitly preserved Beads data and docs-2/README.md. Delete copied product-specific documentation and accompanied rationale rather than mechanically renaming it. Retain reusable documentation-generation and VitePress scaffolding only after removing source-specific coupling. Update code, tests, archives, and architecture documents so archie-core contains no unauthorized tau references.","acceptance_criteria":"rg 'tau' -ow excluding .beads/** and docs-2/README.md returns zero; retained tools and documentation scaffolding contain no source-project imports, paths, product claims, or rationale; relevant validation passes.","notes":"Complete. Exact case-insensitive whole-word scan excluding .git/**, .beads/**, and docs-2/README.md returns 0. Source-specific provenance and rationale removed, neutral fixtures preserve behavior, docs workflow/site build from docs-2, retained README excluded from publication, and Archie-owned docsgen generates current agent contracts without process-global cwd mutation. tools tests/vet pass; affected package tests pass; VitePress production build passes. Fresh adversarial review reports zero surviving findings. Full task check passes fmt/go-fix/vet/build and all packages except unrelated pre-existing internal/skillscript TestRunWrapsExternalCommand (Run returned newline).","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-28T08:00:32Z","created_by":"Sam Catlow","updated_at":"2026-07-28T08:35:55Z","started_at":"2026-07-28T08:00:37Z","closed_at":"2026-07-28T08:35:55Z","close_reason":"Removed all unauthorized source-project references and accompanying rationale; validation and independent review complete.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-5d7","title":"Define target project organisation and restructuring rules","description":"Run a package-by-package architecture grilling session, establish the target DDD and semi-microservice organisation, record strict restructuring requirements and package destinations, and produce docs/prds/01-project-management.md as the durable handoff.","acceptance_criteria":"The PRD records agreed project-wide organisation rules, bounded-context and service/plugin boundaries, dependency constraints, migration principles, and the destination of each reviewed package. Decisions are confirmed one at a time with the user before the document is finalized.","notes":"Corrected generated-documentation.md to the agreed architecture: production code/registries/config/CLI are authoritative; docsgen emits deterministic JSON data and protocol schemas only; typed VitePress data loaders/components/templates own page rendering; generated Markdown is prohibited. First implementation slice tracked and completed as archie-core-5d7.1.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-28T00:00:36Z","created_by":"Sam Catlow","updated_at":"2026-07-28T16:44:28Z","started_at":"2026-07-28T00:00:42Z","closed_at":"2026-07-28T16:44:28Z","close_reason":"Closing: the target organisation is already documented in docs/prds/architecture/. Reopen only when implementing a specific slice, not to plan further.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qa4.4","title":"Phase 4: structural refactor (~28 issues)","description":"funlen, gocognit, cyclop, nestif, maintidx, interfacebloat. This IS the internal/config restructure already discussed (finalize at cognitive complexity 106, feature_config loadDirInto at 74) plus daemon process/checkWaiting. MUST BE LAST: refactoring moves line numbers and invalidates every other phase in flight. Fold into the config file-per-responsibility split rather than doing the same work twice.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T15:23:01Z","created_by":"Sam Catlow","updated_at":"2026-07-29T00:15:26Z","started_at":"2026-07-28T17:28:01Z","closed_at":"2026-07-29T00:15:26Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-qa4.4","depends_on_id":"archie-core-qa4","type":"parent-child","created_at":"2026-07-28T01:23:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qa4.3","title":"Phase 3: correctness findings needing judgement (~62 issues)","description":"nilerr (11: 6 in internal/agentexec inprocess.go/worker.go, 2 gateway), bodyclose (1), contextcheck (7), containedctx (2), fatcontext. SINGLE SESSION, sequential, no subagents: each nilerr site needs a read of whether the swallow is deliberate degradation or a real bug, and a context-free worker will silently convert deliberate behaviour into a change. Do nilerr FIRST -- highest bug probability in the whole set. BLOCKED on a policy decision for noctx (41 sites, mostly webui/worktree/store): fixing it means threading context through public APIs, which is an API change, not a lint fix.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T15:23:00Z","created_by":"Sam Catlow","updated_at":"2026-07-29T00:10:46Z","started_at":"2026-07-28T17:27:59Z","closed_at":"2026-07-29T00:10:46Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-qa4.3","depends_on_id":"archie-core-qa4","type":"parent-child","created_at":"2026-07-28T01:23:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qa4.1","title":"Phase 1: autofix pass (~35 issues)","description":"golangci-lint run --fix plus the formatters. Covers errorlint, fatcontext, gocritic, sloglint, usestdlibvars, usetesting, gci, gofumpt, goimports. Zero judgement. MUST run first: it touches formatting across every file and would conflict with anything in flight. Single command, single commit, verify with task check.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T15:22:59Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:23:59Z","started_at":"2026-07-28T17:18:45Z","closed_at":"2026-07-28T17:23:59Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-qa4.1","depends_on_id":"archie-core-qa4","type":"parent-child","created_at":"2026-07-28T01:22:58Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qa4.2","title":"Phase 2: mechanical per-package fixes (~40 issues)","description":"forcetypeassert (24, internal/tools 20 + internal/memory 2, nearly all tests), predeclared (9, webui/ratelimit/memory), leftover unconvert. Purely mechanical, package-local, no design judgement. THE ONLY PHASE WORTH PARALLELISING. Partition by package: tools / webui / memory+ratelimit / secret. Use git worktree isolation -- other sessions edit this repo concurrently and stale diagnostics are a known hazard. Each worker verifies scoped: go test ./internal/X/... plus golangci-lint run ./internal/X/...","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T15:22:59Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:23:35Z","started_at":"2026-07-28T17:18:49Z","closed_at":"2026-07-28T17:23:35Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-qa4.2","depends_on_id":"archie-core-qa4","type":"parent-child","created_at":"2026-07-28T01:22:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qa4","title":"[EPIC] Clear the 160 golangci-lint findings","description":"Config landed in 9298afd; the gate is RED until this epic closes. Four phases, ordered by risk and by what invalidates what. Structural refactor MUST be last: it moves line numbers and invalidates everything in flight.","notes":"DO NOT CLOSE ON THE 100% PROMPT. All four original phases are closed and the\nepic advertised itself as \"eligible for close\", but golangci-lint run ./...\nstill reports 56 issues -- found incidentally while auditing 6d4e0be\n(archie-core-ifi). Filed as archie-core-qa4.5, now a fifth child, so the\ncompletion count reflects reality. The epic's own description says the gate is\nRED until it closes, so closing it early would have declared a green gate that\ndoes not exist. Phase 4's description already hedged that archied main.go run\nwould land at \"108-\u003e30 remaining\"; it is still at 106.","status":"open","priority":1,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-27T15:22:58Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:27:14Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-4we","title":"Port tau internal/indexing (codesearch) into archie-core","description":"First slice of the tau cherry-pick strategy. Copy-and-mutate (NOT extract to pkg/ - Sam's decision: exporting would force designing metrics/session/logger seams upfront before archie-core knows which it wants differently).\n\ntau/internal/indexing is the cheapest high-value lift: 512 LoC, one file, and its only tau coupling is 3 calls to config.WorkspaceIndexDir()/WorkspaceIndexDBPath(). Nothing else in tau imports it.\n\nMutations: replace the global config path helpers with explicit constructor params (archie-core passes config, no globals); add the workspace-codesearch helper subcommand to archied since the manager deliberately runs google/codesearch in a child process (upstream fatal exits + mmap leaks must not kill the daemon).\n\nEach lifted file carries a provenance header (source path + tau commit) so a future refresh is a diff, not archaeology.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T13:41:58Z","created_by":"Sam Catlow","updated_at":"2026-07-27T13:47:42Z","started_at":"2026-07-27T13:42:57Z","closed_at":"2026-07-27T13:47:42Z","close_reason":"Ported tau internal/indexing/codesearch.go @ 4893818d0c76 into archie-core internal/indexing. Mutations: global config path helpers replaced by explicit indexing.Config + DefaultConfig(workDir) (two archied instances share carina and must not share an index); child-process helper is archied's own 'workspace-codesearch' subcommand in cmd/archied/codesearch.go, dispatched from main() before flag parsing so it touches no config/store/NATS; deferred db.Close explicitly discarded for errcheck. Added dep github.com/google/codesearch v1.3.0-rc.1 (uuid and modernc sqlite already present). Verified E2E against the real repo: 2.2MB indexed in 0.05s, correct hits, [] for no match, corrupt index -\u003e clean error exit 1 rather than process death. task check clean; golangci-lint 0 issues on both packages. Commit c924281. NOT pushed. Follow-up: nothing calls indexing.NewManager yet -- it is ported and proven but not wired into the agent's grep path.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-sc5","title":"Chat: real system prompt template for Archie (identity, tools, env)","description":"The chat agent's system prompt is the four-sentence static string in gateway.DefaultPersonas(). It carries no tool inventory, no environment/date block, and no instruction precedence, so the model invents its own capabilities -- it told Sam it 'only has the memory editing tool' and then offered to walk him through installing software it cannot install.\n\nTake the shape from tau: /work/apps/tau/internal/agent/templates/agent.md.tpl renders an agent body plus \u003ctools\u003e, \u003cguidelines\u003e, \u003cproject_context\u003e and \u003cenv\u003e blocks, and /work/apps/tau/internal/agent/spec/templates/tau.agent.md supplies identity, instruction precedence, core rules, communication rules and confirmation boundaries.\n\nKeep the existing PersonaRegistry as the style layer; the template is the substrate it renders into.","status":"closed","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-27T12:14:08Z","created_by":"Sam Catlow","updated_at":"2026-07-27T12:20:52Z","closed_at":"2026-07-27T12:20:52Z","close_reason":"Implemented gateway.BuildSystemPrompt rendering internal/gateway/templates/archie.md.tpl: instruction precedence, core rules, communication rules, \u003ctools\u003e and \u003cenv\u003e blocks, with PersonaRegistry kept as the style layer on top. Tool inventory is derived from the same core.ToolSet passed to the model (cmd/archied/toolSummaries) so prompt and reality cannot drift; empty toolset renders an explicit 'no tools are available'. Tool metadata is markup-escaped and whitespace-flattened against forged tags and forged list entries. task check clean: vet, full go test ./... , golangci-lint 0 issues on changed packages, gofumpt clean. Commit 7fde716. NOT yet deployed - not pushed.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qnm","title":"Telegram: remove task approval from the public command surface","description":"Existing /approve [identity=name] \u003ctask-id\u003e was inherited as chat-task lifecycle control, but Sam explicitly states task approvals are not a product requirement. Reserve /approve exclusively for dangerous-command approval. Remove task approval from Telegram command menu/help/router/public UX; retain or remove internal waiting_human task mechanics only after verifying workflow callers. Do not repurpose the command until the dangerous-command approval model (archie-core-alm.6) exists.","acceptance_criteria":"Telegram no longer advertises or accepts task approval via /approve; no documentation/help describes task approvals; task lifecycle code is not broken for existing non-Telegram workflow paths; /approve remains unclaimed or is implemented only for the approved dangerous-command design.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T09:00:56Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:24:07Z","started_at":"2026-07-28T17:18:47Z","closed_at":"2026-07-28T17:24:07Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm.6","title":"Telegram: controlled execution and checkpoint commands","description":"Design /rollback [number] filesystem checkpoints, /stop background process termination, /approve and /deny for dangerous commands. /approve is RESERVED exclusively for dangerous-command approval; it must not be interpreted as task approval. The pending-command UX is inline selection buttons: Approve this time, Approve Permanently, Deny. Define the exact policy scope/lifetime for permanent approval, callback authorization, expiry, audit persistence, and cancellation. Requires a real sandbox/process/checkpoint authority; do not create commands that claim control over host processes or filesystem state Archie does not own.","acceptance_criteria":"For every pending dangerous command, Telegram renders authorized inline buttons exactly representing Approve this time, Approve Permanently, and Deny. Callbacks are recipient-bound, expiring, single-use, auditable, and cannot authorize a changed command. Permanent approval scope/lifetime is explicit. /approve exclusively controls this policy; /deny controls the same policy. Authority boundaries match actual sandbox/process ownership; tests cover authorization, expiry, replay, denial, and failure.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T08:59:54Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:39:56Z","started_at":"2026-07-28T17:30:30Z","closed_at":"2026-07-28T17:39:56Z","close_reason":"Completed","dependencies":[{"issue_id":"archie-core-alm.6","depends_on_id":"archie-core-alm","type":"parent-child","created_at":"2026-07-27T18:59:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm.4","title":"Telegram: model scope and personality selection","description":"Extend /model to support Hermes-like /model [model] [--provider name] [--global|--session] [--refresh], with persisted default behaviour. Add /personality [name] for predefined personalities. Design global-versus-session ownership, provider filtering, persistence, refresh semantics, validity when credits are exhausted, and interaction with existing model selector before implementation.","acceptance_criteria":"/model scope and persistence are explicit and tested; provider/model selection cannot be ambiguous; /personality operates on a defined catalog and session scope; existing Telegram selector behaviour remains coherent.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T08:59:53Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:36:36Z","started_at":"2026-07-28T17:30:30Z","closed_at":"2026-07-28T17:36:36Z","close_reason":"Completed","dependencies":[{"issue_id":"archie-core-alm.4","depends_on_id":"archie-core-alm","type":"parent-child","created_at":"2026-07-27T18:59:52Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm.5","title":"Telegram: resilient session lifecycle and context commands","description":"Design gateway/runtime-owned commands that remain usable when LLM credits are exhausted: /start acknowledgement without a reply; /new [name] with /reset alias; /topic [off|help|session-id] for Telegram DM topic sessions; /retry; /undo [N]; /title [name]; /branch [name] with /fork alias; /compress [here [N]|focus topic|--preview|--dry-run] with /compact alias. Define session history, branching, retry/undo atomicity, context accounting, and persistence before implementation.","acceptance_criteria":"Every command has explicit session/history semantics and safe aliases; unavailable LLM credits do not block gateway/runtime commands; tests cover persistence, edge cases, and topic/session scoping.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T08:59:53Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:43:38Z","started_at":"2026-07-28T17:30:28Z","closed_at":"2026-07-28T17:43:38Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-alm.5","depends_on_id":"archie-core-alm","type":"parent-child","created_at":"2026-07-27T18:59:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm.1","title":"Telegram: steer and standing goal controls","description":"Design and add Hermes-like /steer \u003cprompt\u003e (inject after next tool call without interruption), /goal [text|draft \u003ctext\u003e|show|pause|resume|clear|status|wait \u003cpid\u003e|unwait], /subgoal [text|remove N|clear], and /queue \u003cprompt\u003e with aliases /q, /background \u003cprompt\u003e with aliases /bg and /btw. Define persistence, lifecycle, interaction with streaming/tool calls, task versus chat session ownership, background execution, and admin authorization before implementation.","acceptance_criteria":"Semantics are explicitly designed and tested; steer injection timing is deterministic; goals/subgoals persist with correct pause/resume/clear/wait behaviour; commands are authorized and do not corrupt active work.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T08:56:49Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:41:09Z","started_at":"2026-07-28T17:30:28Z","closed_at":"2026-07-28T17:41:09Z","close_reason":"Completed","dependencies":[{"issue_id":"archie-core-alm.1","depends_on_id":"archie-core-alm","type":"parent-child","created_at":"2026-07-27T18:56:48Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm.2","title":"Telegram: access, profile, and session navigation commands","description":"Design and add Hermes-like /whoami, /profile, /resume [name], /sessions, plus /agents (active agents/running tasks). Determine Archie's actual role/access model, profile/home representation, session naming and browsing UX, persistence, authorization, and the relationship between /agents and the already-specified /tasks command before implementation.","acceptance_criteria":"Each command accurately reports or navigates Archie-owned state; session listing/resume is safe and scoped; output/menu/help/tests are complete.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T08:56:49Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:36:11Z","started_at":"2026-07-28T17:30:27Z","closed_at":"2026-07-28T17:36:11Z","close_reason":"Closed","dependencies":[{"issue_id":"archie-core-alm.2","depends_on_id":"archie-core-alm","type":"parent-child","created_at":"2026-07-27T18:56:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm","title":"[EPIC] Telegram: Hermes-style session and control commands","description":"Bring the frequently used Hermes control surface to Archie Telegram without copying Hermes semantics blindly. Design each command against Archie's actual session, task, goal, authorization, and future multi-home-channel models before implementation.","acceptance_criteria":"Command behaviour, authorization, persistence, and Telegram UX are specified and implemented in focused child work; menu/help remain aligned; no command claims state Archie does not own.","status":"open","priority":1,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-07-27T08:56:36Z","created_by":"Sam Catlow","updated_at":"2026-07-27T08:56:36Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ku8","title":"Telegram: separate task status from chat runtime status","description":"Split Telegram task and runtime status into distinct commands. MVP from Sam:\\n\\n/tasks:\\n- command name is exactly /tasks\\n- show only when running tasks exist; when none are running, explain how to set up workflows for continuous development\\n- let the user select a running task by its description/title; first verify task records actually carry usable titles/descriptions, otherwise treat that as a blocker\\n\\n/status:\\n- show session details\\n- show configured provider\\n- show configured model\\n- show installed plugins\\n- Hermes-style session metadata is the reference direction; exact fields can expand later\\n\\nDo not mix task state into /status.","acceptance_criteria":"/tasks is the sole task-status command; it lists selectable running tasks by usable title/description, or gives workflow setup guidance when none run; implementation is blocked/escalated if task records lack usable titles. /status reports only chat/runtime state: session details, configured provider, configured model, and installed plugins. Task and runtime outputs do not mix. Telegram menu/help/executable parity and tests cover both commands.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T08:42:54Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:34:21Z","started_at":"2026-07-28T17:27:58Z","closed_at":"2026-07-28T17:34:21Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-0zp","title":"CLI: technical design interview and PRD for command surface","description":"Run a technical design interview with Sam before making any CLI implementation decisions. Produce a reviewed PRD/specification for the user-facing archie CLI: goals, personas, installation/distribution, configuration and state model, commands/subcommands/flags, output and machine-readable contracts, auth/host targeting, update lifecycle, error semantics, compatibility/migration, and acceptance tests. The eventual implementation must use urfave/cli/v3; do not use or introduce urfave/cli/v2. No CLI code is in scope until Sam approves the resulting PRD.","acceptance_criteria":"Interview captures Sam's intended CLI workflows and non-goals; PRD defines the complete command surface and state/transport ownership without assumptions; PRD specifies urfave/cli/v3; Sam explicitly approves the PRD before implementation work is created.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-27T07:21:54Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:39Z","closed_at":"2026-07-28T17:04:39Z","close_reason":"Deliverable is a document: description says 'Produce a reviewed PRD/specification' and 'No CLI code is in scope until Sam approves the resulting PRD'. Per CLAUDE.md scope discipline, no new architecture/PRD documents. The actual CLI code surface is tracked by archie-core-abg.20.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3ro","title":"Make Archie the user-facing identity","description":"Remove internal gateway terminology from Telegram replies and establish an Archie default system prompt so chat does not drift into generic assistant identity.","acceptance_criteria":"Telegram help and restart copy call the assistant Archie; default chat persona identifies Archie and forbids unverified claims or vendor impersonation; tests and task check pass.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T20:24:07Z","created_by":"Sam Catlow","updated_at":"2026-07-26T20:33:10Z","started_at":"2026-07-26T20:24:08Z","closed_at":"2026-07-26T20:33:10Z","close_reason":"Shipped locally: Telegram calls the assistant Archie rather than Gateway; restart copy is Archie-facing; new sessions receive and preserve an Archie baseline identity; model selector shows provider in the header and provider-free model names; successful selections acknowledge the chosen model; model/provider callbacks use stable tokens so stale keyboards cannot select a different option. task check and lint pass; fresh review clean.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ubl","title":"Durable scheduled agent tasks backed by Archie's task queue","description":"Add first-class one-shot, interval, and cron scheduling for Telegram agents. The scheduler decides when work is due but never executes an LLM or shell inline: it atomically enqueues a normal durable Archie task under the originating identity, and existing workers execute it with the usual tool, sandbox, lifecycle, and observability policies. Expose typed agent tools and Telegram management surfaces for create/list/status/pause/resume/delete/run-now, with delivery back to the originating chat.","acceptance_criteria":"Schedules support one-shot timestamps, fixed intervals, and cron expressions with explicit timezone. Definitions and execution history survive daemon restarts. Due firing uses an atomic lease/idempotency key so concurrent daemons and crash recovery do not duplicate a scheduled occurrence. Scheduler callbacks only enqueue normal tasks; they never run agents or shell commands inline. Each schedule records owner identity, origin chat/thread, prompt/task payload, enabled capability policy, overlap policy, next run, last result, and delivery state. Authorized users can create/list/status/pause/resume/delete/run-now from chat and equivalent typed agent tools. Missed-run, long-running overlap, clock/DST, cancellation, queue failure, execution failure, and delivery failure semantics are explicit and tested with a fake clock. Cron-spawned tasks cannot recursively create schedules unless explicitly authorized. Library selection is documented and does not replace Archie's durable queue semantics.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-26T20:05:57Z","created_by":"Sam Catlow","updated_at":"2026-07-26T20:05:57Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-4sr","title":"Gateway: unknown slash commands must not reach the LLM","description":"Unknown slash commands currently fall through to free-text LLM chat, causing fabricated command behavior such as /memories claims and false statements about files or model identity. Make slash command recognition deterministic and answer unknown commands locally with guidance to /help, while preserving free-text chat and supported Telegram bootstrap commands.","acceptance_criteria":"Any unrecognized leading slash command is answered locally and never invokes or streams from the LLM. The reply identifies the command as unknown and points to /help. Recognized commands and ordinary free text retain existing behavior. Telegram /start has an explicit deterministic behavior. Tests cover unknown commands with arguments and @gateway mentions, streaming routing, /start, and LLM non-invocation.","status":"in_progress","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:55:37Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:55:41Z","started_at":"2026-07-26T19:55:41Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-1d4","title":"Telegram: provider selector filters model choices","description":"Add an authorized native /provider inline selector. The selected provider scopes /model so only configured model references belonging to that provider are shown; e.g. openrouter/openai/gpt-5.6 must not appear under provider openai. Selecting a provider establishes a valid active model for that provider when necessary, and /status reports active provider and model.","acceptance_criteria":"/provider displays configured providers as an inline keyboard and marks the active provider. Authorized callbacks switch provider; unauthorized, malformed, stale, and duplicate callbacks fail safely. /model shows only models whose first reference segment matches the selected provider and uses unambiguous labels. Switching provider leaves the chat responder on a valid model from that provider. /status includes active provider and full model reference. Menu/help/executable parity and concurrent access are tested.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:55:36Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:55:40Z","started_at":"2026-07-26T19:55:40Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.17.44","title":"Firecracker substrate for sandboxed MCP code tools","description":"Replace the interim daemon-container code MCP execution path with a real Firecracker boundary. Extend or extract the gorev POC to support a long-lived bidirectional guest process, explicit workspace import/export, per-turn filesystem checkpoints, lifecycle/health, and concurrent-instance-safe networking. Then adapt the MCP provider launcher without changing the chat/tool contract.","acceptance_criteria":"MCP server code and tool execution occur inside a Firecracker VM; the guest cannot access daemon-host files outside the imported workspace; changes export deterministically; pre-change checkpoints support /restore; lifecycle cleanup survives crashes; tests prove the configured provider cannot silently fall back to host execution.","status":"open","priority":1,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-26T19:31:13Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:31:13Z","dependencies":[{"issue_id":"archie-core-abg.17.44","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-27T05:31:13Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.38","title":"Telegram: interactive /model selector","description":"When /model is invoked without an argument, present Telegram-native interactive controls rather than only plain text usage. Use the pinned go-telegram/bot SDK inline keyboard and callback query APIs; preserve /model provider/model for typed selection and enforce the existing sender allowlist on callbacks.","acceptance_criteria":"An allowlisted user invoking /model receives an inline keyboard of configured models with the active model marked; tapping a model switches it through gateway.ModelManager, acknowledges the callback, and updates the message; unauthorized or malformed callbacks cannot switch models; empty model catalogs degrade safely.","notes":"Implemented native Telegram inline keyboard model selector and callback handling. Added concurrency-safe chat model manager wired into the actual LLM responder so selection affects subsequent turns. Focused tests green; awaiting full gate and fresh review.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:29:39Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:46:24Z","started_at":"2026-07-26T19:34:49Z","dependencies":[{"issue_id":"archie-core-abg.16.38","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T05:29:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.37","title":"Telegram: comprehensive truthful /help output","description":"The live /help response lists only /status and /help and still says LLM chat is not wired, despite the gateway supporting model, task, restart, and free-text chat paths. Replace the stale hardcoded copy with a complete, maintainable command guide that matches the registered menu and actual router behavior.","acceptance_criteria":"/help describes every published command with accurate usage, includes free-text chat behavior, no longer claims chat is unwired, and a regression test fails if the published command menu and help surface drift.","notes":"Implemented comprehensive /help from a shared command spec; added exact usage assertions and executable/published parity against gateway.LocalCommands plus Telegram-only commands. Focused tests green; awaiting full gate and fresh re-review.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:29:38Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:46:24Z","started_at":"2026-07-26T19:29:46Z","dependencies":[{"issue_id":"archie-core-abg.16.37","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T05:29:38Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.17.43","title":"Wire MCP tool servers for the chat agent, sandboxed","description":"The chat agent has only memory_edit and skill_activate, so it cannot act on the codebase. cfg.Tools.MCPServers + the stdio transport are the designed extension point (configuredMCPProvider in cmd/archied/main.go already builds providers from config). Sam's requirement is to expose specific capabilities narrowly rather than granting host access, and he has a Firecracker sandbox POC at /work/clones/gorev (firecracker/sandbox) intended for exactly this.","acceptance_criteria":"MCP servers are configurable per deployment and discovered into the chat agent tool loop. A narrowly scoped code MCP server runs in the daemon container against an explicitly configured workspace and can make a code change end to end. Firecracker execution remains a requirement tracked separately in archie-core-abg.17.44.","notes":"Implemented interim unsandboxed MCP CLIENT path with Desktop Commander 0.2.46 as managed stdio provider. Corrected custom client from incompatible Content-Length framing to MCP-standard newline-delimited JSON, added explicit subprocess work_dir, Node/npm to archied image, /workspace compose mount, and active docker overlay config. External integration completes initialize + tool discovery and now asserts persistent shell tools start_process, interact_with_process, and read_process_output. Firecracker isolation remains 17.44; no chat-output warning labels per Sam.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:15:34Z","created_by":"Sam Catlow","updated_at":"2026-07-26T20:06:03Z","started_at":"2026-07-26T19:27:33Z","dependencies":[{"issue_id":"archie-core-abg.17.43","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-27T05:15:34Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.35","title":"Telegram: /restart command to reload gateway config","description":"Operator escape hatch: restart the chat gateway from chat to pick up config changes (notably the allowlist) or recover from a wedged adapter, without shell access to the host.","acceptance_criteria":"/restart is admin-only (allowlisted sender). Re-reads config and restarts the gateway. Replies with the outcome. In-flight agent tasks are not killed.","notes":"Live Telegram transcript on 2026-07-27 shows /restart fell through to the LLM, which falsely replied that everything was reset. /help also omits /restart. Reopened for production-path diagnosis before /restore.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:11:42Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:26:25Z","started_at":"2026-07-26T19:20:06Z","closed_at":"2026-07-26T19:26:25Z","close_reason":"Shipped in e600cfa. Temporarily reopened after seeing a Telegram transcript where /restart fell through to the LLM, then Sam clarified that transcript predates deployment; no regression evidence.","dependencies":[{"issue_id":"archie-core-abg.16.35","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T05:11:42Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.34","title":"Telegram: register command menu via SetMyCommands","description":"The bot never calls SetMyCommands, so Telegram shows no command menu and the commands the Router implements (/status, /help, /models, /model, /spawn, /approve, /cancel) are undiscoverable. Asking the bot for /commands makes the LLM answer that it has none, which is wrong.","acceptance_criteria":"SetMyCommands is called at startup with the commands the Router actually handles. Failure is logged, not fatal.","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T19:11:41Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:15:22Z","closed_at":"2026-07-26T19:15:22Z","close_reason":"Shipped in cec0f3e. 16.33: chat.telegram.allowed_user_ids plumbed through config; empty list now DENIES (was: allowed everyone); matches sender from.id not chat id so groups cannot inherit access; rejections logged with sender id; startup warns on empty list. Old TestIsChatAllowed asserted the vulnerable fail-open behaviour and was replaced with fail-closed tests. Sam's id 1312197967 added to carina's config.toml before push. 16.34: SetMyCommands publishes the command list Router actually handles; non-fatal on failure.","dependencies":[{"issue_id":"archie-core-abg.16.34","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T05:11:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.32","title":"Telegram: stream LLM replies via sendMessageDraft","description":"Chat replies currently block for the whole LLM turn, then arrive as one message. The typing indicator masks the wait but shows no progress. go-telegram/bot exposes SendMessageDraft (see examples/streaming_draft) and ai-sdk's runtime.ChatStream already returns core.StreamResult with a TextStream \u003c-chan string, so both halves exist -- only the gateway seam is missing, since gateway.LLMResponder is func(ctx, Message) (string, error) and cannot emit partial output.","acceptance_criteria":"Gateway exposes an optional streaming responder; Router falls back to the blocking path when unset. Telegram adapter streams deltas into a draft, then finalises with a formatted SendMessage. Draft updates are throttled to respect Telegram rate limits. Streaming failure falls back to a normal send rather than losing the reply.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T18:52:20Z","created_by":"Sam Catlow","updated_at":"2026-07-26T18:57:44Z","started_at":"2026-07-26T18:52:30Z","closed_at":"2026-07-26T18:57:44Z","close_reason":"Implemented via go-telegram/bot v1.22.0 rich messages. gateway.LLMStreamResponder + Router.RouteStream provide the streaming seam (degrades to Route when unset); telegram draft.go streams deltas through sendRichMessageDraft throttled to 700ms; main.go derives blocking and streaming responders from one shared turn impl using runtime.ChatStream. Also removed the markdownToHTML converter from the prior commit -- v1.22 takes Markdown natively and supports tables, so the conversion was unnecessary. 4 RouteStream tests; full suite + golangci-lint clean.","dependencies":[{"issue_id":"archie-core-abg.16.32","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T04:52:20Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-50z","title":"Enforce typed plugin engine architecture rule","description":"Cement the repository invariant that a plugin engine is a typed capability family with an owning registry/manager and lifecycle semantics, never a generic daemon hook. Add one canonical architecture rule referenced by both AGENTS.md and CLAUDE.md, record it in Beads memory, and add an executable architecture test that prevents drift without touching the concurrently edited secret/config packages.","acceptance_criteria":"A canonical rule defines typed domain contract, owning registry/manager, lifecycle and health expectations, narrow host access, and trust boundaries; AGENTS.md and CLAUDE.md both surface the rule through their shared source; an architecture test fails for generic plugin-hook expansion or an engine interface without a family manager; focused tests and task check pass; fresh adversarial review has no surviving findings.","notes":"Complete. Red proof: architecture test failed on missing canonical rule. Green: internal/plugin tests pass; golangci-lint ./internal/plugin reports zero issues; gofumpt diff is empty. Fresh adversarial review initially found bypassable owner checks and ambiguous trust wording; remediated with signature-linked single-owner validation, negative fixtures (metadata-only, embedded-only, unrelated/split owners, pointer and collection wrappers), and precise trusted-in-process/out-of-process/container language. Final fresh review: zero surviving findings. Full task check was attempted but is currently blocked by concurrent unrelated migrations: gateway fakeTaskCreator still implements CreateTask(context.Context,string) while interface now wants SpawnRequest, and daemon EnqueueIssue callers omit the new eighth argument. No secret/config source was edited by this issue.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T05:00:36Z","created_by":"Sam Catlow","updated_at":"2026-07-26T05:14:06Z","started_at":"2026-07-26T05:00:43Z","closed_at":"2026-07-26T05:14:06Z","close_reason":"Strict plugin-engine invariant documented in canonical architecture and shared AGENTS/CLAUDE instructions, persisted in Beads memory, mechanically enforced with adversarial negative controls, and independently reviewed with zero findings.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.39","title":"MVP: migrate Hermes profiles, memory, skills, and session state","description":"The copied live Hermes instance contains root plus agile-lead, dev, and local-agent profiles with distinct models, gateways, memories, SOUL prompts, skills, sessions, and cron state. archie-core currently has forge identities but no profile-scoped gateway/tool/memory/workspace composition and no importer. Define the mapping into archie-core identities/profiles and build a one-time idempotent migration plus cutover rehearsal.","acceptance_criteria":"Document and implement the mapping for all copied profiles -- MAPPING DOCUMENTED (docs/prds/hermes-migration-dry-run.md), NOT YET IMPLEMENTED (blocked on abg.36). Import SOUL/USER/MEMORY/skills/session/cron without secrets -- NOT STARTED (design-blocked on abg.36, see report). Produce a dry-run report -- DONE. Rehearse dual-run/shadow validation and rollback-safe cutover checklist -- NOT STARTED.","notes":"Dry-run inventory + mapping report delivered: docs/prds/hermes-migration-dry-run.md. Surveyed .hermes-carina/ (live copy of the Hermes deployment) structurally only -- directory listings and non-secret YAML top-level keys, zero secret file contents read (.env/auth.json/mcp-tokens/ explicitly excluded and never opened). Found and catalogued 4 environments (main/agile-lead/dev/local-agent), their skill counts (34/20/25/17), main's 419 session keys (sessions/sessions.json), cron jobs.json presence. Proposed a mapping table: environment-\u003eIdentityConfig, SOUL.md-\u003enew persona system-prompt field (no existing archie-core field for this), memories/-\u003einternal/memory.Manager (needs format translator), skills/-\u003einternal/skill.Catalog (closest 1:1, needs tool-compat pass), sessions-\u003egateway.SessionStore (needs translator), cron/jobs.json-\u003eblocked, no archie-core cron subsystem exists yet (abg.24 territory). Documented explicit exclusion list for the eventual importer (secrets never copied). Documented why actual import tooling is blocked until abg.36 lands (no point importing SOUL/memory/skills into a runtime that doesn't consume them per-turn yet) -- this report is prep, not the importer itself.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T04:37:09Z","created_by":"Sam Catlow","updated_at":"2026-07-26T05:16:40Z","started_at":"2026-07-26T05:14:49Z","dependencies":[{"issue_id":"archie-core-abg.39","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T14:37:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.35","title":"Audit Hermes-to-archie-core MVP takeover gaps","description":"Compare the copied live Hermes state in .hermes-carina with archie-core's current runtime and backlog. Determine the minimum remaining work for archie-core to replace Hermes on carina, explicitly excluding the in-flight secret engine and provider/config work.","acceptance_criteria":"Document current capability parity, concrete blockers, minimum migration sequence, and non-MVP deferrals with file and issue evidence; do not modify implementation code.","notes":"Verdict: not cutover-ready. The copied live surface is root plus three profiles; connected Telegram/email/webhook gateways; 419 persisted session records across root state; one scheduled Gitea Monitor with Telegram delivery; enabled Linear/Gitea MCP; and actual use of terminal/file/patch/web/memory/session/delegation/process tools. Critical gaps: gateway chat is a one-step runtime.Chat call with no tools; email/webhook have nil responders; tool registry/MCP/memory are not wired end-to-end; rich gateway abstractions are parallel dead code; Telegram is instantiated with an empty allowlist; chat /spawn fabricates a forge issue and /approve,/cancel are absent; multi-identity is not composed or ownership-safe; no profile/state importer; cron/delivery/auth/webhook parity remain open. Filed abg.36 full gateway agent loop, abg.37 identity routing, abg.38 native chat tasks, abg.39 migration/cutover. Existing MVP dependencies: abg.17 stdio MCP completion, abg.22 authorization subset, abg.23 delivery, abg.24 scheduler, abg.27 webhook HMAC/filter/template/dedup subset. Focused gateway/channel/memory/tools/daemon/cmd tests passed when rerun with local socket access.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T04:28:15Z","created_by":"Sam Catlow","updated_at":"2026-07-26T04:37:51Z","started_at":"2026-07-26T04:28:19Z","closed_at":"2026-07-26T04:37:51Z","close_reason":"Completed read-only Hermes takeover audit; findings and MVP remediation issues recorded.","dependencies":[{"issue_id":"archie-core-abg.35","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-07-26T14:28:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-xec","title":"internal/secret: secrets-engine registry with yaegi extension interface","description":"Add a secret-management package that avoids hard-coding secrets backends. Defines an Engine interface (Name, Version, Resolve(ref string) (map[string]string, error)) that custom secrets engines implement as yaegi-interpreted .go plugins, loaded the same way internal/plugin.LoadDir already loads daemon plugins (main.Engine export, resolved via yaegiutil.Resolve). Includes a built-in compiled-in 'env' engine, a Registry type, and a config.SecretRef type ({Engine, Ref string}) that directly REPLACES the existing TokenEnv/APIKeyEnv string fields across config.go (Forge, Provider, NATSConfig, TelegramConfig, etc) -- no backwards-compatibility shim, this is a clean cutover since the end user is the repo owner, not an external customer base. Ships no third-party engines yet (sops/bws/vault-openbao are follow-up beads) but proves the extension point with the env engine and a directory-loaded custom engine in tests.","design":"Mirrors internal/plugin's Plugin interface (Name/Version) + one Resolve method. Built-in env engine is native Go (trivial, no yaegi needed) registered by default. Custom/shipped engines are yaegi .go files loaded from a configurable directory via yaegiutil.Resolve[Engine](i, src, \"main.Engine\").","acceptance_criteria":"internal/secret package exists with Engine interface, Registry, LoadDir (yaegi-based, mirrors internal/plugin conventions) -- DONE. config.Forge.Token (SecretRef) replaces Forge.TokenEnv end-to-end including per-identity validation -- DONE. Provider/NATS/Telegram migration deferred to archie-core-xec.4 (scope narrowed mid-implementation after discovering the name-forwarding architecture fork). task check passes -- DONE. Adversarial review found zero surviving findings after fix pass -- DONE.","notes":"Delivered: internal/secret package (Engine interface, Registry, yaegi LoadDir mirroring internal/plugin conventions, built-in env engine, secretextract symbol table with nil-guarded wrapper) with adversarial-review-clean test coverage (real yaegi-loaded engine tests, panic/nil-guard/sorted-load/subdir-ignored adversarial cases). config.Forge.TokenEnv replaced with config.Forge.Token secret.SecretRef end-to-end (cmd/archied/main.go resolution, finalize() defaulting, per-identity validation requiring an explicit token with no silent default). Provider.APIKeyEnv/NATSConfig.TokenEnv/TelegramConfig.TokenEnv deliberately NOT migrated -- see archie-core-xec.4 for why (they're forwarded by name to ai-sdk/runtime and subprocess workers rather than resolved centrally; migrating needs eager-resolve-then-inject redesign first). Adversarial review (fresh agent, no context) found and fixes applied for: (1) per-identity Forge.Token had no validation -- fixed, now required explicitly; (2) Engine.Resolve interface doc didn't warn about nil-wrapper empty-string-no-error edge case -- fixed. task check (fmt/go fix/vet/build/test) clean; go test ./... clean repo-wide.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T04:14:18Z","created_by":"Sam Catlow","updated_at":"2026-07-26T04:35:33Z","started_at":"2026-07-26T04:14:40Z","closed_at":"2026-07-26T04:35:33Z","close_reason":"Foundation delivered and adversarially reviewed: internal/secret package + Forge.Token migration. Provider/NATS/Telegram generalization and the three engine plugins (sops/bws/vault-openbao) tracked as separate follow-up beads (xec.1-4).","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":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:16Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:05Z","closed_at":"2026-07-28T17:05:05Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","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:56:21Z","started_at":"2026-07-26T03:52:19Z","closed_at":"2026-07-26T03:56:21Z","close_reason":"Adversarial review complete. Dead code removed from finalize() (Label='' no-op). Nil guard added to loadFeatureFile(). Remaining findings (UserHomeDir error handling, single-unknown-file reporting, feature file scope) documented as known trade-offs. 40/40 pass with -race.","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:49Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:37Z","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":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:30Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:59Z","closed_at":"2026-07-28T17:04:59Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:27Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:59Z","closed_at":"2026-07-28T17:04:59Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:23Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:58Z","closed_at":"2026-07-28T17:04:58Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:20Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:37Z","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":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:19Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:58Z","closed_at":"2026-07-28T17:04:58Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:16Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:37Z","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:12Z","created_by":"Sam Catlow","updated_at":"2026-08-05T07:20:59Z","started_at":"2026-08-05T04:24:04Z","closed_at":"2026-08-05T07:20:59Z","close_reason":"Now integrated, not just implemented. agentexec.BuildToolSet applies the per-tool result cap and the per-turn budget inside the Execute closure it builds for every tool -- the one path from a ToolEntry to a model. tools.CapPayload is the single definition of the cap/spill rule, shared with the batch-dispatch path. Limits are configurable via [tools.tool_policy] (max_result_chars, turn_budget_chars, spill_dir), which previously had no toml tags and could not be set at all. Budget is minted per turn/stage, never shared. Adversarial pass fixed a double-charge (Spill billed the full displaced size on top of the caller's charge) and cross-turn spill filename collisions.","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:09Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:36Z","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:53Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:36Z","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"closed","priority":1,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:37Z","created_by":"Sam Catlow","updated_at":"2026-08-05T07:20:59Z","started_at":"2026-08-05T04:24:04Z","closed_at":"2026-08-05T07:20:59Z","close_reason":"Now integrated, not just implemented. agentexec.BuildToolSet applies the per-tool result cap and the per-turn budget inside the Execute closure it builds for every tool -- the one path from a ToolEntry to a model. tools.CapPayload is the single definition of the cap/spill rule, shared with the batch-dispatch path. Limits are configurable via [tools.tool_policy] (max_result_chars, turn_budget_chars, spill_dir), which previously had no toml tags and could not be set at all. Budget is minted per turn/stage, never shared. Adversarial pass fixed a double-charge (Spill billed the full displaced size on top of the caller's charge) and cross-turn spill filename collisions.","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:32Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:23:36Z","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.","notes":"Reopened 2026-08-05: implementation landed in ccb5560 but has no caller. agentexec.BuildToolSet is the only path from a ToolEntry to the model and it reads Name/Description/Schema/Handler only, so dispatch, budget, spill, availability caching and disclosure are all unreachable. The epic's acceptance criteria (loop protection, schemas within context budget) are therefore unmet. Closing these on implementation without integration is what hid the gap.","status":"open","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-08-05T04:23:35Z","started_at":"2026-07-25T23:26:50Z","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-yp9.2","title":"Surprisal sampling: embedding-backed strategies","description":"Implement the embedding-backed surprisal strategy behind the Sampler seam that wave 1 of the curator epic ships (cheap strategies: recency, random, all, staleness proxy). Surprisal scores memories by how surprising they are so the sampled reasoner's agentic budget is spent on the memories most likely to matter. DEFERRED by design: gated behind the embeddings capability (sibling issue 'Embeddings capability (prerequisite for surprisal sampling)') — pick up only after that lands.","acceptance_criteria":"A Sampler implementation behind the same interface as the cheap strategies; selection is deterministic given fixed inputs. Algorithm: sample up to a candidate cap; build a k-NN graph over embedding vectors; row-normalize the adjacency with self-loops; power-iterate to the stationary distribution; surprisal = -log(stationary probability of the nearest point); select the highest-surprisal items. Degradation: content with no embedding is skipped; an embedding failure aborts sampling and falls back to free exploration - a sampling failure must never fail or crash a curator pass. Cost: the graph build is quadratic in the candidate cap; the cap is a named constant with a documented bound. Tests use synthetic vectors via httptest, never a live embedding service.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-05T04:26:36Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:26:36Z","labels":["P2","feature"],"dependencies":[{"issue_id":"archie-core-yp9.2","depends_on_id":"archie-core-rfp","type":"blocks","created_at":"2026-08-05T14:26:50Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-yp9.2","depends_on_id":"archie-core-yp9.1","type":"blocks","created_at":"2026-08-05T14:26:50Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-yp9.2","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-08-05T14:26:35Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":2,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-yp9.1","title":"Embeddings capability (prerequisite for surprisal sampling)","description":"Surprisal-based sampling (curator epic DESIGN) requires computing vector embeddings of memory content so memories can be scored by how surprising they are. Archie has no embedding capability today; the epic gates any surprisal-style sampling behind adding one. This issue tracks that prerequisite so it can be picked up independently of the curator epic's main work. The consumer is the embedding-backed surprisal sampler (sibling issue 'Surprisal sampling: embedding-backed strategies'). Embedding consumers must degrade gracefully: content with no embedding is skipped, and an embedding failure aborts sampling in favour of free exploration rather than crashing the pass.","acceptance_criteria":"An embedding client exists behind a narrow typed interface usable by in-process daemon components (curators first, other consumers later). Provider/model is config-driven (providers table + a role in [models]). A missing credential degrades per the credential-missing-degrades-not-fatal rule: capability reports unavailable, daemon still starts. Network calls carry timeouts; failures surface as reported errors, never a crash or a failed chat turn. Tests use httptest and never require a live embedding service.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-05T04:22:16Z","created_by":"Sam Catlow","updated_at":"2026-08-05T04:26:25Z","labels":["P3","feature"],"dependencies":[{"issue_id":"archie-core-yp9.1","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-08-05T14:22:16Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.18","title":"Web Chat: render rich Markdown during streamed replies","description":"Telegram drafts render Markdown while a turn is streaming. Web Chat currently appends deltas as plain text and only renders rich output after completion. Keep the live assistant bubble semantically rich throughout SSE updates, including safe handling of partial Markdown.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T01:14:07Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:20:16Z","started_at":"2026-08-05T01:14:12Z","closed_at":"2026-08-05T01:20:16Z","close_reason":"Web Chat now replaces the live assistant bubble with the safe Markdown renderer on every streamed delta; unit coverage, Playwright verification, npm tests, build, and task check pass.","dependencies":[{"issue_id":"archie-core-3cf.18","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T11:14:07Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.17","title":"Web Chat: split component markup and presentation files","description":"Refactor the Web Chat out of a large JavaScript-built markup blob. Keep HTML structure in a dedicated template, CSS in dedicated chat styles, Markdown rendering in its own module, and interaction/rendering behavior in focused modules while preserving current API behavior.","acceptance_criteria":"Chat has dedicated HTML, CSS, Markdown, view, catalog, panel, render, and state modules; chat.js contains only chat-specific coordination and event wiring with no static markup blob; npm tests/build and task check pass; Playwright confirms chat interactions and Markdown rendering.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:55:15Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:05:24Z","started_at":"2026-08-05T00:55:16Z","closed_at":"2026-08-05T01:05:24Z","close_reason":"Split chat.html, chat.css, markdown.js, chat-view.js, chat-render.js, chat-state.js, chat-catalog.js, and chat-panels.js; browser and full gate pass.","dependencies":[{"issue_id":"archie-core-3cf.17","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:55:15Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.16","title":"Web Chat: restore Telegram-compatible Markdown rendering","description":"Ensure assistant history and streamed replies render Markdown consistently in the split Web Chat component, matching Telegram-visible formatting. The renderer must remain a dedicated module and be covered by UI and Playwright tests.","acceptance_criteria":"History and streamed assistant bubbles use the same dedicated safe Markdown renderer; supported Markdown constructs render as semantic HTML; raw markup is not shown for supported constructs; unsafe links remain inert; tests and task check pass.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:50:53Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:01:37Z","started_at":"2026-08-05T00:51:00Z","closed_at":"2026-08-05T01:01:37Z","close_reason":"Markdown is now a dedicated tested renderer and Chat markup/view/state are split into dedicated source files; Playwright and task check pass.","dependencies":[{"issue_id":"archie-core-3cf.16","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:50:53Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.15","title":"Web Chat: cancel server-side turns from Stop","description":"Make the Web Chat Stop action cancel the server-side gateway turn lane and discard queued turns, matching Telegram behavior. Add an authenticated cancel endpoint, wire the shared ChatService to gateway.Turns, and cover API/UI behavior.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:46:31Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:49:48Z","started_at":"2026-08-05T00:46:35Z","closed_at":"2026-08-05T00:49:48Z","close_reason":"Implemented server-side Web turn cancellation, authenticated cancel endpoint, immediate session event, UI Stop wiring, API test; task check and UI tests/build pass.","dependencies":[{"issue_id":"archie-core-3cf.15","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:46:31Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.14","title":"Chat parity: align shared and Telegram command catalogs","description":"Align command discovery with the commands actually handled by the shared gateway and Telegram adapter while preserving Telegram’s intentional hidden dangerous approval commands.","design":"Keep command execution unchanged. Extend the existing catalog entries with accurate descriptions and preserve the existing dangerous-command hiding rule; do not duplicate dispatch logic.","acceptance_criteria":"The shared gateway catalog includes /start and Telegram publishes /start; Telegram’s intentionally hidden /approve and /deny remain executable but undiscoverable; capability-specific dangerous commands remain correctly gated in Web; tests assert the published Telegram menu covers the non-hidden executable command surface.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:43:18Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:44:41Z","started_at":"2026-08-05T00:43:18Z","closed_at":"2026-08-05T00:44:41Z","close_reason":"Aligned command discovery without weakening the intentional dangerous-command hiding rule: /start is now in the shared gateway catalog and Telegram menu; Web slash completion inherits it. Focused and full task-check suites pass.","dependencies":[{"issue_id":"archie-core-3cf.14","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:43:17Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.13","title":"Web Chat: add contextual session lifecycle controls","description":"Expose Telegram session lifecycle actions directly in the Web Chat workspace while continuing to route them through the shared gateway.","design":"Use a native details popover in the workspace header, prompt only for title/branch names, and keep compression destructive work behind the existing gateway preview command. Do not add Web-only session semantics or duplicate command implementations.","acceptance_criteria":"An active Web session exposes retry, undo, title, branch, and compression preview actions; actions use shared commands, refresh the selected session/history, handle missing sessions and failures visibly, and remain keyboard accessible. Browser verification covers command dispatch and session refresh.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:41:24Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:42:41Z","started_at":"2026-08-05T00:41:25Z","closed_at":"2026-08-05T00:42:41Z","close_reason":"Added a contextual Web Chat session-actions menu for retry, undo, rename, branch, and compression preview. Actions dispatch shared gateway commands and refresh the active session/history. Playwright MCP verified the menu and /undo dispatch; npm tests/build and full task check pass.","dependencies":[{"issue_id":"archie-core-3cf.13","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:41:24Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.11","title":"Web Chat: render Telegram-style Markdown tables","description":"Extend the Web Chat Markdown renderer to preserve table structure and strikethrough formatting supported by Telegram rich replies.","design":"Keep the existing dependency-free renderer. Recognize a table only when a header row is immediately followed by a Markdown separator row, parse cells without innerHTML, and reuse inlineMarkdown for cell content.","acceptance_criteria":"Pipe-delimited Markdown tables render as semantic table/thead/tbody elements with inline formatting; strikethrough renders as del; malformed pipe text remains ordinary text; safe DOM construction is preserved and Playwright verifies the rendered structure.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:34:04Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:36:18Z","started_at":"2026-08-05T00:34:07Z","closed_at":"2026-08-05T00:36:18Z","close_reason":"Extended the safe Web Markdown renderer with semantic tables and strikethrough, reusing inline formatting for cells. Playwright MCP verified table headers/body rows, bold cells, and del output; npm tests/build and full task check pass.","dependencies":[{"issue_id":"archie-core-3cf.11","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:34:03Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.10","title":"Web Chat: add Telegram-parity slash command palette","description":"Make the Web Chat composer discoverable like Telegram command entry: when the operator types /, show the available shared command catalog, filter it as they type, and allow keyboard or pointer selection to insert a command without submitting it.","design":"Keep the gateway as the command source of truth. Implement the palette in the vanilla chat composer with role=listbox/option semantics, bounded results, and no new backend endpoint.","acceptance_criteria":"Typing / opens an accessible command list; filtering matches command names and descriptions; ArrowUp/ArrowDown/Enter/Escape and pointer selection work; selected commands retain the existing command semantics; the palette uses the capability-aware command catalog returned by the sessions API and is verified in browser.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:29:57Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:33:29Z","started_at":"2026-08-05T00:30:01Z","closed_at":"2026-08-05T00:33:29Z","close_reason":"Added an accessible slash command palette to the Web Chat composer, sourced from the capability-aware shared command catalog. Supports live filtering, keyboard navigation, Escape dismissal, and pointer selection. npm tests/build, Playwright MCP keyboard/pointer verification, and full task check pass.","dependencies":[{"issue_id":"archie-core-3cf.10","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:29:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.9","title":"Web Chat: expose provider-aware active model and personality selectors","description":"Make the Web Chat selector state match Telegram: expose the active model/provider and the active personality for the current Web session, group models by provider when the manager supports it, and render those states in the UI. Preserve graceful fallback for managers without provider metadata.","design":"Use the existing ModelManager, ProviderModelManager, and PersonaRegistry contracts. Keep the existing models/personas fields backward compatible while adding structured provider/active fields.","acceptance_criteria":"Sessions API returns active model/provider data and current-session personality state; provider-aware model options are grouped and selectable; selecting a provider/model/personality updates the shared gateway state; focused Go and UI/browser tests cover active and fallback states.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:23:34Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:27:43Z","started_at":"2026-08-05T00:23:37Z","closed_at":"2026-08-05T00:27:43Z","close_reason":"Implemented additive active model/provider and per-session personality state in the chat sessions API, provider-aware Web selectors, immediate shared /model commands, focused API coverage, npm tests/build, Playwright verification, and full task check.","dependencies":[{"issue_id":"archie-core-3cf.9","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-05T10:23:33Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.48","title":"Web Chat: support typed dangerous approvals","description":"Make shared Web Chat accept Telegram-equivalent /approve and /deny for pending dangerous action IDs, while preserving numeric task approval and supporting permanent approval.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:18:44Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:21:19Z","started_at":"2026-08-05T00:18:44Z","closed_at":"2026-08-05T00:21:19Z","close_reason":"Added shared typed dangerous approval dispatch: numeric /approve remains task approval, action IDs support /approve, /approve permanent, and /deny. Web service auto-wires into Router when available. Verified gateway tests, Playwright typed approval streaming, frontend tests/build, and task check.","dependencies":[{"issue_id":"archie-core-abg.48","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T10:18:43Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.47","title":"Web Chat: handle typed update command","description":"Make /update a shared gateway command using the same release update service and response formatter as Telegram, so Web typed commands and update controls behave consistently.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:14:41Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:17:59Z","started_at":"2026-08-05T00:14:42Z","closed_at":"2026-08-05T00:17:59Z","close_reason":"Moved release update formatting into releaseupdate, added shared gateway UpdateService and /update dispatch, and wired both Web and Telegram routers to the same service. Verified gateway/release/Telegram tests, Playwright typed /update streaming behavior, frontend tests/build, and task check.","dependencies":[{"issue_id":"archie-core-abg.47","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T10:14:41Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.46","title":"Web Chat: capability-aware command discovery","description":"Expose structured command metadata in Web Chat help and include optional update and dangerous-action commands only when their capabilities are enabled.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:13:40Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:13:41Z","started_at":"2026-08-05T00:13:41Z","closed_at":"2026-08-05T00:13:41Z","close_reason":"Added shared gateway command specs, capability-aware Web command catalog, and structured command help rendering. Verified with endpoint tests, Playwright MCP discovery checks, frontend tests/build, and task check.","dependencies":[{"issue_id":"archie-core-abg.46","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T10:13:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.45","title":"Web Chat: share dangerous action approval workflow","description":"Extract the dangerous sandbox authority contract from Telegram and add an optional Web approval service for checkpoint rollback and process stop. The UI must remain hidden when no daemon-owned authority is configured and must require explicit approve, permanent approve, or deny decisions.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-05T00:05:00Z","created_by":"Sam Catlow","updated_at":"2026-08-05T00:10:52Z","started_at":"2026-08-05T00:05:01Z","closed_at":"2026-08-05T00:10:52Z","close_reason":"Extracted the sandbox dangerous-action contract into gateway, added Web pending approval/approve-for-24h/deny workflows for rollback and process stop, and kept the UI capability-gated. Telegram setup accepts the same authority contract. Verified endpoint/service tests, Playwright MCP approval-request rendering, frontend tests/build, and task check.","dependencies":[{"issue_id":"archie-core-abg.45","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T10:05:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.44","title":"Web Chat: expose scoped Telegram restart","description":"Share Telegram's scoped /restart behavior with Web Chat. Add a daemon-owned restart callback, shared router command, authenticated Web endpoint, and explicit UI control without restarting the whole daemon.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T18:32:46Z","created_by":"Sam Catlow","updated_at":"2026-08-04T18:35:42Z","started_at":"2026-08-04T18:32:46Z","closed_at":"2026-08-04T18:35:42Z","close_reason":"Shared Telegram's scoped adapter restart with Web Chat via the gateway router, callback registration, non-blocking Telegram queueing, and an explicit conditional Reload Telegram control. Verified with gateway/Telegram tests, Playwright MCP interaction, frontend tests/build, and task check.","dependencies":[{"issue_id":"archie-core-abg.44","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T04:32:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.43","title":"Web Chat: render Telegram-style Markdown replies","description":"Render chat history and completed streamed replies with safe Markdown blocks, inline emphasis, links, code, lists, and quotes so the Web Chat matches Telegram's rich reply presentation.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T18:29:39Z","created_by":"Sam Catlow","updated_at":"2026-08-04T18:32:01Z","started_at":"2026-08-04T18:29:40Z","closed_at":"2026-08-04T18:32:01Z","close_reason":"Added safe Telegram-style Markdown rendering to Web Chat history and completed streamed replies, including headings, emphasis, links, lists, blockquotes, inline code, and fenced code blocks. Verified with Playwright MCP DOM assertions, npm test/build, and task check.","dependencies":[{"issue_id":"archie-core-abg.43","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T04:29:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.42","title":"Web Chat: expose Telegram update workflow","description":"Expose the Telegram update check, defer, and approved install workflow in the Web Chat UI using the shared release update service. Preserve snapshot validation and explicit installation controls.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T18:25:06Z","created_by":"Sam Catlow","updated_at":"2026-08-04T18:28:45Z","started_at":"2026-08-04T18:25:07Z","closed_at":"2026-08-04T18:28:45Z","close_reason":"Shared the release update service between Telegram and Web Chat; added Web check, defer, and explicit install API/UI controls with snapshot validation. Verified endpoint tests, frontend tests/build, Playwright MCP rendering, and task check.","dependencies":[{"issue_id":"archie-core-abg.42","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T04:25:06Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.41","title":"Web Chat: refine workspace composition and composer UX","description":"Align the Web Chat page with the approved workspace inspiration: compact left conversation rail, centered empty state, quiet controls, and a composer-first layout while retaining existing sessions, streaming, commands, model, and personality controls.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T18:21:57Z","created_by":"Sam Catlow","updated_at":"2026-08-04T18:24:05Z","started_at":"2026-08-04T18:21:58Z","closed_at":"2026-08-04T18:24:05Z","close_reason":"Refined Web Chat into a composer-first workspace with a compact conversation rail, centered empty state, prompt chips, quiet header controls, responsive layout, and constrained model selector. Verified with npm test, npm run build, Playwright MCP browser inspection, and task check.","dependencies":[{"issue_id":"archie-core-abg.41","depends_on_id":"archie-core-abg","type":"parent-child","created_at":"2026-08-05T04:21:56Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3dn","title":"Expose quiet execution and decision controls in messaging and Web UI","description":"Make the no-comment/no-label behavior and human approval or retry decisions controllable through existing messaging channels and the Web UI. Do not reintroduce issue comments as the control plane; show the same persisted task state and actions in both surfaces.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-04T15:08:02Z","created_by":"Sam Catlow","updated_at":"2026-08-04T15:28:28Z","started_at":"2026-08-04T15:28:27Z","closed_at":"2026-08-04T15:28:28Z","close_reason":"Implemented quiet forge lifecycle, removed automatic state-label/comment noise, added Web UI approval/retry/reject actions, and linked pushed branches to source issues before PR creation. Full task check and UI tests pass.","dependencies":[{"issue_id":"archie-core-3dn","depends_on_id":"archie-core-hiy","type":"parent-child","created_at":"2026-08-05T01:08:13Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.8","title":"Make activity and task context navigable","description":"The dashboard's live activity entries are not clickable, task detail does not provide a source-task/forge link, and the Tasks KPI strip sits directly against the table. Make activity events navigate to the relevant dashboard area, expose a clear source task action that opens the task's forge page when available, and restore visual separation between KPI cards and the task table. Add focused UI/runtime tests.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:25:09Z","created_by":"Sam Catlow","updated_at":"2026-08-03T16:27:58Z","started_at":"2026-08-03T16:25:10Z","closed_at":"2026-08-03T16:27:58Z","close_reason":"Implemented activity-to-task navigation, task source links using configured forge host, and Tasks KPI/table spacing. UI tests, build, and diff checks pass.","dependencies":[{"issue_id":"archie-core-3cf.8","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T02:25:09Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.7","title":"Discover user-installed global skills alongside project skills","description":"The Web UI currently scans only the daemon work directory, so skills installed under the user's global ~/.agents/skills are invisible. Add global-skill discovery alongside project skills, preserve deterministic precedence for duplicate names, expose source/path in the API/UI, and keep workflow activation using the same merged catalogue. Add tests for configured and default roots.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:13:45Z","created_by":"Sam Catlow","updated_at":"2026-08-03T16:17:41Z","started_at":"2026-08-03T16:14:04Z","closed_at":"2026-08-03T16:17:41Z","close_reason":"Implemented layered project/shared/user-global skill discovery, deterministic precedence, global activation support, UI messaging, and tests.","dependencies":[{"issue_id":"archie-core-3cf.7","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T02:13:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-7ve","title":"test(gateway): the conformance suite does not pin what it claims, and the backends already drift","description":"The commit message for 3eb00db claims the shared suite means NellDB and SQLite 'cannot drift'. Two confirmed divergences it does not catch:\n\n1. testReplaceMessagesIsFailureSafe (sessionstore_conformance_test.go:769) never induces a failure -- four happy-path cases asserting the post-condition of a SUCCESSFUL call. Swapping the write and delete loops in session_store.go:696-708 would leave it green. Only SQLite has a real abort test, and it pins rollback, the opposite failure mode. The backends genuinely differ here: SQLite is atomic (failure -\u003e clean rollback), NellDB is not (failure -\u003e duplicates). SQLite's semantics are better; the point is the suite does not know.\n\n2. NellDB's lastTS cache is never invalidated by deletes; SQLite recomputes MAX(ts). Save at 13:00, delete it, save with At=12:00 -\u003e NellDB persists 13:00:00.001Z, SQLite persists 12:00:00Z. Both pass the suite.\n\n3. GetByChannel ordering differs between backends and is unpinned (see the newest-first bead).\n\n4. applyCompress has zero test coverage: no test in the package calls it, none of its three error returns is exercised, and fakeSessionStore.ReplaceMessages is a slice assignment that cannot observe ordering or identity.","status":"open","priority":2,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:53Z","created_by":"Sam Catlow","updated_at":"2026-08-03T16:01:53Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-la1","title":"fix(gateway): doc comments contradict the implementation in three places","description":"Each of these actively misleads, and one already caused a real bug:\n\n1. gateway.go:23-27 says MessageID is 'Populated on read; ignored on write.' Both stores honour an incoming MessageID in preference to deriving one (session_store.go:588, session_store_sqlite.go:291). This is exactly the misreading behind /branch copying parent history into the child under the PARENT's canonical IDs -- CONFIRMED on both backends, and newMessageID's own doc claims the opposite ('the same upstream message copied into a branch gets its own identity'). Two branches from one parent produce three sessions holding the same MessageID.\n\n2. session_store.go:405-409 describes msgID and a disambiguating counter, both deleted in this commit, and now sits above messageIDNamespace describing the opposite of the current design.\n\n3. telegram.go:474-477 still says a redelivered update 'updates the stored turn' -- the exact behaviour the immutability fix removed.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:53Z","created_by":"Sam Catlow","updated_at":"2026-08-04T12:25:28Z","started_at":"2026-08-04T12:23:28Z","closed_at":"2026-08-04T12:25:28Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-le6","title":"fix(gateway): assorted confirmed defects around the compress and undo paths","description":"Small, individually confirmed, none blocking on their own:\n\n1. session_commands.go:563 -- the compression summary is persisted as a USER turn. CompressHistory emits it with Role 'system' (compression.go:118) but the write-back only maps 'assistant' -\u003e Identity, so system falls through to 'user'. The model replays '[Earlier conversation has been summarised...]' as if the human said it. (Retained bot turns are handled correctly.)\n\n2. session_commands.go:488 -- compressPreview reads RecentMessages(200) while reporting count from MessageCount. With 100 large + 250 tiny messages the preview says 'Compression not needed (350 messages, ~0 tokens)' while apply on the same session reports '350 -\u003e 24 (~100000 -\u003e ~3063 tokens)'. The two numbers in one sentence describe different histories, and the preview advises against a compression that is needed.\n\n3. session_commands.go:329 -- handleUndo discards the deleted count from DeleteRecentMessages, so /undo 10 failing after 6 removals reports failure while six messages are gone.\n\n4. session_store.go:626 -- nextTimestamp has no upper bound and lastTimestamp re-reads from the store, so one future-dated write (host clock 24h fast) pins the session's clock for its lifetime; every later At handed to callers is wrong by a day.\n\n5. session_store.go:268 -- Close() calls s.store.Close() on the SHARED nl.Store (in production the daemon's tasks/events log) and, unlike every other method, does not take s.mu. Nothing calls it today.\n\n6. session_store.go:429 -- newMessageID's UUIDv5 input sessionID+\"\\x00\"+sourceID is not injectively encoded: newMessageID('a\\x00b','c') == newMessageID('a','b\\x00c'). No reachable input today; hardening, not a live bug.\n\n7. turns.go:79-85 -- Turns.lanes grows without bound; a lane is inserted per session key and never deleted. No goroutine leak.","status":"open","priority":2,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-03T16:01:53Z","created_by":"Sam Catlow","updated_at":"2026-08-03T16:01:53Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.5","title":"Add accessible interaction semantics across the dashboard","description":"Source review found navigation icons and a theme toggle that depend on visual glyphs or title text, and task rows are clickable table rows without keyboard semantics or an explicit expandable control. Audit the main pages for labels, focus visibility, keyboard operation, semantic headings and table behavior, status announcements, and sufficient non-color cues. Add automated DOM/accessibility-oriented regression tests for the critical controls.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T15:17:59Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:13:00Z","started_at":"2026-08-05T01:10:24Z","closed_at":"2026-08-05T01:13:00Z","close_reason":"Added explicit task timeline controls with keyboard operation, accessible state/relationships, focus styling, DOM regression coverage, Playwright verification, and task check.","dependencies":[{"issue_id":"archie-core-3cf.5","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T01:17:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.3","title":"Make dense dashboard views usable on narrow screens","description":"The responsive layout collapses the sidebar at 860px, but the dashboard relies on dense tables and multi-control filter rows without a documented table overflow/stacking treatment. Exercise dashboard, tasks, logs, workflows, settings, and channels at narrow viewport widths; fix clipping, horizontal scrolling ownership, control wrapping, and touch target sizing while preserving desktop density.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-03T15:17:40Z","created_by":"Sam Catlow","updated_at":"2026-08-03T16:08:59Z","started_at":"2026-08-03T15:55:36Z","closed_at":"2026-08-03T16:08:59Z","close_reason":"Completed responsive table containment across dashboard, tasks, settings, and workflows; added narrow-screen filter wrapping and grid shrink safeguards. Validated with ui npm test and npm run build; live daemon verification requires restarting the embedded UI bundle.","dependencies":[{"issue_id":"archie-core-3cf.3","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T01:17:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf.4","title":"Improve operator orientation and safe refresh behavior","description":"The current shell has a minimal brand/sidebar, repeated bare actions, and limited indication of data freshness or which filters are active. Define a small consistent page-toolbar pattern with last-updated/loading/error states, clearer action labels, and preserved filter/navigation state across refresh and route changes. Keep the visual system lightweight and consistent with the existing dark/light themes.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-08-03T15:17:40Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:17:40Z","dependencies":[{"issue_id":"archie-core-3cf.4","depends_on_id":"archie-core-3cf","type":"parent-child","created_at":"2026-08-04T01:17:40Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cf","title":"[EPIC] Web UI polish and enhancements","description":"Polish and extend the Archie dashboard against the supplied reference design. Keep the UI a trustworthy operator control room: show real state, explain auth/connectivity failures, remain usable on narrow screens, make interactions accessible, and follow the reference composition and visual system. Existing feature issues for dashboard chat, configuration editing, and logs remain separate unless a child below explicitly coordinates with them.","acceptance_criteria":"Authenticated dashboard renders meaningful KPI values; unauthorised access has a clear recovery path; core navigation, tables, controls, and task interactions are keyboard/screen-reader usable; dense views remain usable on narrow viewports; the dashboard follows the supplied reference composition and visual treatment; each child has focused UI tests or runtime verification.","status":"open","priority":2,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-08-03T15:17:25Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:20:01Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-wb2","title":"feat(container): pass registry auth on image pull","description":"internal/container/pool.go:305 calls p.cli.ImagePull(ctx, ref, client.ImagePullOptions{}) with RegistryAuth never set, so the daemon talks to the Docker Engine API with no credentials. Against a private registry (git.catlow.cloud) every pull answers 401 regardless of pull_policy.\n\ndocker login does NOT help: it writes ~/.docker/config.json, which only the CLI reads. The operator has to pull by hand with the CLI so the daemon's pull_policy=missing check finds the image already present. That workaround is currently documented in CLAUDE.md as a hard constraint rather than fixed.\n\nFix: populate ImagePullOptions.RegistryAuth with a base64-encoded registry.AuthConfig, sourced from ~/.docker/config.json or an explicit [containers] credential. Removes a documented footgun and makes pull_policy actually mean what it says against private registries.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T15:12:16Z","created_by":"Sam Catlow","updated_at":"2026-08-03T15:12:16Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-afe","title":"feat(config): edit configuration from the dashboard (hybrid file + DB)","description":"Goal: change runtime-tunable settings from the web UI without hand-editing TOML.\n\nDecision (Sam, 2026-08-04): HYBRID, file stays primary. config.toml remains authoritative for bootstrap; a DB layer holds only runtime-tunable values as an overlay. Making the DB primary would move the thing that decides whether the daemon can boot into the thing the daemon must boot to read, and would lose the property that config is editable with any editor independent of daemon health.\n\nThe file format is NOT the blocker. Three things are, in this order:\n\n1. Config is passed BY VALUE. daemon.Daemon{Cfg config.Config} and workflow.Cfg config.Config each hold a copy made at construction, so mutating a central config would never reach them. Subsystems must read through an accessor or receive change events instead of holding snapshots. This is the real prerequisite.\n\n2. There is no reload path. No fsnotify, no SIGHUP, nothing -- Load runs once at startup. Changing the source without this only changes WHERE values come from, not WHEN.\n\n3. Startup is a hard gate. cmd/archied/main.go:588-598 exits the daemon when an MCP provider fails to start. A UI that writes bad config could brick the next boot, which is worse from a DB than from a file you can open in an editor. Writes need validation before persist, and a documented recovery path.\n\nAlready in our favour: internal/infrastructure/configuration/ is a real loader package (discovery, feature files, extras, defaults, validation, provenance, tomlwrite) and is already multi-source across TOML and YAML. A DB source is a new decoder alongside decodeTOML/decodeYAML, not a rewrite. provenance.go already tracks where each value came from, which is what the UI needs to show 'this came from the file, this from the DB'.\n\nRead-only config viewing already ships in the dashboard's Configuration section.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-03T14:43:43Z","created_by":"Sam Catlow","updated_at":"2026-08-03T14:43:43Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3cy","title":"MCP servers are re-fetched from npm on every daemon start","description":"config.docker.toml launches desktop-commander with 'npx -y @wonderwhy-er/desktop-commander@0.2.46'. The container has no persistent npm cache, so every restart re-resolves and re-downloads the package and its puppeteer browser payload. That is slow, makes startup depend on npm registry availability, and turns a registry outage or a yanked version into a daemon outage. It also amplified the crash loop observed on 2026-07-30, since each restart repeated the whole download.","acceptance_criteria":"Daemon startup does not depend on reaching the npm registry. Either the MCP servers are installed into the image at build time and invoked directly, or the npm cache is persisted across restarts. Startup time no longer scales with the size of the server's dependency tree.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-30T06:49:29Z","created_by":"Sam Catlow","updated_at":"2026-07-30T06:49:29Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ts9","title":"[BUG] find fallback reports a cancelled walk as 'no matches found'","description":"runFindGoFallback's walk callback swallows every per-entry error (returns nil to skip inaccessible entries), so the only error that can escape filepath.WalkDir is ctx.Err() from the cancellation select. The guard 'if err != nil \u0026\u0026 !errors.Is(err, ctx.Err())' therefore never fires: on timeout or /stop the function falls through and returns whatever it had collected, or 'no matches found' when it had collected nothing. This is the same failure the grep exit-code bug had -- the model is told a search found nothing when the search did not finish. Behaviour predates 6d4e0be; the errors.Is autofix in that commit is behaviour-neutral here (errors.Is(err, nil) is false for non-nil err, matching the old err != ctx.Err() when the context is live).","acceptance_criteria":"A find whose context is cancelled mid-walk returns an error result naming the cancellation, not 'no matches found' and not a silently partial list. Regression test in the style of TestGrepReportsSearchFailureRatherThanNoMatches.","notes":"Evidence, gathered while auditing 6d4e0be for archie-core-ifi. The swallow is\nat internal/tools/builtin/find.go:169-171 -- the WalkDir callback returns nil\nfor every per-entry error (\"skip inaccessible entries\"). The only error that\ncan reach the guard at find.go:242 is ctx.Err(), returned by the cancellation\nselect at find.go:173-177, and the guard exists specifically to ignore that.\nSo the guard can never fire, and a cancelled walk falls through to the\nlen(matches)==0 check at find.go:245 and returns Content:\"no matches found\",\nIsError:false -- the same false-negative shape as the grep exit-code bug.\n\nThe linter is already pointing at this. golangci-lint reports nilerr on the\nidentical swallow in internal/tools/builtin/grep.go:380 and :411, so grep's\ndirect-search path likely has the same hole; that was not in scope for the\naudit and is not verified. Whoever fixes this should check both files, and\nshould decide the harder question the bug hides: partial results from a\ncancelled walk are currently returned as if complete, so \"report the\ncancellation\" has to choose between discarding them and labelling them.\n\nLeft as-is deliberately. The audit's scope was behaviour CHANGES in 6d4e0be\nand this predates it -- the errors.Is rewrite in that commit is neutral here.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:19:00Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:53:09Z","started_at":"2026-08-05T01:51:34Z","closed_at":"2026-08-05T01:53:09Z","close_reason":"Fixed the cancellation guard; runFindGoFallback now returns an error result when ctx.Err() fires instead of falling through to 'no matches found'. Test + fix in 6d47fb3.","dependencies":[{"issue_id":"archie-core-ts9","depends_on_id":"archie-core-ifi","type":"discovered-from","created_at":"2026-07-30T02:18:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} -{"_type":"issue","id":"archie-core-60f","title":"Seed a default SOUL without clobbering user edits","description":"Write a starter SOUL on first run and allow upgrading untouched scaffolding in place, following Hermes' is_legacy_template_soul approach: compare normalised content against known-shipped templates, which carry zero user intent, and only replace on an exact match.","acceptance_criteria":"First run seeds a documented starter SOUL. A SOUL matching a known shipped template can be upgraded in place. A SOUL the user has edited in any way is never modified. Comparison normalises line endings and trailing whitespace so a CRLF checkout does not defeat it.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:58Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:58Z","dependencies":[{"issue_id":"archie-core-60f","depends_on_id":"archie-core-4gv","type":"parent-child","created_at":"2026-07-30T02:09:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-t08","title":"Reconcile SOUL with PersonaRegistry and the six built-in personas","description":"Decide what happens to DefaultPersonas() (archie, helpful, concise, technical, creative, teacher) and the /personality command once SOUL owns identity. Options: SOUL replaces the default archie persona and the rest remain selectable style modifiers; or personas become seed templates a user copies into their SOUL; or personas are retired. Currently GetActive composes the baseline archie prompt with the selected persona, so the interaction with SOUL must be explicit rather than emergent.","acceptance_criteria":"Precedence between SOUL and a selected persona is defined and documented. /personality either keeps working with stated semantics or is removed deliberately. No path lets a persona selection blank out the user's SOUL without them asking.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:57Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:57Z","dependencies":[{"issue_id":"archie-core-t08","depends_on_id":"archie-core-4gv","type":"parent-child","created_at":"2026-07-30T02:09:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-3fb","title":"worktree.Manager gets an empty token when the forge degrades","description":"Since 518a1a0 a missing forge credential disables the forge instead of stopping archied. resolveForge returns an empty token in that case and cmd/archied/main.go still hands it to worktree.Manager{Token: token}. If repos are configured while the forge is disabled, clone/push fails at push time rather than at startup. This is the intended trade -- a deferred error beats a crash loop -- but the failure is currently discovered late and its message will not explain that the cause is an unconfigured forge.","acceptance_criteria":"A worktree operation attempted with no forge credential fails with a message naming the missing forge configuration as the cause, rather than a bare git transport error. Alternatively the manager refuses the operation up front. Either way the operator can tell why from the error alone.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:21Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:55:45Z","started_at":"2026-08-05T01:53:12Z","closed_at":"2026-08-05T01:55:45Z","close_reason":"Push now checks the worktree's origin remote for an HTTP(S) scheme and fails immediately naming the missing forge.token config, instead of letting go-git fail late with a bare transport error. Local transports unaffected. 69bc618.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-bfw","title":"install.sh: --force is advertised but does nothing","description":"FORCE_BUILD is initialised at install.sh:42 and set at :67 by --force, then never read. --help advertises '--force Force rebuild binaries even if up to date', so the flag is documented, accepted, and inert. The build step always rebuilds unconditionally, which means the flag is either redundant (delete it and the help line) or the up-to-date check it implies was never written.","acceptance_criteria":"Either the flag and its help text are removed, or an up-to-date check exists that --force actually bypasses. No advertised flag is inert.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:02Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:57:21Z","started_at":"2026-08-05T01:55:50Z","closed_at":"2026-08-05T01:57:21Z","close_reason":"Removed --force and its help line rather than fake an up-to-date check go build's own cache already makes unnecessary. 625e0ba.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-c6o","title":"install.sh: unknown flags are silently ignored","description":"The 'for arg in $@' case statement has no default branch, so a mistyped flag does nothing and the installer proceeds with defaults. '--no-systmd' installs the systemd service the user was trying to skip. Options discussed 2026-07-30: (a) reject unknown args with exit 1; (b) warn on stderr and continue; (c) reject unknown --flags but ignore bare words. Recommendation was (a) -- this is an interactive installer run by hand, typos dominate, and silent wrong behaviour is the worst outcome; the forward-compatibility argument for (b) does not apply while there is no ecosystem of wrapper scripts. Awaiting Sam's decision.","acceptance_criteria":"A mistyped flag produces a clear diagnostic rather than silently different behaviour. The chosen policy is applied consistently and reflected in --help.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:02Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:57:22Z","started_at":"2026-08-05T01:55:50Z","closed_at":"2026-08-05T01:57:22Z","close_reason":"Added a default case: unknown options now print a diagnostic naming the flag and exit 1, per the agreed (a) option. 625e0ba.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-utt","title":"install.sh: linger detection claims success it did not verify","description":"install.sh greps 'loginctl show-user $USER' for 'Linger=no'. When show-user fails or prints nothing -- no logind session, a container, USER unset -- the grep fails and control falls to the else branch, which prints '[OK] User linger is already enabled.' Nothing was verified and linger is never enabled, so systemd --user dies at logout. Worst for someone installing on a remote box over SSH: Archie works while they are connected and stops when they disconnect. Discussed 2026-07-30, fix agreed but not applied.","acceptance_criteria":"Detection tests for the positive (Linger=yes) and attempts enable-linger in every other case, including when show-user fails. Uses $(id -un) rather than $USER, which is unset in some container and cron contexts and would abort under set -u. enable-linger is idempotent so a redundant call is harmless. No branch claims linger is enabled without having observed it.","status":"closed","priority":2,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:01Z","created_by":"Sam Catlow","updated_at":"2026-08-05T01:57:22Z","started_at":"2026-08-05T01:55:50Z","closed_at":"2026-08-05T01:57:22Z","close_reason":"Detection now requires positive Linger=yes and falls through to enable-linger (idempotent) on any other outcome, including a failed/empty loginctl call; uses $(id -un) instead of $USER. 625e0ba.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-547","title":"install.sh delegates config generation to archied setup","description":"Remove the TOML-generating branches from install.sh and call the binary it just built. Ends the class of bug where the installer's idea of the config schema drifts from the daemon's.","acceptance_criteria":"install.sh contains no TOML templates and no sed-patching of config files. It invokes archied setup for a fresh install and skips it when a config already exists. A non-interactive install still produces a valid config or fails loudly. The forge_block helper and its awk splice are deleted.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T16:02:51Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:02:51Z","dependencies":[{"issue_id":"archie-core-547","depends_on_id":"archie-core-cbk","type":"blocks","created_at":"2026-07-30T02:02:56Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-547","depends_on_id":"archie-core-ewk","type":"parent-child","created_at":"2026-07-30T02:02:50Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-114","title":"Curator observability surface","description":"Give curator activity visibility: which curators are registered, when each last ran, what it changed, and why. Background agents mutating memory unobserved is the failure mode this epic most needs to avoid.","acceptance_criteria":"Registered curators, their schedule state, and their recent activity are inspectable at runtime. Each recorded action carries enough context to answer why it happened. Surfaced through the existing observability paths rather than a bespoke channel.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:48:01Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:48:01Z","dependencies":[{"issue_id":"archie-core-114","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:48:01Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-pek","title":"Bind curators to memory engines","description":"Wire the attached-memory-engine part of a curator's declared shape once the memory engine family exists, so a curator reads and writes through the engine contract rather than a concrete store.","acceptance_criteria":"A curator declares which memory engine it uses and receives it as a typed dependency. Swapping the configured engine changes where a curator's memories land with no change to the curator. A curator with no declared memory engine is a valid configuration and is rejected only if it attempts a memory operation.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:48:01Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:48:01Z","dependencies":[{"issue_id":"archie-core-pek","depends_on_id":"archie-core-1x7","type":"blocks","created_at":"2026-07-30T01:48:14Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-pek","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:48:00Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-gs8","title":"Persistent session-memory curator (reference implementation)","description":"Ship a curator that maintains durable memory across sessions -- extracting and consolidating what is worth keeping from conversation history into the attached memory engine. The second contract consumer, and the one that exercises the curator/memory-engine binding.","acceptance_criteria":"Registers and runs through the registry with no special-casing. Writes through the memory engine contract rather than any concrete store. Extraction runs off the hot path so a chat turn never waits on it. What it wrote and why is inspectable. Honours the trigger-accounting invariant so its own writes do not reschedule it.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:48:00Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:48:00Z","dependencies":[{"issue_id":"archie-core-gs8","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:48:00Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-gs8","depends_on_id":"archie-core-1x7","type":"blocks","created_at":"2026-07-30T01:48:14Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-i7i","title":"Skill curator (reference implementation)","description":"Ship a curator that maintains Archie's skills: reviewing, pruning, and improving skill definitions over time. One of the two consumers that validate the curator contract is general enough.","acceptance_criteria":"Registers and runs through the curator registry with no curator-specific special-casing in the runtime. Its changes to skills are observable and attributable to the curator. It operates within its declared tool set and cannot reach tools it did not declare.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:48:00Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:48:00Z","dependencies":[{"issue_id":"archie-core-i7i","depends_on_id":"archie-core-yp9","type":"parent-child","created_at":"2026-07-30T01:47:59Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-18b","title":"Document the memory engine family in ARCHITECTURE.md","description":"Record the memory engine family alongside the existing engine documentation so the contract, its lifecycle guarantees, and the trust boundary for third-party memory backends are written down where the plugin engine rule already lives.","acceptance_criteria":"ARCHITECTURE.md describes the memory engine contract, its owning manager, lifecycle and failure isolation, and states the trust boundary for an out-of-process or third-party memory backend. The shared CLAUDE.md/AGENTS.md source is updated if the rule surface changes.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T15:47:10Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:47:10Z","dependencies":[{"issue_id":"archie-core-18b","depends_on_id":"archie-core-huu","type":"parent-child","created_at":"2026-07-30T01:47:09Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-9a1","title":"Honcho memory engine as the external-provider proof","description":"Implement an engine backed by Honcho (plastic-labs/honcho, cloned at /work/clones/honcho) to prove the seam holds for a real external backend. Honcho's model is Workspace -\u003e Peer -\u003e Session -\u003e Message with asynchronously derived conclusions queried back as representations; its dual-peer convention has the assistant observe others without self-modelling. Treat this as validation of the contract, not as a dependency of the default install.","acceptance_criteria":"The engine satisfies the contract with no changes to the agent loop or gateway. Archie runs unchanged when it is not configured. Its network calls carry timeouts and its failures degrade to reported errors rather than failing a turn. Any mapping decision between Archie sessions/identities and Honcho peers/sessions is documented. Unit tests use httptest and never require a live Honcho instance, per the repo testing rule.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:47:09Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:47:09Z","dependencies":[{"issue_id":"archie-core-9a1","depends_on_id":"archie-core-1x7","type":"blocks","created_at":"2026-07-30T01:48:15Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-9a1","depends_on_id":"archie-core-huu","type":"parent-child","created_at":"2026-07-30T01:47:09Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-1qy","title":"Config surface for memory engine selection and settings","description":"Add validated configuration for choosing a memory engine and supplying its per-engine settings, following the existing config conventions in internal/config and internal/infrastructure/configuration.","acceptance_criteria":"Engine choice and per-engine settings are expressible in config.toml with toml/yaml/json tags matching repo convention. Validation rejects an unknown engine name with a clear error naming the valid set, in the style of the existing forge.type validation. Defaults resolve so an absent section keeps the builtin engine. config.example.toml documents the section.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-29T15:46:58Z","created_by":"Sam Catlow","updated_at":"2026-07-29T15:46:58Z","dependencies":[{"issue_id":"archie-core-1qy","depends_on_id":"archie-core-huu","type":"parent-child","created_at":"2026-07-30T01:46:57Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-dkf","title":"telegram: publish /new /retry /undo in menu and help","description":"TestPublishedCommandsMatchExecutableCommandSurface in\ninternal/channels/telegram/telegram_test.go fails: /new, /retry and /undo are\nexecutable commands but are missing from the published command menu and the\nhelp text, so users cannot discover them.\n\nRun: go test ./internal/channels/telegram/...\n\nScope:\n- ONLY internal/channels/telegram/. Do not touch any other package.\n- Read the test to see how it derives the executable command surface, then add\n the three commands to whichever menu/help structures it compares against.\n- Match the existing entries' wording style and ordering conventions.\n\nConstraints:\n- Do NOT add //nolint or otherwise suppress lint findings.\n- Do NOT modify the test to make it pass. The test is correct: these commands\n really are missing from the menu.\n- Do NOT write architecture docs, ledgers, plans or new beads.\n\nDone when: go build ./... , go vet ./... , gofmt -l . clean, and\ngo test ./internal/channels/telegram/... passes.","status":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T00:58:25Z","created_by":"Sam Catlow","updated_at":"2026-07-29T01:11:44Z","closed_at":"2026-07-29T01:11:44Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-5d7.1","title":"Docsgen: emit deterministic contract data JSON","description":"Begin the generated-documentation implementation with the smallest vertical slice: normalize the existing Archie contract schemas into deterministic JSON under docs-2/data/generated for VitePress consumption, without generating Markdown pages. Preserve the nested tools module and existing source-of-truth imports.","acceptance_criteria":"A failing test first proves docsgen emits valid generated JSON at the data path; repeated generation is byte-identical; tools tests and vet pass; generated-documentation.md reflects the agreed data-loader architecture.","notes":"Implemented the first docs generation slice test-first: docsgen now emits deterministic JSON contract data at docs-2/data/generated/contracts.json, carries generator provenance, rejects duplicate published names and conflicting definitions, validates resolved internal references in tests, and keeps the current hardcoded contract set as an explicit migration adapter with deletion criteria. Scoped tools tests, vet, and golangci-lint pass; repeated generation is byte-identical; adversarial review reports zero surviving findings.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-28T09:17:08Z","created_by":"Sam Catlow","updated_at":"2026-07-28T09:32:22Z","started_at":"2026-07-28T09:17:13Z","closed_at":"2026-07-28T09:32:22Z","close_reason":"Deterministic contract data JSON slice implemented test-first, validated, documented, and independently reviewed with zero surviving findings.","dependencies":[{"issue_id":"archie-core-5d7.1","depends_on_id":"archie-core-5d7","type":"parent-child","created_at":"2026-07-28T19:17:08Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-qfx","title":"Flaky: TestRunTaskExecutesBootstrapWorkflowEndToEnd races on NATS responders","description":"cmd/archie-agent. Intermittently fails with ParkReason 'stage prepare: archie.worktree.prepare: nats: no responders available for request'; passes on re-run (-count=3 clean). The test does not wait for the worktreerpc subscription to be established before dispatching. A flaky test in task check is poison: it trains everyone to re-run instead of read, which is how a real regression gets waved through.","status":"open","priority":2,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-27T15:27:55Z","created_by":"Sam Catlow","updated_at":"2026-07-27T15:27:55Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-5dn","title":"Document Hermes capabilities missing from Archie","description":"Investigate Hermes' available features and commands, compare them with Archie, and publish a simple Markdown TODO checklist excluding Kanban.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T12:09:56Z","created_by":"Sam Catlow","updated_at":"2026-07-27T12:11:14Z","started_at":"2026-07-27T12:10:00Z","closed_at":"2026-07-27T12:11:14Z","close_reason":"Investigated local Hermes CLI and current Archie implementation; added the requested parity TODO checklist.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-alm.3","title":"Telegram: multi-home-channel command","description":"When multiple home channels are introduced, design /sethome with /set_home alias to set a chat as a home channel. Define identity ownership, overwrite/confirmation rules, group authorization, persistence, and relationship to sessions before implementation.","acceptance_criteria":"Blocked on the multiple-home-channel model; once unblocked, both aliases have identical safe behaviour, persist correctly, and are covered by authorization and migration tests.","status":"open","priority":2,"issue_type":"feature","owner":"sam@catlow.tech","created_at":"2026-07-27T08:56:50Z","created_by":"Sam Catlow","updated_at":"2026-07-27T08:56:50Z","dependencies":[{"issue_id":"archie-core-alm.3","depends_on_id":"archie-core-alm","type":"parent-child","created_at":"2026-07-27T18:56:49Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-rqp.1","title":"Telegram: report installed gateway and runtime versions","description":"Add an authorized /version command as the installed-version prerequisite for component-aware /update. Telegram remains presentation-only; the composition root supplies installed component versions.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T02:50:47Z","created_by":"Sam Catlow","updated_at":"2026-07-27T02:53:56Z","started_at":"2026-07-27T02:50:48Z","closed_at":"2026-07-27T02:53:56Z","close_reason":"Shipped: authorized /version reports installed gateway and runtime build versions from the composition root; menu/help parity covered; task check and scoped lint clean; fresh review found no blocking issues.","dependencies":[{"issue_id":"archie-core-rqp.1","depends_on_id":"archie-core-rqp","type":"parent-child","created_at":"2026-07-27T12:50:46Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-n55","title":"Simplify Telegram model command surface","description":"Remove the redundant /models command from Telegram's published and executable command surface; retain /model selector. Make /help menu copy useful rather than self-referential.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-27T01:41:43Z","created_by":"Sam Catlow","updated_at":"2026-07-27T01:44:06Z","started_at":"2026-07-27T01:41:50Z","closed_at":"2026-07-27T01:44:06Z","close_reason":"Shipped locally: /models removed from Telegram menu, help, and Router; /model is the sole model selector/direct-switch command; /help menu text is now 'See what Archie can do'; command docs updated. task check passes and fresh review reports no findings.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-rqp","title":"Telegram: component-aware /update with approve or defer","description":"Add an /update control flow that checks for available releases, presents separate archied gateway and archie-agent runtime versions/changelog sections, and lets an authorized user approve or defer. Keep discovery and execution behind typed interfaces so Docker/Watchtower, package-manager, and other installations can supply their own updater without the Telegram gateway assuming a deployment mechanism.","acceptance_criteria":"/update reports whether gateway and runtime updates are available, with separate version and changelog sections and explicit no-change wording. Telegram provides Approve and Defer actions restricted to authorized users. Deferral is persisted and suppresses repeated prompts according to an explicit policy. Approval calls a typed installation updater and reports progress/failure without claiming success early. No Watchtower-only or Docker-only behavior exists in the gateway package. Commands, menu, help, callback authorization, concurrency, persistence, and failure paths are tested.","status":"closed","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:47:21Z","created_by":"Sam Catlow","updated_at":"2026-07-27T03:02:11Z","started_at":"2026-07-27T02:49:27Z","closed_at":"2026-07-27T03:02:11Z","close_reason":"Shipped: deployment-neutral /update with configured argv check/install adapters, gateway/runtime release sections, per-user exact-version persisted deferrals, recipient-bound expiring single-use callback actions, global install serialization, callback authorization, and truthful progress/failure. Webhook callback queries enabled. task check and scoped lint clean; adversarial review findings remediated.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-b8t","title":"Telegram: announce newly installed Archie releases","description":"When archied starts after an installed release upgrade, notify authorized Telegram users once with an exact component-aware rundown from CHANGELOG.md. Present archied as THE GATEWAY and archie-agent as THE RUNTIME, explicitly saying when either component has no changes. Persist announced versions per recipient so ordinary restarts do not repeat notifications.","acceptance_criteria":"Repository has a maintained component-aware CHANGELOG.md. On an installed version advance, each configured authorized Telegram user receives one concise message with separate THE GATEWAY and THE RUNTIME sections and explicit no-change wording where applicable. Announced component versions are persisted and duplicate restarts do not repeat. First-run and development builds have explicit non-spam behavior. Parsing, version transition, persistence failure, and delivery failure paths are tested.","notes":"Component history decision: CHANGELOG.archied.md for gateway/control plane and CHANGELOG.archie.md for agent runtime, with root CHANGELOG.md as index. Installed/update messages render both sources and explicitly state when a component has no changes.","status":"in_progress","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:39:18Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:48:38Z","started_at":"2026-07-26T19:46:23Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.16.36","title":"Telegram: /restore to revert the last change","description":"Operator escape hatch requested alongside /restart: revert the last change from chat when an agent-authored change breaks something, without needing shell access to the host. Gateway-scoped.","acceptance_criteria":"Admin-only (allowlisted sender). Reverts the last change and reports what was reverted. Safe to run when there is nothing to revert.","notes":"Design finding: /restore must restore the latest agent-authored filesystem checkpoint, not revert an arbitrary daemon checkout commit. The change boundary will be owned by the sandboxed MCP execution layer: capture a pre-change checkpoint once per mutating agent turn, retain enough metadata to report files, and make restore safe/idempotent when empty. Hermes reference behavior uses this same filesystem-checkpoint boundary for /rollback; /undo is conversation-only. Blocked on 17.43.","status":"in_progress","priority":2,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T19:15:34Z","created_by":"Sam Catlow","updated_at":"2026-07-26T19:27:32Z","started_at":"2026-07-26T19:25:16Z","dependencies":[{"issue_id":"archie-core-abg.16.36","depends_on_id":"archie-core-abg.16","type":"parent-child","created_at":"2026-07-27T05:15:33Z","created_by":"Sam Catlow","metadata":"{}"},{"issue_id":"archie-core-abg.16.36","depends_on_id":"archie-core-abg.17.43","type":"blocks","created_at":"2026-07-27T05:27:32Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-a5w","title":"Evaluate internal/workflow architecture and APIs","description":"Perform a read-only, repository-grounded evaluation of internal/workflow. Identify correctness, definition clarity, reuse, interface ownership, coupling, testability, and maintainability improvements, with concrete evidence and prioritized recommendations.","acceptance_criteria":"Assessment covers package definitions, consumers, subpackages, tests, and architecture invariants; findings are prioritized with file references and actionable recommendations; no code or git changes are made.","notes":"Evaluation completed. Highest-priority findings: repository Yaegi stages expose full TaskContext and may be evaluated in the daemon; workflow Run ignores persistence failures and returns no result; baseline runs after repo stages; push precedes custom gate and diff cap; TDD repro is not environmentally restricted to tests; routing and status models are stringly and ambiguous; extension loaders duplicate incompatible plugin contracts and silently skip failures; AgentStage review is unused by production definitions; chat tasks still hit issue-only operations; lifecycle and routing tests are materially incomplete. Scoped workflow tests passed with GPG fixture access and scoped golangci-lint reported zero issues.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-26T06:39:19Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:47:45Z","started_at":"2026-07-26T06:39:27Z","closed_at":"2026-07-26T06:47:45Z","close_reason":"Read-only package evaluation completed and reported with prioritized, actionable findings.","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.17.42","title":"wire MCP per-server parallel-tool-calls flag into config and daemon startup","description":"Follow-up to archie-core-abg.17.20, which added mcp.Client.parallelToolCalls + WithParallelToolCalls(bool) at the client-API level (adversarially reviewed, race-clean). Nothing currently sets it: config.MCPServer (internal/config/config.go) has no field for it, and both NewClient call sites (cmd/archied/main.go:510's mcp.NewClient, and internal/tools/provider/mcp/provider.go:85's protocol.NewClient) construct clients without the option -- so the flag has zero effect in production as things stand today.","acceptance_criteria":"config.MCPServer gains a ParallelToolCalls bool field (default false, matching the client's safe-by-default); both NewClient call sites read it and pass mcp.WithParallelToolCalls(cfg value) accordingly; a config-driven test proves a server configured with parallel_tool_calls=true actually gets a parallel-opted Client.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T06:36:40Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:36:40Z","dependencies":[{"issue_id":"archie-core-abg.17.42","depends_on_id":"archie-core-abg.17","type":"parent-child","created_at":"2026-07-26T16:36:39Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-xec.4","title":"generalize Provider.APIKeyEnv / NATS.TokenEnv / Telegram.TokenEnv to SecretRef","description":"Follow-up to archie-core-xec, which only migrated Forge.TokenEnv (self-contained call site). Provider.APIKeyEnv is forwarded THREE different ways that all assume the secret is reachable by name in the daemon's own env, not resolved centrally:\n1. agentexec.NewRuntime -\u003e passes the env-var NAME into ai-sdk/runtime's AuthConfig.APIKeyEnv, which lazily os.Getenv's it later (external module, cannot change its contract).\n2. agentexec.WorkerEnvironment / subprocess.go WorkerEnvironment() -\u003e allowlist-forwards the NAME into a subprocess's environment for archie-agent to read itself.\n3. daemon.containerEnv() -\u003e already eagerly resolves via os.Getenv and injects NAME=value into a container env (this one generalizes cleanly).\n\nMigrating Provider.APIKeyEnv to SecretRef requires switching cases 1 and 2 from name-forwarding to eager-resolve-via-secret.Registry-then-inject-value (ai-sdk/runtime.AuthConfig.APIKey literal field already supports this per its ResolveAPIKey fallback chain -- no ai-sdk/runtime changes needed, just stop relying on its lazy os.Getenv path for non-env engines). Also migrate NATSConfig.TokenEnv and TelegramConfig.TokenEnv (each has a single simple os.Getenv call site, lower risk than Provider).","design":"secret.Registry must be threaded into agentexec.NewRuntime, WorkerEnvironment, and daemon.containerEnv (or a shared secret-resolution helper) so eager-resolve-then-inject replaces name-forwarding for engines other than the built-in env engine.","acceptance_criteria":"Provider.APIKeyEnv, NATSConfig.TokenEnv, TelegramConfig.TokenEnv replaced with SecretRef; all three consumption paths (in-process runtime, subprocess worker env, container env) resolve via secret.Registry; task check passes; adversarial review finds zero surviving findings; explicit test proving a non-env engine (e.g. a fake test engine) correctly delivers a provider API key to agentexec.NewRuntime via the AuthConfig.APIKey literal field, not APIKeyEnv.","notes":"Hit this while implementing archie-core-rs9 (TOML write strategy for `archied setup`). The parent epic archie-core-ewk / child archie-core-cbk describe setup step 2 (LLM provider) and step 5 (chat channel) as writing the credential \"via the secret engine\" -- i.e. a general {engine,key} SecretRef, same as Forge.Token. That's not accurate yet: as this bead already says, Provider.APIKeyEnv and Telegram.TokenEnv are plain env-var-name strings with no Registry involved, so today they can only ever mean the built-in \"env\" engine, whatever setup writes into them.\n\nPractical effect on archie-core-cbk: until this migrates, cbk's provider and chat-channel steps should either (a) only support the env engine for those two fields and say so explicitly when prompting, or (b) block on this bead if full multi-engine secret support is a hard requirement for setup. I did not attempt to fix this myself -- out of scope for rs9, and this bead already scopes the real fix (thread secret.Registry into agentexec.NewRuntime/WorkerEnvironment and daemon side). Flagging so whoever picks up cbk decides (a) vs (b) deliberately rather than discovering it mid-implementation.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T04:18:36Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:18:12Z","dependencies":[{"issue_id":"archie-core-xec.4","depends_on_id":"archie-core-xec","type":"parent-child","created_at":"2026-07-26T14:18:36Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-xec.2","title":"secret engine plugin: bws (Bitwarden Secrets Manager)","description":"Ship a yaegi-loaded secrets engine plugin wrapping the bws CLI (os/exec), following the internal/secret Engine interface from archie-core-xec.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T04:14:26Z","created_by":"Sam Catlow","updated_at":"2026-07-26T04:14:26Z","dependencies":[{"issue_id":"archie-core-xec.2","depends_on_id":"archie-core-xec","type":"parent-child","created_at":"2026-07-26T14:14:25Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-xec.3","title":"secret engine plugin: vault/openbao","description":"Ship a yaegi-loaded secrets engine plugin talking to Vault/OpenBao's HTTP KV API (net/http), following the internal/secret Engine interface from archie-core-xec.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T04:14:26Z","created_by":"Sam Catlow","updated_at":"2026-07-26T04:14:26Z","dependencies":[{"issue_id":"archie-core-xec.3","depends_on_id":"archie-core-xec","type":"parent-child","created_at":"2026-07-26T14:14:26Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-xec.1","title":"secret engine plugin: sops","description":"Ship a yaegi-loaded secrets engine plugin wrapping the sops CLI (os/exec), following the internal/secret Engine interface from archie-core-xec. Lives under the shipped engines directory, loaded the same way as custom engines to prove the extension point.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T04:14:25Z","created_by":"Sam Catlow","updated_at":"2026-07-26T04:14:25Z","dependencies":[{"issue_id":"archie-core-xec.1","depends_on_id":"archie-core-xec","type":"parent-child","created_at":"2026-07-26T14:14:25Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:19Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:17Z","closed_at":"2026-07-28T17:05:17Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:18Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:13Z","closed_at":"2026-07-28T17:05:13Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:17Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:07Z","closed_at":"2026-07-28T17:05:07Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:52Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:17Z","closed_at":"2026-07-28T17:05:17Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:46Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:16Z","closed_at":"2026-07-28T17:05:16Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:36Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:15Z","closed_at":"2026-07-28T17:05:15Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:30Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:10Z","closed_at":"2026-07-28T17:05:10Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:27Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:15Z","closed_at":"2026-07-28T17:05:15Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:26Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:09Z","closed_at":"2026-07-28T17:05:09Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:22Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:09Z","closed_at":"2026-07-28T17:05:09Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:20Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:04Z","closed_at":"2026-07-28T17:05:04Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:20Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:14Z","closed_at":"2026-07-28T17:05:14Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:18Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:08Z","closed_at":"2026-07-28T17:05:08Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:16Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:04Z","closed_at":"2026-07-28T17:05:04Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:13Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:08Z","closed_at":"2026-07-28T17:05:08Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:11Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:03Z","closed_at":"2026-07-28T17:05:03Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:11Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:14Z","closed_at":"2026-07-28T17:05:14Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:09Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:07Z","closed_at":"2026-07-28T17:05:07Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:06Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:03Z","closed_at":"2026-07-28T17:05:03Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:05Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:13Z","closed_at":"2026-07-28T17:05:13Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:02Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:02Z","closed_at":"2026-07-28T17:05:02Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:13:01Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:58:24Z","closed_at":"2026-07-26T06:58:24Z","close_reason":"Covered by the adversarial review run when closing abg.22.9 (agent a0d701a1a058a9fe9): lockoutDuration doubling+cap verified safe, LockoutCount increment/reset paths traced correct, persistence round-trip confirmed with added test. Zero blocking findings.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:58Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:02Z","closed_at":"2026-07-28T17:05:02Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:57Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:53:12Z","closed_at":"2026-07-26T06:53:12Z","close_reason":"Covered by the adversarial review run when closing abg.22.8 (agent a6d50f2191d914681): build/vet/lint/gofumpt clean, race-clean, mutex discipline and slice-filter idiom traced correct. One real finding (key collision via string concatenation) fixed with a struct key + regression test before close.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:53Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:06Z","closed_at":"2026-07-28T17:05:06Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:53Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:12Z","closed_at":"2026-07-28T17:05:12Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:52Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:01Z","closed_at":"2026-07-28T17:05:01Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:47Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:06Z","closed_at":"2026-07-28T17:05:06Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:46Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:12Z","closed_at":"2026-07-28T17:05:12Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:44Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:01Z","closed_at":"2026-07-28T17:05:01Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:43Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:05Z","closed_at":"2026-07-28T17:05:05Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:41Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:00Z","closed_at":"2026-07-28T17:05:00Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:40Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:11Z","closed_at":"2026-07-28T17:05:11Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:39Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:49:16Z","closed_at":"2026-07-26T06:49:16Z","close_reason":"Covered by the same adversarial review run when closing abg.22.4: writeFileAtomic's temp+rename traced for atomicity, one real lint finding (unchecked os.Remove) fixed, permissions (0700 dir/0600 files) confirmed. Zero blocking findings.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:37Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:00Z","closed_at":"2026-07-28T17:05:00Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:35Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:49:15Z","closed_at":"2026-07-26T06:49:15Z","close_reason":"Covered by the adversarial review already run when closing abg.22.3 (agent a2c54d7a327f953c8): build/vet/lint clean, gofumpt clean, 34 tests race-clean. No dead code, no hardcoded test values (table-driven with fakeClock), lockout/rate-limit/quota logic traced and confirmed correct against acceptance criteria.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:33Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:11Z","closed_at":"2026-07-28T17:05:11Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:29Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:49:25Z","closed_at":"2026-07-26T06:49:25Z","close_reason":"Covered by the adversarial review run when closing abg.22.2: salted SHA-256 hashing and subtle.ConstantTimeCompare verified sound for the threat model (leaked pending code, not password storage). 6 tests, race-clean, lint-clean.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:26Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:10Z","closed_at":"2026-07-28T17:05:10Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:12:23Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:49:24Z","closed_at":"2026-07-26T06:49:24Z","close_reason":"Covered by the adversarial review run when closing abg.22.1: crypto/rand.Int rejection sampling confirmed unbiased regardless of alphabet size, alphabet/indexing verified safe, error handling verified to never leak a malformed code. 6 tests, race-clean, lint-clean.","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.","notes":"Adversarial review complete: zero correctness findings. One scope-note (not a defect): the flag has no effect in production yet since nothing sets it -- config.MCPServer has no field for it and both NewClient call sites (main.go, internal/tools/provider/mcp/provider.go) construct clients without the option. Filed as follow-up archie-core-xec... wait wrong prefix -- archie-core-abg.17.42 (wire config -\u003e WithParallelToolCalls). This bead's own scope (the client-level mechanism: default-serialized CallTool, opt-in parallel, per-client isolation, nil-safety, deadlock-safety, race-safety) is complete and verified: go build/vet/test -race all clean, 4 tests covering default serialization, opt-in parallelism, completion correctness under serialization, and cross-client isolation.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:15Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:36:49Z","started_at":"2026-07-26T06:33:22Z","closed_at":"2026-07-26T06:36:49Z","close_reason":"Client-level mechanism complete and adversarially reviewed (zero correctness findings): Client.parallelToolCalls + WithParallelToolCalls(bool), default-serialized CallTool via a per-client mutex, opt-in removes serialization, verified nil-safe/deadlock-free/race-free. Production wiring (config.MCPServer field + both NewClient call sites) filed separately as archie-core-abg.17.42 since it's a distinct, independently-completable piece of work.","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":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:13Z","created_by":"Sam Catlow","updated_at":"2026-07-26T17:43:12Z","started_at":"2026-07-26T17:30:39Z","closed_at":"2026-07-26T17:43:12Z","close_reason":"SSE transport implemented and adversarially reviewed. SSETransport with long-lived GET SSE connection, message ID correlation, exponential-backoff reconnection, correct goroutine lifecycle. 7 tests race-clean lint-clean, satisfies Transport interface, no blocking findings.","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":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:08:05Z","created_by":"Sam Catlow","updated_at":"2026-07-26T17:43:11Z","started_at":"2026-07-26T17:30:38Z","closed_at":"2026-07-26T17:43:11Z","close_reason":"HTTP/StreamableHTTP transport implemented and adversarially reviewed. HTTPTransport satisfies Transport interface (Send/Notify) via stateless HTTP POST, 7 tests race-clean lint-clean. One finding (missing compile-time interface assertion) fixed. Pre-existing StdioTransport test failure unrelated.","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.","acceptance_criteria":"Multimodal result envelope type implemented (tools.MultimodalResult) and wired into the MCP client's tool-call handler with progressive disclosure (text summary always present, media persisted to a hinted subdirectory only when configured) -- DONE. Adversarially reviewed with all findings fixed and regression-tested -- DONE.","notes":"Adversarial review (fresh agent) found 5 real findings, all fixed:\n1. HIGH - path traversal: server-supplied tool name (from tools/list, untrusted) was used directly in filepath.Join(mediaDir, toolName) with no sanitization -- a malicious MCP server could advertise a tool named e.g. '../../../etc/cron.d/evil' and write attacker-controlled bytes outside mediaDir. Fixed: rejectPathTraversal() rejects any tool name containing a path separator or being exactly '.'/'..' before it's used as a path component; tested (TestCallToolHandlerRejectsPathTraversalToolName, TestWriteMultimodalResultRejectsDotAndDotDotToolNames).\n2. MEDIUM - no size cap on base64 media before decode+write: unbounded memory/disk exhaustion from a misbehaving server. Fixed: maxMediaBlockBase64Bytes (64MiB) checked before decode; tested (TestWriteMultimodalResultRejectsOversizedMediaBlock).\n3. MEDIUM - concurrent calls to the same tool used index-only filenames in a shared per-tool directory, so two concurrent calls could write to the same path and clobber/interleave each other's files. Fixed: each call gets its own subdirectory via an atomic per-client call sequence (mediaCallSeq); tested with 25 concurrent goroutines (TestWriteMultimodalResultConcurrentCallsDoNotClobberFiles).\n4. LOW - a resource content block with both Text and Blob set silently dropped the text. Fixed: text is now folded into Summary even when the same block also contributes a media file.\n5. LOW - an unrecognized content block type was silently dropped with no trace. Fixed: unhandled types now append a '[unhandled content block type ...]' note to Summary instead of vanishing silently.\n\nAll fixes verified: go build ./..., go vet ./internal/tools/..., go test -race -count=1 ./internal/tools/... clean (15 tests in internal/tools/mcp covering multimodal handling alone). Full repo go build ./... clean; the only other failing tests anywhere are in the unrelated, untracked internal/tools/provider/memory package (someone else's in-progress work, not touched by this bead).","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:44Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:32:43Z","started_at":"2026-07-26T06:24:03Z","closed_at":"2026-07-26T06:32:43Z","close_reason":"Multimodal result envelope implemented in internal/tools (MultimodalResult type) and internal/tools/mcp (Client.WithMediaDir, content-block classification, disk persistence). Adversarial review found and all fixes applied for: path traversal via untrusted server-supplied tool names, unbounded media size, and concurrent-call file clobbering, plus two low-severity content-handling gaps. 15+ tests, race-clean, build-clean repo-wide.","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.","notes":"Sliding-window Limiter.Allow(platform, userID) implemented in internal/ratelimit, keyed by a struct{platform, userID string} (not string concatenation -- adversarial review caught that a separator-byte concat key could collide if either field contained the separator; fixed before close). Adversarially reviewed: mutex holds the full read-modify-write (no TOCTOU across goroutines, confirmed under -race), in-place slice-compaction trick verified safe (write index never overtakes read index). 13 tests, race-clean, lint-clean, gofumpt-clean.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:36Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:53:12Z","started_at":"2026-07-26T06:49:53Z","closed_at":"2026-07-26T06:53:12Z","close_reason":"Per-user/platform sliding-window rate limiter implemented and adversarially reviewed; one real finding (string-concat key collision risk) fixed before close, zero findings remain.","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.","notes":"Escalating lockout: LockoutCount field on userLimit doubles LockoutDuration on repeat offenses (1h, 2h, 4h, 8h, ...), capped at MaxLockoutDuration=24h. Successful VerifyCode resets both Failures and LockoutCount to 0. Adversarially reviewed: no overflow risk (pre-multiply guard), no infinite loop, LockoutCount only incremented on actual new lockout (not on already-locked-out calls), only reset on genuine success, persists correctly across Store reload (added regression test). lockoutDuration() helper with doubling+cap loop verified safe. 34 tests, race-clean, lint-clean, gofumpt-clean.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:36Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:58:24Z","started_at":"2026-07-26T06:53:16Z","closed_at":"2026-07-26T06:58:24Z","close_reason":"Escalating brute-force lockout implemented and adversarially reviewed with zero blocking findings; LockoutCount persistence across restart confirmed.","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.","notes":"writeFileAtomic (temp file same dir + os.Rename) backs pending.json/approved.json/rate_limits.json, one file per platform Store directory (0700 dir, 0600 files). Review confirmed: rename is atomic on same filesystem, no partial-write exposure. Noted (not a bug, logged here not as new bead since bounded/acceptable for this size): persistLocked is not atomic ACROSS the three files -- a crash between two of the three saveJSON calls could leave in-memory state ahead of disk, but fails closed (toward re-requiring pairing, never toward unauthorized approval).","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:32Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:49:01Z","started_at":"2026-07-26T06:42:05Z","closed_at":"2026-07-26T06:49:01Z","close_reason":"Atomic per-platform file persistence implemented and adversarially reviewed; confirmed fails-closed on partial-write, zero blocking findings.","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.","notes":"Store implemented: RequestCode/VerifyCode/IsApproved with rate limiting (10min/user), platform quota (3 pending), lockout (5 failures -\u003e 1hr), CodeTTL expiry. Adversarially reviewed by a fresh agent: build/vet/race-test/lint all clean, no auth-bypass or lockout/DoS bug found. Traced and confirmed correct: lockout naturally expires via time-gated check (no explicit reset needed), ErrNoPendingCode path can't be used to bypass rate limiting since RequestCode itself is the only way to create a guessable secret. Fixed one real lint finding (unchecked os.Remove in writeFileAtomic's defer). Added 2 regression tests recommended by review: pending-code JSON round-trip across Store reload, concurrent RequestCode quota enforcement (10 goroutines, race-clean).","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:30Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:49:00Z","started_at":"2026-07-26T06:42:06Z","closed_at":"2026-07-26T06:49:00Z","close_reason":"Rate limiting, quotas, and lockout implemented and adversarially reviewed with zero blocking findings; 34 tests, race-clean, lint-clean.","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.","acceptance_criteria":"8-char pairing codes from 32-char unambiguous alphabet via crypto/rand -- DONE, adversarially reviewed, zero findings.","notes":"Adversarial review: zero blocking findings. Verified correct on all flagged risk vectors: crypto/rand.Int uses rejection sampling (unbiased regardless of alphabet size, the power-of-2 framing was a red herring), no off-by-one/out-of-bounds risk (Alphabet verified 32 bytes, max=32 matches exactly), error path never returns a partial/malformed code. golangci-lint 0 issues. go test -race clean.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:29Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:41:12Z","started_at":"2026-07-26T06:38:12Z","closed_at":"2026-07-26T06:41:12Z","close_reason":"Cryptographic pairing code generation implemented and adversarially reviewed with zero blocking findings: crypto/rand.Int rejection sampling confirmed unbiased, alphabet/indexing verified safe, error handling verified to never leak a malformed code. 6 tests, race-clean, lint-clean.","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).","acceptance_criteria":"Salted SHA-256 hashing with constant-time comparison -- DONE, adversarially reviewed, zero blocking findings.","notes":"Adversarial review: zero blocking findings. Salt generation (crypto/rand.Read, error-only check) confirmed correct per stdlib contract (short read without error is not a real code path). Constant-time comparison confirmed sound for this threat model (both operands always fixed 32-byte SHA-256 digests, so ConstantTimeCompare's equal-length fast path never triggers on attacker-controlled length; digest() runtime scaling with code length only leaks guess length, not which bytes matched). One forward-looking design note (not a defect in this code): SHA-256 vs slow KDF tradeoff, recorded on archie-core-abg.22.3 (expiry/rate-limiting bead) since that's what makes SHA-256 defensible here. golangci-lint 0 issues, go test -race clean.","status":"closed","priority":2,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T14:07:29Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:41:13Z","started_at":"2026-07-26T06:38:13Z","closed_at":"2026-07-26T06:41:13Z","close_reason":"Salted SHA-256 hashing with constant-time comparison implemented and adversarially reviewed with zero blocking findings. Design note about SHA-256-vs-slow-KDF tradeoff carried forward to archie-core-abg.22.3 (expiry/rate-limiting), which is what makes the SHA-256 choice defensible for this short-lived credential. 6 tests, race-clean, lint-clean.","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":"closed","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-24T00:39:16Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:41Z","closed_at":"2026-07-28T17:04:41Z","close_reason":"Deliverable is a document: 'Write the findings up as docs/prds/agent-personas.md'; AC is that the markdown file exists. Discovery-interview-to-PRD work, closed per CLAUDE.md scope discipline.","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-28T17:07:54Z","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-ewk.2","title":"config.example.toml has no token_env placeholder under [chat.telegram]","description":"TelegramConfig.TokenEnv (internal/config/config.go:536) is a real, used field (cmd/archied/telegram_setup.go reads it via os.Getenv), but the commented [chat.telegram] block in config.example.toml only documents update_check_command / update_install_command -- there is no \"# token_env = ...\" line. An operator reading the example file to learn what's configurable would not discover this key exists.\n\nDiscovered while implementing archie-core-rs9 and testing tomlwrite.Apply against the real template: setting chat.telegram.token_env for the first time falls through to Apply's \"key not found in table\" path (uncomment header, append key), which works fine -- this is a documentation completeness gap in the template, not a functional blocker for archie-core-cbk.","acceptance_criteria":"Add a commented `# token_env = \"...\"` line (with a short comment on what it should point to, e.g. an env var containing the @BotFather token) under the commented [chat.telegram] block in config.example.toml, matching the style of the other commented-out optional fields.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T16:19:02Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:19:02Z","dependencies":[{"issue_id":"archie-core-ewk.2","depends_on_id":"archie-core-ewk","type":"parent-child","created_at":"2026-07-30T02:19:02Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-ahw","title":"isForgeDisabled is duplicated in cmd/archied","description":"resolveForge in cmd/archied/main.go needs the none/off/disabled predicate, but the identical helper in internal/infrastructure/configuration is unexported, so 518a1a0 copied it with a comment noting the duplication. Two copies of a validation predicate drift: adding a fourth disabled-alias in one place silently leaves the other accepting it.","acceptance_criteria":"One definition of the disabled-forge predicate, referenced by both the configuration package and cmd/archied. The comment noting the duplication is removed with it.","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:22Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:22Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-cg9","title":"install.sh: REPO_URL points at a repository that does not exist","description":"install.sh:26 sets REPO_URL to https://github.com/samcharles93/archie-core.git, which is not reachable; origin is https://git.catlow.cloud/sam/archie-core.git. Only affects the path where the installer is not run from a local clone -- i.e. the curl-to-shell install this script exists to serve. Sam is working locally for now and deliberately deferred this on 2026-07-30; filed so it is not forgotten before any public install path is offered.","acceptance_criteria":"REPO_URL resolves to a repository the installer can actually clone, or the clone path is removed in favour of requiring a local checkout.","status":"open","priority":3,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-07-29T16:09:03Z","created_by":"Sam Catlow","updated_at":"2026-07-29T16:09:03Z","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"archie-core-abg.22.19","title":"ratelimit.Limiter: evict stale per-key entries to bound memory","description":"internal/ratelimit's Limiter.hits map never removes entries for (platform, userID) pairs that stop being used -- a user who fires once and never again leaves a permanent (eventually-empty-slice) map entry for the life of the process. Not a bug today since the package isn't wired into any caller yet, but flagged by adversarial review as needing an eviction/TTL story before it's wired into a long-running daemon path handling many distinct/cycling identities (otherwise an eventual memory leak / DoS vector).","status":"open","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-26T06:53:13Z","created_by":"Sam Catlow","updated_at":"2026-07-26T06:53:13Z","dependencies":[{"issue_id":"archie-core-abg.22.19","depends_on_id":"archie-core-abg.22","type":"parent-child","created_at":"2026-07-26T16:53:12Z","created_by":"Sam Catlow","metadata":"{}"}],"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":"closed","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:22Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:17Z","closed_at":"2026-07-28T17:05:17Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:21Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:19Z","closed_at":"2026-07-28T17:05:19Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:20Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:18Z","closed_at":"2026-07-28T17:05:18Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:19Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:05:18Z","closed_at":"2026-07-28T17:05:18Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":3,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:27Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:40Z","closed_at":"2026-07-28T17:04:40Z","close_reason":"Deliverable is a document: acceptance criteria is 'A short findings note states whether agent-to-agent handoff can be built as new workflow.Stage entries ... with reasoning'. Investigation writeup, not code.","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.","notes":"Implemented shared Web UI chat gateway wiring: persisted web sessions, shared Router command dispatch, streamed responses, model/persona controls, and focused API tests. Frontend Chat route includes session history, new/resume, stop, and command discovery. Full task check is currently blocked by unrelated cmd/archied tests expecting the pre-taskstate declined/rejected semantics.","status":"closed","priority":3,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:10Z","created_by":"Sam Catlow","updated_at":"2026-08-04T18:17:25Z","started_at":"2026-08-04T18:13:47Z","closed_at":"2026-08-04T18:17:25Z","close_reason":"Implemented shared Router-backed Web UI chat with streamed responses, persisted sessions, command parity, focused API tests, frontend tests/build, and task check verification. Deployment/restart intentionally not performed.","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.","notes":"Implemented shared web session persistence and Router-backed slash-command handling; frontend can create/resume conversations and reload history. Focused Go and frontend checks pass; full task check remains blocked by unrelated pre-existing taskstate expectation failures.","status":"closed","priority":3,"issue_type":"task","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:09Z","created_by":"Sam Catlow","updated_at":"2026-08-04T18:17:25Z","started_at":"2026-08-04T18:13:47Z","closed_at":"2026-08-04T18:17:25Z","close_reason":"Implemented persistent Web chat sessions/history, new/resume controls, slash-command routing, model/personality controls, focused tests, frontend tests/build, and task check verification. Deployment/restart intentionally not performed.","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":"closed","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:23Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:57Z","closed_at":"2026-07-28T17:04:57Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T14:14:22Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:57Z","closed_at":"2026-07-28T17:04:57Z","close_reason":"Deliverable is a review, not code: the only acceptance criterion is 'Independent adversarial review by fresh agent ... Report findings or confirm clean'. CLAUDE.md's Development Protocol already makes an adversarial verification pass mandatory in the definition-of-done for the paired implementation bead, so tracking it as a separate ticket is a review campaign with no code output. Verification still happens - it is folded into the parent implementation issue.","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":"closed","priority":4,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-07-25T13:18:29Z","created_by":"Sam Catlow","updated_at":"2026-07-28T17:04:40Z","closed_at":"2026-07-28T17:04:40Z","close_reason":"Deliverable is a document: acceptance criteria is 'A design note describes how the identity/session model ... could extend to multiple operators later'. Explicitly non-blocking, no code. Design-note-only work per CLAUDE.md scope discipline.","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} diff --git a/.beads/metadata.json b/.beads/metadata.json deleted file mode 100644 index 65acde694..000000000 --- a/.beads/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "database": "dolt", - "backend": "dolt", - "dolt_mode": "embedded", - "dolt_database": "archie_core", - "project_id": "11a815b0-97c9-40e9-a37c-1691178f2485" -} \ No newline at end of file