|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
{"_type":"issue","id":"archie-core-2tqh","title":"P0: Reconcile domain packages - docs and tree have diverged","description":"internal/domain/ contains curator/, mapping/, scheduling/ which do NOT appear in migration-decisions.md's confirmed domain list (identity, agent, workflow, messaging, workintake, plugin).\n\nMeanwhile, confirmed domains (identity, agent, messaging, plugin) don't exist yet as packages.\n\nNeed to:\n- Audit actual domain packages in internal/domain/\n- Update migration-decisions.md to reflect reality\n- Decide: are curator/, mapping/, scheduling/ legitimate domains or should they be folded into confirmed domains?\n- Create stub packages for missing confirmed domains if needed\n\nBlocked by: nothing (but blocks clean migration progress)","status":"open","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:10Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:41:10Z","dependency_count":0,"dependent_count":1,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-2tqh","title":"P0: Reconcile domain packages - docs and tree have diverged","description":"internal/domain/ contains curator/, mapping/, scheduling/ which do NOT appear in migration-decisions.md's confirmed domain list (identity, agent, workflow, messaging, workintake, plugin).\n\nMeanwhile, confirmed domains (identity, agent, messaging, plugin) don't exist yet as packages.\n\nNeed to:\n- Audit actual domain packages in internal/domain/\n- Update migration-decisions.md to reflect reality\n- Decide: are curator/, mapping/, scheduling/ legitimate domains or should they be folded into confirmed domains?\n- Create stub packages for missing confirmed domains if needed\n\nBlocked by: nothing (but blocks clean migration progress)","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:10Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:04:53Z","closed_at":"2026-08-31T10:04:53Z","close_reason":"Reconciled migration-decisions.md with actual tree: confirmed curator/mapping/scheduling as legitimate domains (were undocumented, not misplaced), documented that identity/agent/messaging/plugin are approved-but-unmaterialised targets rather than creating dead stub packages","dependency_count":0,"dependent_count":1,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-kg1w","title":"P0: Refactor cmd/archied/main.go - violates organisation.md wiring rule","description":"cmd/archied/main.go is 1085 lines of substantive wiring, directly violating organisation.md's rule: 'cmd/* MUST NOT contain substantive wiring'.\n\nThis is the migration docs' own stated next chunk: internal/app/{archied,agentworker} (not yet started).\n\nNeed to:\n- Extract wiring logic from cmd/archied/main.go\n- Create internal/app/archied/ package\n- Create internal/app/agentworker/ package\n- Move dependency injection and lifecycle management into app layer\n- cmd/archied/main.go should only contain CLI flag parsing, OS signal traps, and entry point routing\n\nBlocked by: nothing (but is foundational for migration work)","status":"open","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:00Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:41:00Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-bas7","title":"P0: Fix failing test - CLAUDE.md missing ARCHITECTURE.md reference","description":"TestPluginEngineRuleIsCanonicalAndSharedByAgentInstructions in internal/plugin test is failing because CLAUDE.md is missing a required reference to ARCHITECTURE.md#plugin-engine-rule-strict.\n\nThis is a red build - needs immediate doc fix.\n\nNeed to:\n- Add the missing reference to CLAUDE.md\n- Verify test passes\n\nBlocked by: nothing","status":"open","priority":0,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-28T13:40:53Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:40:53Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-1sjk","title":"P0: Bump Go from 1.26.5 to 1.26.6+ to fix 6 stdlib CVEs","description":"govulncheck found 6 CVEs in stdlib packages fixed in Go 1.26.6:\n- html/template\n- crypto/tls (handshake flood)\n- net/http (H2 timeout)\n- encoding/asn1 (recursion DoS)\n- x/net/idna\n\nNeed to:\n1. Update go.mod directive from 1.26.5 → 1.26.6\n2. Update both Dockerfiles (archied and archie-agent) from 1.26.5 → 1.26.6\n3. Rebuild and verify\n\nBlocked by: nothing","status":"open","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:40:40Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:40:40Z","dependency_count":0,"dependent_count":1,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-bas7","title":"P0: Fix failing test - CLAUDE.md missing ARCHITECTURE.md reference","description":"TestPluginEngineRuleIsCanonicalAndSharedByAgentInstructions in internal/plugin test is failing because CLAUDE.md is missing a required reference to ARCHITECTURE.md#plugin-engine-rule-strict.\n\nThis is a red build - needs immediate doc fix.\n\nNeed to:\n- Add the missing reference to CLAUDE.md\n- Verify test passes\n\nBlocked by: nothing","status":"closed","priority":0,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-28T13:40:53Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:03:46Z","closed_at":"2026-08-31T10:03:46Z","close_reason":"Added missing test + CLAUDE.md reference to ARCHITECTURE.md#plugin-engine-rule-strict","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-1sjk","title":"P0: Bump Go from 1.26.5 to 1.26.6+ to fix 6 stdlib CVEs","description":"govulncheck found 6 CVEs in stdlib packages fixed in Go 1.26.6:\n- html/template\n- crypto/tls (handshake flood)\n- net/http (H2 timeout)\n- encoding/asn1 (recursion DoS)\n- x/net/idna\n\nNeed to:\n1. Update go.mod directive from 1.26.5 → 1.26.6\n2. Update both Dockerfiles (archied and archie-agent) from 1.26.5 → 1.26.6\n3. Rebuild and verify\n\nBlocked by: nothing","status":"closed","priority":0,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:40:40Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:04:10Z","closed_at":"2026-08-31T10:04:10Z","close_reason":"go.mod already at 1.27.0 (supersedes 1.26.6 CVE fix); bumped both Dockerfiles from golang:1.26-trixie to golang:1.27-trixie to match","dependency_count":0,"dependent_count":1,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-n5sr","title":"Measure and reduce task-agent context amplification","description":"PR #635 consumed at least 1,286,449 tokens across baseline repair, analysis, repro, and fix, while the PR footer reported only 997,900. Do not impose a hard token stop: successful and failed tasks are evaluation evidence. Measure prompt/completion/cached usage by stage and iteration, include every agent stage in task totals, enable adaptive history compaction, and bound redundant tool-result replay so task completion remains the authority while efficiency becomes observable and improvable.","acceptance_criteria":"Task telemetry attributes prompt, completion, cached, total tokens and iterations by workflow stage; baseline-repair usage is included in task totals; task agents compact redundant accumulated history without imposing a token stop; successful and failed tasks remain comparable; regression coverage and quality gate pass.","notes":"Maintainer decision: max_tokens is not desired as a blocker. Optimize context economics and preserve outcomes as metrics.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-24T17:58:59Z","created_by":"Sam Catlow","updated_at":"2026-08-24T19:49:31Z","started_at":"2026-08-24T18:02:41Z","closed_at":"2026-08-24T19:48:33Z","close_reason":"Provider usage is durable by stage, baseline repair is included, model-adaptive compaction is enabled without a token cap, and ai-sdk preserves partial/compaction usage. task check and fresh adversarial review pass.","external_ref":"https://github.com/samcharles93/archie-core/issues/637","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-nq0c","title":"Preserve Git author identity in sandboxed task commits","description":"PR #635 contains three commits with empty author and committer names/emails despite configured bot_user and the documented GitHub noreply default. Trace and preserve commit identity across the daemon-worker boundary.","acceptance_criteria":"Sandboxed task commits carry configured/defaulted author and committer name/email; regression covers the live RPC/local commit composition; quality gate passes.","status":"closed","priority":0,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-24T17:58:58Z","created_by":"Sam Catlow","updated_at":"2026-08-24T19:49:32Z","closed_at":"2026-08-24T19:48:34Z","close_reason":"Commit identity now crosses the task boundary, per-identity email defaults are derived when omitted, and the worker end-to-end test verifies author and committer. task check and fresh adversarial review pass.","external_ref":"https://github.com/samcharles93/archie-core/issues/638","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-473l","title":"Reconcile task clone ownership after container commits","description":"Agent containers write Git objects as root into bind-mounted task clones, while ownership is currently repaired only before push. A stopped or failed workflow before push leaves unreadable objects and makes the next host-side worktree prepare fail instantly. Reconcile ownership after every CommitAll result as well as before push.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-24T17:24:57Z","created_by":"Sam Catlow","updated_at":"2026-08-24T19:49:33Z","started_at":"2026-08-24T17:25:30Z","closed_at":"2026-08-24T17:28:39Z","close_reason":"Implemented with regression coverage, full task check passing, and adversarial review clean.","external_ref":"https://github.com/samcharles93/archie-core/issues/639","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
@@ -13,14 +13,14 @@
|
|
|
|
|
{"_type":"issue","id":"archie-core-1ysw.1","title":"Bind worktree RPC operations to the dispatched task","description":"The sandboxed agent can currently choose owner, repo, issue, base, and branch on worktree RPC requests. The daemon then performs host deletion and credentialed forge operations without correlating the request to the dispatched task or enforcing WorkDir containment.","acceptance_criteria":"Reject traversal and unconfigured or task-mismatched coordinates before any filesystem or forge side effect; derive or validate the permitted branch; regression tests fail on the old behavior and pass on the fix.","status":"closed","priority":0,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-22T11:01:43Z","created_by":"Sam Catlow","updated_at":"2026-08-24T06:59:58Z","started_at":"2026-08-22T11:02:03Z","closed_at":"2026-08-24T06:59:58Z","close_reason":"Fixed on main: worktreerpc now exposes only Push, authorized by an opaque per-dispatch grant issued from the dispatched *store.Task (worktreerpc.go:71-83). Sandbox input no longer selects host path, repo or branch; ValidCoordinates rejects traversal. Package tests pass.","external_ref":"https://github.com/samcharles93/archie-core/issues/589","metadata":null,"dependencies":[{"issue_id":"archie-core-1ysw.1","depends_on_id":"archie-core-1ysw","type":"parent-child","created_at":"2026-08-22T21:01:42Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-1ysw","title":"Repair internal/worktree correctness and trust-boundary defects","description":"Track the concrete worktree-package defects proven by the 2026-08-22 evidence-gated review. Child bugs cover RPC authority/path containment, repository-key isolation, retry/base/diff correctness, push lifecycle, terminal cleanup, cancellation, and branch naming. This epic groups implementation only; each child has its own observable acceptance criteria.","acceptance_criteria":"All child bugs are closed with red-green regression tests, scoped lint passes, and the repository quality gate is clean.","status":"closed","priority":0,"issue_type":"epic","owner":"sam@catlow.tech","created_at":"2026-08-22T11:01:18Z","created_by":"Sam Catlow","updated_at":"2026-08-24T08:16:00Z","closed_at":"2026-08-24T08:16:00Z","close_reason":"All 9 children complete. The P0/P1 trust-boundary and correctness defects (.1 RPC task binding, .2 colliding directory keys, .3 untracked cleanup, .4 fail-closed base resolution, .5 three-dot merge-base semantics) were already fixed on main and reconciled 2026-08-24. The remaining four (.6 push result, .7 no-change worktree leak, .8 commit cancellation, .9 branch naming contract) were implemented this session, merged as 474c31d and its two merge commits, task check green, with an independent adversarial review reporting zero findings.","external_ref":"https://github.com/samcharles93/archie-core/issues/590","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-t2db.5","title":"Security: an unauthenticated endpoint must not be able to run an agent","description":"P0 within this epic because the feature's own pitch is the threat model: a public intake surface whose output is an agent with tool access and a repo. Get this wrong and a webhook URL is remote code execution with extra steps.\n\nNon-negotiables to design:\n\n- Per-source authentication. A source registers with a secret (HMAC, as internal/channels/webhook already does per route) before its events can trigger anything. Capture-only for unknown senders is acceptable; triggering is not.\n- Human approval before a binding goes live. An operator authoring a binding is a deliberate act; an event arriving is not. Nothing should self-arm.\n- Rate and volume limits per source, so capture cannot be used to exhaust disk or drown the inspector.\n- Payload content is untrusted input flowing into an agent prompt. Treat prompt injection as expected, not exceptional -- the sender controls that text, and the agent has tools. Bound what a playbook-triggered workflow may do.\n- Captured payloads may contain secrets from the sending system. Decide retention, redaction and who can view them; internal/memory/scrubber may already have applicable prior art.\n\nArchie's own principle applies: environmental enforcement over prompt rules. 'The agent should ignore instructions in the payload' is not a control.","acceptance_criteria":"An event from an unauthenticated source can be captured but cannot trigger a workflow; a new binding requires explicit human approval before it arms; per-source rate limits exist; the blast radius of a playbook-triggered workflow is bounded by code rather than by prompt text; retention and visibility of captured payloads is decided and documented.","notes":"2026-08-22: security design decided and documented in docs/prds/webhook-intake-security.md, covering all five non-negotiables from this bead's description:\n1. Per-source auth reuses internal/channels/webhook's existing HMAC-SHA256 scheme; capture accepts unsigned events (visible, marked unauthenticated), only authenticated events can ever match a binding.\n2. Bindings gain a draft -\u003e pending_approval -\u003e armed state machine; any edit to an armed binding drops it back to pending_approval so approval can't be bypassed by editing. Modeled on telegram's existing dangerousAction/pendingApproval flow (dangerous.go/approval.go).\n3. Per-source token-bucket rate limiting (precedent: pairing/store.go's MaxPendingPerPlatform); limit-exceeded is an observable 429, not a silent drop.\n4. Blast radius bounded by the SAME code-level controls every task already gets -- gate, diff_cap_lines, sandboxed container, worktree isolation -- no new relaxation for playbook-triggered work, and payload text is ordinary untrusted prompt input, never a trusted instruction.\n5. 7-day configurable retention on captured payloads; best-effort redaction reusing gateway/stream.go's sensitiveParameterKey heuristic before persisting; visibility gated by the same dashboard auth as every other webui surface.\n\nThis bead's code-level acceptance criteria (capture-can't-trigger, rate limits exist, blast-radius bounded, approval gate) cannot be implemented yet: they constrain t2db.1 (capture), 7d5u.3 (intake family) and t2db.4 (binding), none of which have landed. This document is the contract those beads build against -- do not build any of them without satisfying it. Leaving this bead in_progress rather than closing it; it closes when t2db.1/7d5u.3/t2db.4 land and demonstrably satisfy points 1-5, not before.","status":"in_progress","priority":0,"issue_type":"feature","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-21T13:45:46Z","created_by":"Sam Catlow","updated_at":"2026-08-22T09:25:01Z","started_at":"2026-08-21T14:51:26Z","external_ref":"https://github.com/samcharles93/archie-core/issues/536","dependencies":[{"issue_id":"archie-core-t2db.5","depends_on_id":"archie-core-t2db","type":"parent-child","created_at":"2026-08-21T23:45:45Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-d66k","title":"P1: Update ARCHITECTURE.md Package Map with missing packages","description":"ARCHITECTURE.md's Package Map omits sizeable load-bearing packages:\n- internal/gateway: 18.7k LOC\n- internal/tools: 20.9k LOC\n- internal/memory: 7k LOC\n- secret/*\n- plugin/*\n- skill/*\n\nA contributor or agent reading the map would miss where most of the code actually lives.\n\nNeed to:\n- Audit ARCHITECTURE.md Package Map section\n- Add all missing packages with their responsibilities\n- Ensure consistency with actual package structure\n- Verify LOC counts are accurate\n\nBlocked by: nothing","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:10Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:10Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-p3wt","title":"P1: Fix recvcheck - mixed pointer/value receivers","description":"recvcheck found mixed pointer/value receivers on:\n- Duration\n- TaskEnvelope\n- Provenance\n\nThis is a latent mutation-semantics bug - methods may not behave correctly if they expect to mutate the receiver.\n\nNeed to:\n- Audit all methods on Duration, TaskEnvelope, Provenance\n- Standardize to either all pointer receivers or all value receivers\n- Prefer pointer receivers for types that need mutation\n- Verify no behavior changes after fix\n\nBlocked by: nothing","status":"open","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:07Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:07Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-d66k","title":"P1: Update ARCHITECTURE.md Package Map with missing packages","description":"ARCHITECTURE.md's Package Map omits sizeable load-bearing packages:\n- internal/gateway: 18.7k LOC\n- internal/tools: 20.9k LOC\n- internal/memory: 7k LOC\n- secret/*\n- plugin/*\n- skill/*\n\nA contributor or agent reading the map would miss where most of the code actually lives.\n\nNeed to:\n- Audit ARCHITECTURE.md Package Map section\n- Add all missing packages with their responsibilities\n- Ensure consistency with actual package structure\n- Verify LOC counts are accurate\n\nBlocked by: nothing","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:10Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:10:50Z","closed_at":"2026-08-31T10:10:50Z","close_reason":"Added internal/gateway, internal/tools, internal/memory, internal/secret, internal/plugin, internal/skill to ARCHITECTURE.md Package Map with LOC and role descriptions","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-p3wt","title":"P1: Fix recvcheck - mixed pointer/value receivers","description":"recvcheck found mixed pointer/value receivers on:\n- Duration\n- TaskEnvelope\n- Provenance\n\nThis is a latent mutation-semantics bug - methods may not behave correctly if they expect to mutate the receiver.\n\nNeed to:\n- Audit all methods on Duration, TaskEnvelope, Provenance\n- Standardize to either all pointer receivers or all value receivers\n- Prefer pointer receivers for types that need mutation\n- Verify no behavior changes after fix\n\nBlocked by: nothing","status":"closed","priority":1,"issue_type":"bug","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:07Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:09:59Z","closed_at":"2026-08-31T10:09:59Z","close_reason":"Duration and TaskEnvelope were already consistent by the time this was picked up; fixed the remaining recvcheck violation on Provenance (Paths/String moved to pointer receiver to match the mutating record() method). All Provenance uses are through addressable struct fields, so build/tests are unaffected. recvcheck now reports 0 issues.","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-agui","title":"P1: Fix 31 golangci-lint issues","description":"31 golangci-lint issues clustered as high cyclomatic/cognitive complexity in:\n- internal/tools/builtin/find.go\n- internal/tools/builtin/grep.go\n- internal/tools/builtin/shell.go\n- internal/gateway/go:dispatchLocal\n\nThese are real refactor candidates, not noise.\n\nNeed to:\n- Review each issue to understand the complexity\n- Refactor functions to reduce cyclomatic complexity\n- Break down large functions into smaller, focused ones\n- Re-run golangci-lint to verify fixes\n\nBlocked by: nothing","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:04Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:04Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-k7y7","title":"P1: Address coverage gaps in load-bearing packages","description":"Coverage gaps in critical packages:\n- domain/workintake: 14.3%\n- secret/enginehost: 0%\n- secret/secretextract: 10%\n- forge: 35.8%\n- natsrpc: 28.3%\n\nNeed to:\n- Analyze why coverage is low in these packages\n- Add tests for uncovered code paths\n- Prioritize based on risk/criticality\n- Aim for at least 60-70% coverage in load-bearing packages\n\nBlocked by: nothing","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:01Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:01Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-zq4l","title":"P1: Tighten CI go-version pinning","description":"CI's go-version is set to '1.26' (floating) while go.mod has exact 1.26.5. This loose coupling means CI could use 1.26.0-1.26.5 or newer minor versions, potentially missing bugs or compatibility issues.\n\nNeed to:\n- Pin CI go-version to exact match go.mod (currently 1.26.5, will be 1.26.6+ after P0 bump)\n- Consider using same variable/source of truth for both\n- Update CI configuration files\n\nBlocked by: Go version bump (archie-core-1sjk) for consistency","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:58Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:41:58Z","dependencies":[{"issue_id":"archie-core-zq4l","depends_on_id":"archie-core-1sjk","type":"blocks","created_at":"2026-08-28T13:42:31Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-0bvr","title":"P1: Add govulncheck step to CI/Taskfile","description":"The 6 stdlib CVEs went undetected through normal task check because there's no govulncheck step anywhere in CI or Taskfile.\n\nNeed to:\n- Add govulncheck to Taskfile.yml (e.g., task vuln)\n- Consider adding to CI pipeline\n- Decide: should vuln check be part of task check or separate?\n- Document the new task\n\nBlocked by: nothing","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:54Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:41:54Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-g1y3","title":"P1: Refactor internal/gateway/ - duplicate implementation risk with messaging domain","description":"internal/gateway/ contains session/compression/approval/branch logic which is the exact 'parallel gateway implementation' that migration-decisions.md says must be replaced by the not-yet-built messaging domain.\n\nThis is a live duplicate-implementation risk - gateway logic should migrate to domain/messaging.\n\nNeed to:\n- Analyze current gateway responsibilities\n- Create domain/messaging package structure\n- Migrate gateway logic incrementally to messaging domain\n- Update callers to use domain/messaging\n- Ensure no behavior changes during migration\n\nBlocked by: domain/messaging package not yet created","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:51Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:41:51Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-tnsr","title":"P1: Bump ai-sdk from v0.1.29 to v0.1.30","description":"github.com/samcharles93/ai-sdk is pinned at v0.1.29, one release behind (v0.1.30 pushed today).\n\nMissing features available in v0.1.30:\n- NewTypedTool\n- GenerateTypedObject\n- errx.ProviderError\n- RetryConfig.OnAttempt\n\nConcrete usage sites in internal/agentexec/loop_runner.go:\n- pluginToolSet: hand-writes JSON Schema + manual unmarshal\n- scriptToolSet: hand-writes JSON Schema + manual unmarshal\n\nThese are clean NewTypedTool[In] candidates once bumped.\n\nNeed to:\n- Update go.mod to require ai-sdk v0.1.30\n- Run go mod tidy\n- Refactor pluginToolSet and scriptToolSet to use NewTypedTool\n- Verify no breaking changes\n\nBlocked by: nothing","status":"open","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:43Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:41:43Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-zq4l","title":"P1: Tighten CI go-version pinning","description":"CI's go-version is set to '1.26' (floating) while go.mod has exact 1.26.5. This loose coupling means CI could use 1.26.0-1.26.5 or newer minor versions, potentially missing bugs or compatibility issues.\n\nNeed to:\n- Pin CI go-version to exact match go.mod (currently 1.26.5, will be 1.26.6+ after P0 bump)\n- Consider using same variable/source of truth for both\n- Update CI configuration files\n\nBlocked by: Go version bump (archie-core-1sjk) for consistency","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:58Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:05:31Z","closed_at":"2026-08-31T10:05:31Z","close_reason":"Switched CI to actions/setup-go go-version-file: go.mod so CI's Go version is always sourced from go.mod directly, eliminating drift","dependencies":[{"issue_id":"archie-core-zq4l","depends_on_id":"archie-core-1sjk","type":"blocks","created_at":"2026-08-28T13:42:31Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-0bvr","title":"P1: Add govulncheck step to CI/Taskfile","description":"The 6 stdlib CVEs went undetected through normal task check because there's no govulncheck step anywhere in CI or Taskfile.\n\nNeed to:\n- Add govulncheck to Taskfile.yml (e.g., task vuln)\n- Consider adding to CI pipeline\n- Decide: should vuln check be part of task check or separate?\n- Document the new task\n\nBlocked by: nothing","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:54Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:05:53Z","closed_at":"2026-08-31T10:05:53Z","close_reason":"Added 'task vuln' (govulncheck) to Taskfile, deliberately kept out of task check since it needs network access to the vuln DB; wired as a separate CI step in deploy.yml","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-g1y3","title":"P1: Refactor internal/gateway/ - duplicate implementation risk with messaging domain","description":"internal/gateway/ contains session/compression/approval/branch logic which is the exact 'parallel gateway implementation' that migration-decisions.md says must be replaced by the not-yet-built messaging domain.\n\nThis is a live duplicate-implementation risk - gateway logic should migrate to domain/messaging.\n\nNeed to:\n- Analyze current gateway responsibilities\n- Create domain/messaging package structure\n- Migrate gateway logic incrementally to messaging domain\n- Update callers to use domain/messaging\n- Ensure no behavior changes during migration\n\nBlocked by: domain/messaging package not yet created","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:51Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:12:25Z","closed_at":"2026-08-31T10:12:25Z","close_reason":"Resolved migration-decisions.md's open Session/Messaging decision: keep internal/gateway as-is rather than risk a big-bang rewrite of live session/compression/approval/branch logic. Materialised internal/domain/messaging with the already-settled canonical Message/Conversation/ToolCall/ToolResult types (composite Conversation identity, immutable MessageID, branch lineage), with tests. Actual gateway migration onto these types is tracked as sequenced follow-up bd issues (d9dv, 4hof, o4e4, h3w2, label messaging-migration) so each channel lands with its own verification.","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-tnsr","title":"P1: Bump ai-sdk from v0.1.29 to v0.1.30","description":"github.com/samcharles93/ai-sdk is pinned at v0.1.29, one release behind (v0.1.30 pushed today).\n\nMissing features available in v0.1.30:\n- NewTypedTool\n- GenerateTypedObject\n- errx.ProviderError\n- RetryConfig.OnAttempt\n\nConcrete usage sites in internal/agentexec/loop_runner.go:\n- pluginToolSet: hand-writes JSON Schema + manual unmarshal\n- scriptToolSet: hand-writes JSON Schema + manual unmarshal\n\nThese are clean NewTypedTool[In] candidates once bumped.\n\nNeed to:\n- Update go.mod to require ai-sdk v0.1.30\n- Run go mod tidy\n- Refactor pluginToolSet and scriptToolSet to use NewTypedTool\n- Verify no breaking changes\n\nBlocked by: nothing","status":"closed","priority":1,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:41:43Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:06:42Z","closed_at":"2026-08-31T10:06:42Z","close_reason":"go.mod already on ai-sdk v0.1.30. Refactored pluginToolSet and scriptToolSet in internal/agentexec/loop_runner.go to use NewTypedTool instead of hand-written JSON Schema + manual unmarshal; tests pass","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-z0u8","title":"Fix dashboard PR links to target the pull request","description":"The task dashboard Open PR action builds GitHub /pulls/\u003cnumber\u003e, which GitHub interprets as the pull-request listing and a numeric author filter. Link directly to /pull/\u003cnumber\u003e.","acceptance_criteria":"Open PR links use the forge's direct pull-request URL shape; a regression test fails against the plural route and passes after the fix; quality gate passes.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-24T17:57:39Z","created_by":"Sam Catlow","updated_at":"2026-08-24T19:49:35Z","started_at":"2026-08-24T17:57:46Z","closed_at":"2026-08-24T19:48:35Z","close_reason":"The API now supplies canonical per-task GitHub or Gitea URLs and the dashboard consumes them directly. Regression coverage, task check, and fresh adversarial review pass.","external_ref":"https://github.com/samcharles93/archie-core/issues/642","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-jy5m","title":"Make task timeline events operationally informative","description":"Task timelines currently render generic stage_start/stage_finish entries with no stage name or outcome, and task_retried entries add little beyond the event kind. Surface the existing event stage, workflow, detail, and relevant structured data so operators can understand what happened without opening raw logs.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-24T17:39:51Z","created_by":"Sam Catlow","updated_at":"2026-08-24T19:49:36Z","started_at":"2026-08-24T17:39:57Z","closed_at":"2026-08-24T17:55:34Z","close_reason":"Task timelines now render stage/retry context; baseline and gate-cycle logs expose useful bounded failure output. task check and independent review pass.","external_ref":"https://github.com/samcharles93/archie-core/issues/643","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-y1hv","title":"Relay dashboard update completion through Telegram","description":"Integrate the existing Carina-side behavior so dashboard-initiated updates can deliver their post-restart watchdog result to an authorized Telegram recipient, while retaining the web UI report path fallback.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-24T17:18:30Z","created_by":"Sam Catlow","updated_at":"2026-08-24T19:49:36Z","started_at":"2026-08-24T17:18:35Z","closed_at":"2026-08-24T17:19:42Z","close_reason":"Implemented, regression-tested, full task check passed, and adversarial review finding resolved.","external_ref":"https://github.com/samcharles93/archie-core/issues/644","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
@@ -89,6 +89,10 @@
|
|
|
|
|
{"_type":"issue","id":"archie-core-g7tm","title":"telegram: finalize the reply through a live context, matching the error branch","description":"The success path calls live.finalize(turnCtx, reply) with the raw cancellable turn context (telegram.go:582), while the error branch two lines above deliberately uses context.WithoutCancel(turnCtx). If /stop lands during finalize, the rich edit, the plain-text retry, and the split-send fallback all abort with context.Canceled (go-telegram/bot builds requests with NewRequestWithContext), so the authoritative reply is never delivered and the live message keeps the ▌ cursor forever. The reply is persisted to the ledger, so the loss is delivery-level — but the user sees a frozen half-answer.\n\nFailure: a long tool-using turn is /stop-ped as it completes; turnCtx is cancelled mid-finalize; every send fails on the dead context; the chat shows the last live frame with a blinking cursor and no final answer.\n\nFound by code-review of PR #476 (feat/467, merged 98e8dda).","design":"live.finalize(context.WithoutCancel(turnCtx), reply) — the one-liner the error branch already uses. Consider making finalize take a live context internally rather than trusting each caller to remember.","acceptance_criteria":"A /stop landing mid-finalize still delivers the authoritative reply and drops the cursor; a test covers the cancellable-context finalize path.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-14T14:43:08Z","created_by":"Sam Catlow","updated_at":"2026-08-14T15:07:36Z","started_at":"2026-08-14T14:53:28Z","closed_at":"2026-08-14T15:03:28Z","close_reason":"Fixed in internal/channels/telegram/live.go and telegram.go: finalize/abandon strip context cancellation before sending (mirroring each other), ToolCall escapes Markdown metacharacters via bot.EscapeMarkdown, splitLongMessage splits on rune boundaries. All new/changed tests verified red-then-green; task check clean; adversarial review pass found no blocking issues.","external_ref":"https://github.com/samcharles93/archie-core/issues/484","labels":["code-review","streaming","telegram"],"dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-tb3a","title":"Fix streaming review blockers for inline tool calls","description":"Resolve the four evidence-gated findings in merged inline tool-call streaming: preserve the authoritative Telegram reply when final edits fail; keep Telegram network I/O off the model FullStream consumer and cancellable; correlate tool inputs with results and render a bounded redacted parameter summary; snapshot show_tool_calls per live reply to avoid reload races. Add regression tests for every path and run task check plus lint/race validation.","acceptance_criteria":"Regression tests fail on the merged implementation and pass after the fix. Final edit failure falls back to normal split delivery. Delta and ToolCall callbacks do not wait on Telegram HTTP and stop cancels in-flight rendering. Completed tool events include bounded redacted parameters correlated by tool-call ID. Reload cannot race an in-flight reply's show_tool_calls setting. task check passes, golangci-lint reports no new findings, and focused race tests pass.","notes":"Implemented in worktree /tmp/archie-core-tb3a on branch fix/archie-core-tb3a. Added cancellable async Telegram rendering, final edit failure fallback through normal split delivery, call-ID-correlated bounded conservative parameter summaries, atomic per-reply show_tool_calls snapshots, SSE/UI parameter rendering, rebuilt ui/dist, and regression tests. Validation: GOFLAGS=-buildvcs=false task check passed; golangci-lint --new-from-rev=HEAD ./... reported 0 issues; focused race suite passed; fresh adversarial reviewer reported PASS with zero findings. Plain task check is blocked in linked worktrees by Go VCS stamping exit 128, hence buildvcs override.\n2026-08-24 reconciliation: the close reason's 'worktree left uncommitted' is stale. The work did land on main via ba33527 (Merge pull request #477 from samcharles93/fix/archie-core-tb3a); verified on main: gateway/stream.go sensitiveParameterKey+redactToolParameters, telegram/live.go per-reply showToolCalls snapshot, webui/api_chat.go gating. The /tmp/archie-core-tb3a worktree and its branch are gone, as expected.\n","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-13T18:05:35Z","created_by":"Sam Catlow","updated_at":"2026-08-24T07:29:09Z","started_at":"2026-08-13T18:05:39Z","closed_at":"2026-08-13T18:35:26Z","close_reason":"Completed and independently reviewed; worktree left uncommitted per conservative repository policy.","external_ref":"https://github.com/samcharles93/archie-core/issues/485","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-dzx","title":"Remove duplicate archie-agent safe.directory setup","description":"## Problem\\ncmd/archie-agent/main.go configures git safe.directory inline and then calls markWorktreeSafe, so startup writes the same global git configuration twice.\\n\\n## Scope\\nKeep markWorktreeSafe as the single tested production path and remove the older inline exec.Command block/import. Add regression coverage proving startup wiring has exactly one authoritative safe-directory call.\\n\\n## Acceptance\\n- archie-agent startup invokes markWorktreeSafe exactly once\\n- no second inline safe.directory command remains in main.go\\n- cmd/archie-agent tests and repository quality gate pass","acceptance_criteria":"Single tested safe.directory setup path remains; duplicate inline command is removed; tests and task check pass","notes":"Red proof: TestMainConfiguresWorktreeSafetyOnce failed with 2 setup paths before implementation. Green proof: go test/vet/build ./cmd/archie-agent/... passed; golangci-lint --new-from-rev=HEAD reported 0 issues. Fresh adversarial review found no blockers. Full task check was not run because the working tree contains unrelated in-progress changes and task check rewrites files; scoped package gate used per repository protocol.","status":"closed","priority":1,"issue_type":"bug","assignee":"Sam Catlow","owner":"sam@catlow.tech","created_at":"2026-08-13T16:10:09Z","created_by":"Sam Catlow","updated_at":"2026-08-13T16:13:48Z","started_at":"2026-08-13T16:10:24Z","closed_at":"2026-08-13T16:13:48Z","close_reason":"Removed duplicate inline safe.directory setup; markWorktreeSafe is now the single tested production path","external_ref":"https://github.com/samcharles93/archie-core/issues/470","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-h3w2","title":"Migrate email/webhook channels onto domain/messaging types","description":"Update remaining gateway-based channels (email, webhook) to use domain/messaging types, completing the migration described in migration-decisions.md section 2.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-31T10:12:16Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:12:16Z","labels":["messaging-migration"],"dependencies":[{"issue_id":"archie-core-h3w2","depends_on_id":"archie-core-d9dv","type":"blocks","created_at":"2026-08-31T10:12:24Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-o4e4","title":"Migrate web UI / dashboard chat onto domain/messaging types","description":"Update internal/webui/ chat handling (api_chat.go and friends) to use domain/messaging types once gateway session storage is migrated. Verify SSE streaming and chat history are unaffected.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-31T10:12:15Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:12:15Z","labels":["messaging-migration"],"dependencies":[{"issue_id":"archie-core-o4e4","depends_on_id":"archie-core-d9dv","type":"blocks","created_at":"2026-08-31T10:12:23Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-4hof","title":"Migrate Telegram channel onto domain/messaging types","description":"Once gateway session storage uses domain/messaging types, update internal/channels/telegram/ to read/write through them instead of internal/gateway.Message directly. Verify no behavior change in message history, branching, or tool-call rendering.","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-31T10:12:13Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:12:13Z","labels":["messaging-migration"],"dependencies":[{"issue_id":"archie-core-4hof","depends_on_id":"archie-core-d9dv","type":"blocks","created_at":"2026-08-31T10:12:22Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-d9dv","title":"Migrate internal/gateway session storage onto domain/messaging types","description":"internal/domain/messaging now has the canonical Message/Conversation/ToolCall/ToolResult types (settled in migration-decisions.md section 2). internal/gateway/'s session storage still uses its own gateway.Message and ad hoc session state. Migrate gateway's session persistence to store/load domain/messaging.Message and Conversation, preserving exact current behavior (compression, approval, branch semantics unchanged).","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-31T10:12:12Z","created_by":"Sam Catlow","updated_at":"2026-08-31T10:12:12Z","labels":["messaging-migration"],"dependency_count":0,"dependent_count":3,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-ul1m","title":"P2: Track migration progress - 85% of internal/ not in domain structure","description":"~85% of internal/ packages (29 of 36) haven't moved into the target domain//infrastructure/ structure yet. This is expected mid-migration, but worth tracking.\n\nNeed to:\n- Create a migration tracking document or update existing one\n- List all packages and their target locations\n- Track progress as packages are migrated\n- Identify dependencies between migrations\n\nBlocked by: P0 domain package reconciliation (archie-core-2tqh)","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:26Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:26Z","dependencies":[{"issue_id":"archie-core-ul1m","depends_on_id":"archie-core-2tqh","type":"blocks","created_at":"2026-08-28T13:42:37Z","created_by":"Sam Catlow","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-kllw","title":"P2: Pin Docker latest tag for archie-agent","description":"Docker latest tag on ghcr.io/samcharles93/archie-agent is unpinned, which hurts reproducibility.\n\nNeed to:\n- Identify current stable version/commit hash\n- Update docker-compose.yml or deployment configs to use pinned tag\n- Consider using SHA-based tags for production deployments\n- Document the pinning strategy\n\nBlocked by: nothing","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:23Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:23Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|
{"_type":"issue","id":"archie-core-uyxk","title":"P2: Add lint/upgrade-deps Taskfile targets","description":"Dependency and lint maintenance is currently manual. There are no Taskfile targets for:\n- Running linters (golangci-lint)\n- Upgrading dependencies\n- Checking for outdated modules\n\nNeed to:\n- Add task lint target that runs golangci-lint\n- Add task deps:upgrade target for dependency updates\n- Add task deps:check target to list outdated modules\n- Ensure these integrate with existing task check flow\n\nBlocked by: nothing","status":"open","priority":2,"issue_type":"task","owner":"sam@catlow.tech","created_at":"2026-08-28T13:42:20Z","created_by":"Sam Catlow","updated_at":"2026-08-28T13:42:20Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
|
|
|
|