Files
archie/.beads/interactions.jsonl
T

158 lines
87 KiB
JSON

{"id":"int-ca573b1f243d5e820077aadb21af8595","kind":"field_change","created_at":"2026-08-15T12:27:33.967613847Z","actor":"Sam Catlow","issue_id":"archie-core-1786637491053-48-fe78cd53","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Verified against current main: Route/RouteStream reject unrecognized slash commands before any LLM call (gateway.go:299-318, 449-462), /start is deterministic in both gateway and Telegram handlers, and full test matrix from acceptance criteria exists (gateway_test.go:106-133, gateway_stream_test.go:54-88, telegram_test.go:135-157). Confirmed by fresh code-tracing pass, not just prior user experience."}}
{"id":"int-73ca4d209481e52e20c00c128fc6a3ca","kind":"field_change","created_at":"2026-08-15T12:41:34.047451864Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942519-17-5999d55b","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}}
{"id":"int-2193ae15ea3e5922294ec78dffe4958a","kind":"field_change","created_at":"2026-08-15T13:36:38.960683238Z","actor":"Sam Catlow","issue_id":"archie-core-1786637489985-8-13b9d8a8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Documented the memory engine contract, owning manager, lifecycle/failure isolation, and third-party trust boundary in ARCHITECTURE.md; focused memory tests pass."}}
{"id":"int-b91f90f48c3115e8d29a3f60e88408e5","kind":"field_change","created_at":"2026-08-17T14:22:09.796781498Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942324-9-509793a0","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Pivoted after design review: value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain. The real gap was engine refresh (bws caches once per process). Replaced by fresh-resolving sops/vault/age engines (beads #409/#411/age). Remote secret-input contract kept as design doc in #505; value-entry UX deferred until a writable engine without a mobile path exists."}}
{"id":"int-aa88000af2cd016d26841a6fa4abf2c4","kind":"field_change","created_at":"2026-08-17T14:33:51.558458038Z","actor":"Sam Catlow","issue_id":"archie-core-1786637500571-409-cdffe32a","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped sops engine plugin in examples/secret-engines/sops.go (commit 24faf53): CLI-based, SOPS_FILE env, fresh resolve per call."}}
{"id":"int-6b8ec518ed64d18eb751748c5f7f5f59","kind":"field_change","created_at":"2026-08-17T14:33:52.021744933Z","actor":"Sam Catlow","issue_id":"archie-core-1786637500634-411-e265a95c","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped vault/openbao engine plugin in examples/secret-engines/vault.go (commit 24faf53): CLI-based, VAULT_ADDR/VAULT_TOKEN, key 'path/field' or VAULT_SECRET_PATH prefix."}}
{"id":"int-e941581f53a51660e0f0a5ffceb7c826","kind":"field_change","created_at":"2026-08-17T14:33:52.146335715Z","actor":"Sam Catlow","issue_id":"archie-core-q5w4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped age engine plugin in examples/secret-engines/age.go (commit 24faf53): CLI-based, AGE_FILE/AGE_IDENTITY, key=value lines."}}
{"id":"int-919adde47b5f87215812a10a78993f09","kind":"field_change","created_at":"2026-08-17T14:34:47.896559702Z","actor":"Sam Catlow","issue_id":"archie-core-1786637499872-384-7952eb47","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Confirmed fixed by Sam; no longer reproducible"}}
{"id":"int-7850f0a34c140822fcc3881f5175c0a3","kind":"field_change","created_at":"2026-08-17T14:37:45.280994322Z","actor":"Sam Catlow","issue_id":"archie-core-1786749700580-5-e3878224","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Already fixed by e7d3925 (2026-07-29, predates this bead). Release() force-kills the container via context.WithoutCancel + ContainerStop/ContainerRemove(Force:true) regardless of cancellation; in-process path checks ctx.Err() between workflow stages. The stage_loop.go path the bead's writeup blames is dead code -- nothing publishes to archie.agent.* subjects in the current architecture. Verified via fresh read-only investigation, file:line citations on both passes."}}
{"id":"int-7ba0339215268f38be520cb017075b23","kind":"field_change","created_at":"2026-08-17T22:38:44.985412822Z","actor":"Sam Catlow","issue_id":"archie-core-1786637490248-18-17079a75","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Already fixed by 170fe02 (2026-08-05), predating this bead's 2026-08-08 runtime inspection -- the inspected deployment was serving a stale build. el() in ui/src/base/dom.js was treating a falsy scalar first child (0, '', false) as a missing attrs object and dropping it, so any stat tile whose value was 0 (Working now, Needs you, Tokens used before any usage) rendered a blank headline. Fixed with dedicated regression coverage in ui/test/dom.test.js (el renders a falsy numeric value instead of dropping it, statTile renders a zero headline value, etc.) -- all 9 tests pass. Verified ui/dist rebuilds byte-identical to the committed tree, so the fix ships in the current binary. The token-outlook-specific root cause (missing agent_finish event rows) is tracked separately in archie-core-1786748942590-20-c21c728b per this bead's own notes and is out of scope here."}}
{"id":"int-3d9bd8b487035a359ea21d03b1e2d160","kind":"field_change","created_at":"2026-08-17T22:38:57.071131764Z","actor":"Sam Catlow","issue_id":"archie-core-1786749700580-5-e3878224","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Root cause found after Sam confirmed live testing still showed the task's in-flight tool calls/generation continuing tens of seconds to ~2 minutes after /stop reported success. internal/container/pool.go Release() always slept the configured GracePeriod and always used Docker's default ~10s graceful SIGTERM-then-SIGKILL timeout, even when the release was happening because the task's context had just been cancelled by /stop -- so a cancelled task's container (and the in-flight work inside it) could sit doing nothing for up to GracePeriod+~10s before actually dying. Fixed with a new releaseDecision(ctx, grace) helper: a cancelled ctx now skips the grace sleep entirely and requests an immediate SIGKILL (ContainerStopOptions.Timeout=0) instead of a graceful wait; a live ctx (normal completion) keeps the original behaviour byte-for-byte. Red-then-green with 3 new unit tests (internal/container/pool_test.go), task check clean, adversarially reviewed by a fresh subagent with zero blocking findings -- context-chain trace, Docker Timeout=0 semantics, and struct-equivalence for the unchanged path were all independently verified against the moby client source."}}
{"id":"int-c4d48841525c9702ecbb52e8c01af769","kind":"field_change","created_at":"2026-08-17T22:40:01.727639644Z","actor":"Sam Catlow","issue_id":"archie-core-1786749700606-6-bf6aa32d","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Confirmed root cause: agent containers run as root (no USER in Dockerfile, no userns-remap anywhere in docker-compose.yml/internal/container/pool.go), so a commit the agent writes to the bind-mounted worktree lands owned by UID 0 on the host. The daemon later reads those same loose objects to push, running as its own non-root host user -- 'openat objects/../..: permission denied'. Fixed: containerEnv() now passes the daemon's own os.Getuid()/os.Getgid() as WORKTREE_UID/WORKTREE_GID; hybridTrees.Push (the single choke point before the push RPC) chowns the worktree back to that owner first. Adversarial review (fresh subagent) found one real bug in the first pass -- chownTree used os.Chown, which follows symlinks and fails on a legitimately-tracked-but-dangling symlink, which would have aborted a push that would otherwise have succeeded (worse than the original bug). Fixed with os.Lchown plus a regression test proving it against a dangling symlink. Full task check clean; all other review findings (full-tree walk cost, minor test-hygiene notes) were judged non-blocking by the reviewer."}}
{"id":"int-798164dc314631bdfc1d20b4684b59f8","kind":"field_change","created_at":"2026-08-17T22:42:58.869292319Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942495-16-0d6ea565","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-c19649ae61fe5c71fa1a64258dbc98c9","kind":"field_change","created_at":"2026-08-18T15:51:15.311055291Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942495-16-0d6ea565","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Shipped in archied v1.9.10 (commit 95290d1, feat(update): stream live progress and roll back failed updates automatically) -- live progress reporting, version summary, and automatic rollback on failed updates all landed and released."}}
{"id":"int-410272072a4bf54ef8e44517f197a133","kind":"field_change","created_at":"2026-08-18T15:51:15.930052316Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942345-10-50a04c62","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Orphaned children of epic archie-core-1786748942324-9-509793a0, which was closed as pivoted-away: 'value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain... Replaced by fresh-resolving sops/vault/age engines... value-entry UX deferred until a writable engine without a mobile path exists.' The replacement work already shipped (secret engine plugins for sops/vault/age). These 6 tasks were never closed alongside their parent epic."}}
{"id":"int-ded36d77c1a5f4fd478271753fad1271","kind":"field_change","created_at":"2026-08-18T15:51:15.934011477Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942364-11-47ec9e60","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Orphaned children of epic archie-core-1786748942324-9-509793a0, which was closed as pivoted-away: 'value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain... Replaced by fresh-resolving sops/vault/age engines... value-entry UX deferred until a writable engine without a mobile path exists.' The replacement work already shipped (secret engine plugins for sops/vault/age). These 6 tasks were never closed alongside their parent epic."}}
{"id":"int-d139f0f1a14ab44a6bd0e87bb8e60865","kind":"field_change","created_at":"2026-08-18T15:51:15.937866765Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942391-12-7988cdca","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Orphaned children of epic archie-core-1786748942324-9-509793a0, which was closed as pivoted-away: 'value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain... Replaced by fresh-resolving sops/vault/age engines... value-entry UX deferred until a writable engine without a mobile path exists.' The replacement work already shipped (secret engine plugins for sops/vault/age). These 6 tasks were never closed alongside their parent epic."}}
{"id":"int-61dd3ff4049e450b1f52f68a8fe1b27e","kind":"field_change","created_at":"2026-08-18T15:51:15.941687801Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942414-13-14bd990e","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Orphaned children of epic archie-core-1786748942324-9-509793a0, which was closed as pivoted-away: 'value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain... Replaced by fresh-resolving sops/vault/age engines... value-entry UX deferred until a writable engine without a mobile path exists.' The replacement work already shipped (secret engine plugins for sops/vault/age). These 6 tasks were never closed alongside their parent epic."}}
{"id":"int-fc6126a227bf87610456c9bc282d4634","kind":"field_change","created_at":"2026-08-18T15:51:15.945433325Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942438-14-abe5ddd0","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Orphaned children of epic archie-core-1786748942324-9-509793a0, which was closed as pivoted-away: 'value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain... Replaced by fresh-resolving sops/vault/age engines... value-entry UX deferred until a writable engine without a mobile path exists.' The replacement work already shipped (secret engine plugins for sops/vault/age). These 6 tasks were never closed alongside their parent epic."}}
{"id":"int-b6e06d7e49ee35af64ad21b7b99a7f67","kind":"field_change","created_at":"2026-08-18T15:51:15.949055267Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942463-15-78823975","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Orphaned children of epic archie-core-1786748942324-9-509793a0, which was closed as pivoted-away: 'value-entry web form duplicates the Bitwarden app for bws and adds a secret-accepting web surface for no gain... Replaced by fresh-resolving sops/vault/age engines... value-entry UX deferred until a writable engine without a mobile path exists.' The replacement work already shipped (secret engine plugins for sops/vault/age). These 6 tasks were never closed alongside their parent epic."}}
{"id":"int-726497f741b07352a4f67d3ba8be8c5b","kind":"field_change","created_at":"2026-08-18T15:53:29.554375007Z","actor":"Sam Catlow","issue_id":"archie-core-1786637490011-9-d5e4f9a4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Superseded: confirmed by Sam that there is no longer a separate /provider command -- grepped the codebase and no '/provider' command exists in internal/gateway or internal/channels/telegram. /model now handles provider scoping directly."}}
{"id":"int-7096095a0791399004afa1648103b4d4","kind":"field_change","created_at":"2026-08-18T16:05:12.750527752Z","actor":"Sam Catlow","issue_id":"archie-core-1786637490923-43-d4bb914b","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: configuredMCPProvider (cmd/archied/main.go) now sets NPM_CONFIG_CACHE under the daemon's persistent work_dir and NPM_CONFIG_PREFER_OFFLINE=true for any npx-launched MCP server (matched by base name so an absolute-path npx still qualifies), so a daemon restart reuses a warm npm cache instead of re-resolving/re-downloading from the registry every time -- the amplifier behind the 2026-07-30 crash loop. Guards an empty workDir explicitly (unreachable in production since config defaulting runs first, but matches memoryProvider's existing precedent for the same defense). Adversarially reviewed by a fresh subagent; findings addressed: narrowed an overclaim that this also covers a package's own separate downloads (e.g. Playwright/Puppeteer fetching browser binaries via CDN, which NPM_CONFIG_CACHE does not touch), and closed the absolute-path-command gap. Full task check clean. The identical, arguably-worse instance in internal/app/agentworker/mcp_providers.go (every per-task ephemeral container, not just daemon restarts) needs real new infra -- a persistent Docker volume bind-mounted into task containers, which doesn't exist yet -- so it's filed separately as archie-core-qk8m rather than folded into this scoped fix."}}
{"id":"int-0379f6f196262497f6642169c943afd6","kind":"field_change","created_at":"2026-08-20T12:55:17.903920351Z","actor":"Sam Catlow","issue_id":"archie-core-3jag","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed in fix/persona-overconfidence (fba80e3): reworded core rule 1 and added rules 8/9 to the chat agent system prompt enforcing this-turn verification before labelling claims verified/confirmed."}}
{"id":"int-0e6d7b43d42215a9a41b1736f4b049d7","kind":"field_change","created_at":"2026-08-20T12:57:02.748858938Z","actor":"Sam Catlow","issue_id":"archie-core-1786637501009-424-5b8332dd","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-dec9f9d1307c51147ea510842ef80d1a","kind":"field_change","created_at":"2026-08-20T13:02:18.330112565Z","actor":"Sam Catlow","issue_id":"archie-core-1786637501009-424-5b8332dd","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed in fix/label-dispatch-empty-label (31efdcf): pollIssuesWithConfig/pollEitherWithConfig now refuse the label poll when cfg.Label is empty, and validateDispatch rejects the misconfiguration at load time. Adversarially reviewed; one weak test strengthened to actually verify assignee matches survive."}}
{"id":"int-c00194f10222de956f7ad8987d09a9fb","kind":"field_change","created_at":"2026-08-20T13:24:15.962276702Z","actor":"Sam Catlow","issue_id":"archie-core-1786637500602-410-7a461d4d","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Already delivered as a compiled-in engine, not a plugin. internal/secret/bws.go implements secret.Engine and shells out to the bws CLI via os/exec (commit 3ae59c9, 2026-07-31); NewRegistry/DefaultRegistry register it under the name \"bws\" alongside \"env\". It is documented in config.example.toml and ARCHITECTURE.md:208, and config.example.toml:64 uses it as the worked example. Shipping a second yaegi implementation under examples/secret-engines/ would register the same name \"bws\", and Registry.Register is last-write-wins over LoadDir, so the plugin would silently shadow the compiled-in engine -- two authoritative paths for one behaviour, which the architecture contract prohibits. Reopen only if the intent is to REPLACE the compiled-in engine with a plugin (which would also need bws removed from NewRegistry and the docs updated)."}}
{"id":"int-907fab8ee9218dfc52e1b312ccdde513","kind":"field_change","created_at":"2026-08-21T15:00:54.642569071Z","actor":"Sam Catlow","issue_id":"archie-core-7d5u.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Decided and documented in docs/prds/event-sources-and-reactions.md, satisfying this bead's own acceptance criterion (a one-page decision naming the packages it touches and stating whether plugins-and-extensions.md needs amending -- it does not).\n\nAnswers: (1) in-process typed families, no out-of-process dispatch -- archie has no existing extension-process boundary and neither epic's stated payoff needs one. (2) Reaction delivery reuses internal/eventbus's Publisher/Consumer contract (PublishUnique + Ack/Nak already provide at-least-once with dedup), but NOT the existing nats.Client as-is: it hardcodes Retention: jetstream.WorkQueuePolicy (client.go:65) for the competing-consumer ARCHIE_TASKS stream, which silently starves a second consumer on overlapping subjects per CLAUDE.md's documented trap -- reactions need fan-out, so retention needs to become a Config field and reactions get their own stream. (3) Reactions in these two epics are producer-only (cheap wake via curator's WakeOnPrimaryInput pattern, or produce real work via the existing pollNATS->publishTask path) -- no veto/mutate-in-flight-work capability is being built here; that belongs to archie-core-h019 if it's ever needed. (4) No single generic Source interface -- forge intake reuses workintake.TaskEnvelope unchanged (its IdempotencyKey is already keyed on owner/repo/number, not delivery source, so a webhook-sourced envelope naturally dedups against a poll-discovered one for free); chat webhook stays internal/channels/webhook, unmodified; what's genuinely new and shared is a small cross-cutting package for HMAC/rate-limit/approval/capture mechanics, owned by neither domain."}}
{"id":"int-15527c6640daf7df72a4876d8e82864c","kind":"field_change","created_at":"2026-08-21T15:26:01.152938969Z","actor":"Sam Catlow","issue_id":"archie-core-7d5u.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Built internal/webhookguard: VerifyHMAC (behavior-preserving extraction from internal/channels/webhook, which now calls it instead of keeping a private copy), RateLimiter (per-source token bucket, independent budgets, observable rejection), RedactPayload (key-name heuristic matching gateway/stream.go's marker list, but -- deliberately unlike that function -- redacts only values under sensitive keys and leaves ordinary strings/numbers/bools untouched, since a captured payload exists to be inspected for field mapping in t2db.3).\n\nAll four acceptance criteria met and independently confirmed by a fresh adversarial review with zero surviving findings: HMAC extraction is byte-for-byte behavior-preserving (diffed against the deleted function); rate limiter hand-traced correct on two scenarios plus race-clean under -race; redaction's divergence from gateway/stream.go verified by reading both functions side by side; zero non-stdlib imports confirmed by grep. The reviewer also mutation-tested both the redaction and rate-limit guards (disabled each in turn) and confirmed the test suite catches both, then reverted and re-verified go test -race and git status were clean.\n\ntask check exit 0, golangci-lint 0 issues (one forcetypeassert finding was caught and fixed properly during build, not suppressed), gofumpt clean. All 10 pre-existing internal/channels/webhook tests pass unmodified; the one now-redundant unit test was removed with a comment pointing to where its coverage relocated."}}
{"id":"int-ccb87c91023dbaa6718ae2f7564d38cc","kind":"field_change","created_at":"2026-08-21T18:51:09.120109805Z","actor":"Sam Catlow","issue_id":"archie-core-t2db.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Built capture storage + endpoint: docs/prds/event-capture-storage.md decides SQLite over NATS JetStream (NATS not unconditionally available pre-7d5u.2, capture's single-writer/single-reader access pattern doesn't need JetStream fan-out/replay). internal/store/captures.go adds captured_events table + InsertCapture (prune-on-write by retention age and row count) + ListCaptures. internal/webui/api_capture.go adds POST /webhooks/capture/{source}, unauthenticated (bypasses requireToken like /healthz), applying webhookguard redaction before persisting and a per-remote-address rate limit + hard body-size cap before that. New [capture] config section with documented defaults. Adversarial self-review (the usual fresh subagent pass hit a session API limit mid-run, so this was a manual re-read with the same checklist) caught and fixed three real bugs before landing: (1) body-size cap silently unenforced when unset -- added a hardcoded fallback floor since it's the only bound on a SINGLE payload's size; (2) rate limiter was keyed by the request's own unregistered source path segment, violating webhookguard.RateLimiter's documented bounded-key-space assumption -- an attacker could rotate the segment to bypass the limit and grow the bucket map unbounded; rekeyed to remote address; (3) retention prune used time.RFC3339Nano, whose variable-width trimmed fractional seconds break lexicographic string comparison in `WHERE received_at < ?` (an exact-second timestamp can sort after a later fractional one) -- switched to fixed-width RFC3339. All three have regression tests verified to fail against the pre-fix code. task check clean, golangci-lint zero new findings repo-wide."}}
{"id":"int-772ca35948f33ac9ada8096eceeb7144","kind":"field_change","created_at":"2026-08-21T19:17:03.32765544Z","actor":"Sam Catlow","issue_id":"archie-core-t2db.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"GET /api/captures (token-gated, memory/skills-style enabled:false-not-an-error when Captures is nil) plus a new /captures dashboard page: recent captures newest-first, expandable per-row to explore redacted payload/headers pretty-printed. Live updates reuse the existing operator-activity event pipeline (Server.emit -> Events.Publish -> the /events SSE stream) as an invalidation signal, refetching the list rather than merging partial event data. Every row shows an 'Unbound' pill today since no binding model exists yet (t2db.4 wires the real distinction). Frontend follows the tasks/task-row.js precedent: row rendering split into capture-row.js for unit testing without the page's fetch/SSE wiring. Adversarial review (fresh subagent, full pass) found one real severe bug before merge: the live SSE event was embedding the full (up to 256KiB) redacted body/headers into the events table, which has no retention/row-count prune anywhere in the codebase -- silently defeating t2db.1's disk-bound guarantee for an unauthenticated, only-rate-limited endpoint. Fixed: the live event now carries just {id, source} as a pure invalidation signal; the dashboard refetches the authoritative list. Two smaller findings (untested Data[\"id\"] field the frontend's dedup depended on; a received_at precision mismatch between live and REST-fetched copies) were resolved as a side effect of that fix. task check clean, golangci-lint zero new findings."}}
{"id":"int-ca26e9b428d406303510eea34c2c8d05","kind":"field_change","created_at":"2026-08-21T19:18:55.467881536Z","actor":"Sam Catlow","issue_id":"archie-core-7d5u.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Embedded NATS wired into production startup: mode=embedded/external/off resolves from url, daemon owns the in-process server lifecycle, Retention parameterized for a future fan-out reaction stream. task check + lint clean; adversarial review zero surviving findings. Committed 2c7db34."}}
{"id":"int-484f5673b3d49ea1731bec29e2a84074","kind":"field_change","created_at":"2026-08-22T09:01:53.455811598Z","actor":"Sam Catlow","issue_id":"archie-core-t2db.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Payload field mapping: domain (internal/domain/mapping), SQLite store (internal/store/mappings.go), HTTP API (internal/webui/api_mapping.go), and dashboard editor (ui/src/mappings) shipped. PRD at docs/prds/payload-field-mapping.md. task check green; adversarial review found 4 issues (stale preview after rename, duplicate field names, hardcoded capture scan window, malformed path silently reinterpreted), all fixed and re-verified."}}
{"id":"int-0606ca827b33f964b6a5de2f5f4a1966","kind":"field_change","created_at":"2026-08-22T09:21:16.136296742Z","actor":"Sam Catlow","issue_id":"archie-core-7d5u.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"GitHub webhook receiver shipped: [forge] intake=poll|webhook|both, shared MatchesDispatch predicate (case-insensitive assignee, case-sensitive label) consumed by poller and receiver, HMAC-verified, publishes via shared PublishTask. Adversarial self-review found and fixed 3 real defects (boot-crashing secret-resolve hard-fail under intake=both, assignee case-sensitivity mismatch vs GitHub's own filter, silent multi-identity misdispatch) before landing. task check + lint clean. Committed 41e43dc."}}
{"id":"int-fe2b5654477a99738b27c129267c3636","kind":"field_change","created_at":"2026-08-22T09:45:14.980953288Z","actor":"Sam Catlow","issue_id":"archie-core-h019.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"One-page decision written at docs/prds/adversarial-self-review.md: reviewer runs in a second workspace (container or in-process) pointed at a .git-stripped snapshot of the reviewed commit, never the implementer's worktree; findings contract is workflow.ReviewFinding, owned by internal/domain/workflow, reported via a structured capture tool; a surviving error-level finding sets StatusParked (not WaitingHuman -- epic wording named two different states, this resolves which); model/effort reuse the existing Models[role] map and per-stage budget override, gated by a new opt-in Repo.ReviewEnabled so h019.4 doesn't gate every repo on an uncalibrated reviewer before h019.5 lands."}}
{"id":"int-0f63389a86a8600c181ac3a924308b2d","kind":"field_change","created_at":"2026-08-22T09:45:16.096384559Z","actor":"Sam Catlow","issue_id":"archie-core-7d5u.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Investigated first: the dedup mechanism (TaskEnvelope.IdempotencyKey + PublishUnique + JetStream Nats-Msg-Id dedup) and the shared dispatch predicate were already fully wired by 7d5u.4 -- no double-dispatch code change was needed. Closed the two real gaps: (1) internal/infrastructure/eventbus/nats/dedup_test.go is a new regression test proving PublishUnique actually suppresses a duplicate publish on the same WorkQueuePolicy stream ARCHIE_TASKS uses in production; (2) internal/forge/webhook/receiver.go gained Status()/GET support tracking authenticated deliveries vs successful publishes separately, so a wedged or non-delivering receiver is observable rather than indistinguishable from an idle repo. AC's poll/webhook parity clause (disabling webhook still polls) is satisfied architecturally with no code change possible to violate it -- verified Cycle()/Run() never reference cfg.Forge.Intake anywhere in internal/daemon; only setupForgeWebhook in cmd/archied/bootstrap.go gates the webhook HTTP server. Adversarial review pass (fresh subagent, -race) found zero blocking issues; closed two minor coverage gaps it flagged."}}
{"id":"int-3e1f713978e40f4b6520cc291177cf75","kind":"field_change","created_at":"2026-08-22T10:27:03.528690276Z","actor":"Sam Catlow","issue_id":"archie-core-1786637492559-106-5ea2315d","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented code-fence-aware Telegram message splitting with bounded continuation handling and regression coverage"}}
{"id":"int-ad830c0a3520aa4ce3b8cfa312e025b1","kind":"field_change","created_at":"2026-08-22T10:43:32.929553169Z","actor":"Sam Catlow","issue_id":"archie-core-ippu","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: TurnRecord now persists tool-call activity alongside ResponseText; the completed-duplicate replay path replays it via stream.ToolCall before the text. Prior-reply fallback documented as deliberately text-only (crash race with no persisted tool record). Commit 86a9731, task check clean, adversarial review clean (0 findings)."}}
{"id":"int-d9f51ffd469b2da49ca85951b83749f4","kind":"field_change","created_at":"2026-08-22T10:51:28.14819806Z","actor":"Sam Catlow","issue_id":"archie-core-1786637493205-131-a3dd2b53","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}}
{"id":"int-ac3e88053eb75fae03ab1f8365844175","kind":"field_change","created_at":"2026-08-22T10:56:58.663854981Z","actor":"Sam Catlow","issue_id":"archie-core-j8b4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented persistent session transcript, cross-session memory, and staged plugin storage"}}
{"id":"int-d145e6fe5da65f8df6e433afcf8b02e8","kind":"field_change","created_at":"2026-08-22T11:13:23.297308578Z","actor":"Sam Catlow","issue_id":"archie-core-qk8m","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: MCP npm servers for per-task containers now reuse a persistent npm cache. Added mcp.NpmCacheEnv (shared with the daemon-side fix), an always-on archie-cache-mcp-npm Docker volume mounted at /data/cache/mcp-npm on every task container regardless of ecosystem, and wired it into internal/app/agentworker/mcp_providers.go's stdio transport construction. Adversarial review found zero surviving findings."}}
{"id":"int-c1baa90874e9de48952955e52a5760d2","kind":"field_change","created_at":"2026-08-22T11:47:02.381816994Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented per-dispatch publication grants, removed sandbox-selected prepare/path authority, made repository worktree keys collision-free, and added fail-closed legacy migration/cleanup coverage."}}
{"id":"int-3eca62d9ff92647ebeb091e5afe7e80a","kind":"field_change","created_at":"2026-08-22T11:47:02.632518654Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented per-dispatch publication grants, removed sandbox-selected prepare/path authority, made repository worktree keys collision-free, and added fail-closed legacy migration/cleanup coverage."}}
{"id":"int-389951a8f299a389cbb0432044362797","kind":"field_change","created_at":"2026-08-22T11:55:19.903017141Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Retry refresh now removes all non-HEAD worktree content including ignored output while preserving .git, tracked symlinks, and gitlinks; missing bases fail closed."}}
{"id":"int-56c541cf59441d3b82a65bc0ee53e38c","kind":"field_change","created_at":"2026-08-22T11:55:20.137923996Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Retry refresh now removes all non-HEAD worktree content including ignored output while preserving .git, tracked symlinks, and gitlinks; missing bases fail closed."}}
{"id":"int-91757c22c0f3dff173e70e5eeff9447c","kind":"field_change","created_at":"2026-08-22T11:59:36.859035164Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Three-dot diff operations now fail closed when base and HEAD have no common ancestor; regression covers Diff, ChangedFiles, and ChangedLines."}}
{"id":"int-2fceaface0b1804f99343a043a446532","kind":"field_change","created_at":"2026-08-22T12:16:02.43722871Z","actor":"Sam Catlow","issue_id":"archie-core-azbo","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Removed the unwired BasePlatformAdapter, SendResult, ChatInfo, and their test-only stub. CapabilitiesOf is absent from the current checkout/history. Gateway and worktree tests pass. task check passes all packages except the pre-existing tracked agentworker architecture failure archie-core-hqst."}}
{"id":"int-41f3180369b3e3d59287b8b661403433","kind":"field_change","created_at":"2026-08-22T15:03:38.692577153Z","actor":"Sam Catlow","issue_id":"archie-core-1786637493329-136-49b39c78","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Media portion delivered: gateway.MediaSender + telegramMediaSender + TurnStream.Media wiring in Telegram's liveReply. Typing/edit/delete indicators from this issue's original scope are NOT done -- splitting them out if still wanted, since they're unrelated to the video-gen work that drove this."}}
{"id":"int-46b6d680396e11becb59162374a2ab2d","kind":"field_change","created_at":"2026-08-22T15:34:28.584715451Z","actor":"Sam Catlow","issue_id":"archie-core-3ghy","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Shipped and verified: task check equivalent (fmt/vet/build/test/lint) is clean across every touched package, red-then-green throughout. See the issue description for what's in scope and what's explicitly deferred."}}
{"id":"int-5acd1f65b747a819d5989f2cbd6555f9","kind":"field_change","created_at":"2026-08-22T18:14:27.709722923Z","actor":"Sam Catlow","issue_id":"archie-core-bia3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Release blockers fixed and pushed to main: ea76432 restored the media delivery result without reviving BasePlatformAdapter; ef2abd1 and bf72384 made the ClaimTurn regression isolate its intended race and yield between bounded SQLITE_BUSY retries. Full task check and fresh adversarial reviews passed."}}
{"id":"int-5dbcbfe3c8952f34e98764ab2cbd8385","kind":"field_change","created_at":"2026-08-22T18:14:27.90016743Z","actor":"Sam Catlow","issue_id":"archie-core-mzok","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Release blockers fixed and pushed to main: ea76432 restored the media delivery result without reviving BasePlatformAdapter; ef2abd1 and bf72384 made the ClaimTurn regression isolate its intended race and yield between bounded SQLITE_BUSY retries. Full task check and fresh adversarial reviews passed."}}
{"id":"int-c0a168ef2d814e50f8a7da0977803cf9","kind":"field_change","created_at":"2026-08-23T12:16:00.770399554Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942540-18-9af78536","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deprioritized: prompt-level fix landed in fba80e3 (archie-core-3jag/GH#524) covers the general overconfidence pattern. Not worth mechanical enforcement (postcondition checks, tool-result verification) unless this recurs — revisit with stronger prompting first if it does."}}
{"id":"int-995acdba52b55d8b0e6672f6992776ae","kind":"field_change","created_at":"2026-08-23T12:23:14.012827011Z","actor":"Sam Catlow","issue_id":"archie-core-w35v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: themed .wf-form input/select/textarea in workflows.css to match the dark theme."}}
{"id":"int-4efd5606f47f481644632143278c7467","kind":"field_change","created_at":"2026-08-23T12:58:06.612102627Z","actor":"Sam Catlow","issue_id":"archie-core-nln7","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: dashboard installs now get a ReportPath, and Server.Run relays/verifies/clears the phase-2 report on boot via a new KindUpdateReport SSE event. Adversarial review clean."}}
{"id":"int-8c5d7ad3a23429d7067aa61abb1663d8","kind":"field_change","created_at":"2026-08-23T13:18:03.290726019Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: archie-agent's build is now stamped (installtype + agentworker.Version), and it reports both back to the daemon in every taskrun.Response. daemon.AgentStatus records the latest observation; daemonRunningVersions includes the agent component once one lands. Adversarial review clean (one nice-to-have comment added)."}}
{"id":"int-ef61375b05a90bf9dd2556180d1415f8","kind":"field_change","created_at":"2026-08-23T13:28:53.602582269Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: Component gained InstallType/Reference, populated via Service.Enrich from installtype.Type() (daemon), observed AgentStatus (agent), and [nats] config (third-party). Adversarial review clean (one lint-consistency nit fixed: use config.NATSMode* constants instead of raw strings)."}}
{"id":"int-781cec687e88474013c495d0540b6cdd","kind":"field_change","created_at":"2026-08-23T13:33:21.1202539Z","actor":"Sam Catlow","issue_id":"archie-core-1786637490815-39-45528ea3","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}}
{"id":"int-00d1661f1d257b2236cbd4465f4c39ab","kind":"field_change","created_at":"2026-08-23T13:36:51.728538277Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: GET /api/version + Configuration-page 'Update status' card, sourced from the InstallType/Reference/RunningVersions plumbing landed in .1/.2. Adversarial review found one real bug (Installed=='' with Available set incorrectly returned update_available instead of unknown) and one test gap (present-but-empty running-version map entry) -- both fixed, tests added, all green."}}
{"id":"int-3692dd90f21567b32a55aeea992fc247","kind":"field_change","created_at":"2026-08-23T13:36:52.845688289Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"All 5 design points landed: installtype package + fail-closed dispatcher + post-install Verify (3fb4857/c25799e, prior work), archie-agent build stamping + NATS status self-report (.1), Component.InstallType/Reference enrichment (.2), and GET /api/version + Configuration status block (.3). Each sub-issue passed an independent adversarial review pass."}}
{"id":"int-7191af3e85066b68e54e0a230bebdcaa","kind":"field_change","created_at":"2026-08-23T15:34:38.78246011Z","actor":"Sam Catlow","issue_id":"archie-core-tzzn","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented compact fenced tool progress, schema/input suppression, bounded output, error status rendering, and regression coverage. Existing workspace exclusion keeps task agents rooted to their worktree."}}
{"id":"int-515845d1ec5f05f8235d7c783c4c85b4","kind":"field_change","created_at":"2026-08-23T22:37:28.469553593Z","actor":"Sam Catlow","issue_id":"archie-core-1787489595853-6-50e11603","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate epic; canonical versions are archie-core-t2db (#541), archie-core-7d5u (#547), and archie-core-h019 (#552) with proper work breakdown"}}
{"id":"int-5822698bc0a7fbf38f19de76ce8239b8","kind":"field_change","created_at":"2026-08-23T22:37:28.54753591Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596426-13-e24a2c83","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate epic; canonical versions are archie-core-t2db (#541), archie-core-7d5u (#547), and archie-core-h019 (#552) with proper work breakdown"}}
{"id":"int-2c0fdd1b8ef3d2544631e66e9256a596","kind":"field_change","created_at":"2026-08-23T22:37:28.616346608Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596754-17-3b1639d9","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate epic; canonical versions are archie-core-t2db (#541), archie-core-7d5u (#547), and archie-core-h019 (#552) with proper work breakdown"}}
{"id":"int-3745f04a427462219e754900166b0747","kind":"field_change","created_at":"2026-08-23T22:39:29.465123804Z","actor":"Sam Catlow","issue_id":"archie-core-1787489595508-2-98c4b849","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-8c03284d0ab07cdd6eeafc8a13df4e94","kind":"field_change","created_at":"2026-08-23T22:39:29.517364936Z","actor":"Sam Catlow","issue_id":"archie-core-1787489595596-3-e2c56185","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-6f64acb9ad5afc8a63d756e32c801887","kind":"field_change","created_at":"2026-08-23T22:39:29.55960528Z","actor":"Sam Catlow","issue_id":"archie-core-1787489595777-5-bc238550","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-c0cc2bce4187076ac4ad952458875124","kind":"field_change","created_at":"2026-08-23T22:39:29.610435241Z","actor":"Sam Catlow","issue_id":"archie-core-1787489595942-7-3ec33776","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-52ba3a752e8c6003add39f0e07a2839b","kind":"field_change","created_at":"2026-08-23T22:39:29.655650025Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596025-8-afa6f721","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-1ab9d84650c5b002065e5489f1dc3bb4","kind":"field_change","created_at":"2026-08-23T22:39:29.700291737Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596102-9-3ec24fcd","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-54008c40d7b62c330f50551c6dfd35f1","kind":"field_change","created_at":"2026-08-23T22:39:29.744584834Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596182-10-d1e59e32","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-ed29c6020e0e13c0dfae8115d2d98dda","kind":"field_change","created_at":"2026-08-23T22:39:29.793561788Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596259-11-317f7079","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-f01e36e30010b5cf832c9fc80eb5e146","kind":"field_change","created_at":"2026-08-23T22:39:29.834506984Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596341-12-bf9443bb","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-3e24295d42f6d0d7f4d78a9e0f906daf","kind":"field_change","created_at":"2026-08-23T22:39:29.878271586Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596505-14-5b6c5494","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-7ea2725e048024e3bdcd313dcdc9f51e","kind":"field_change","created_at":"2026-08-23T22:39:29.920488311Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596587-15-fdd1dcbd","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-4afa382e87012778d88ef142bc3a7f24","kind":"field_change","created_at":"2026-08-23T22:39:29.966218413Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596676-16-d40037d5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-0d31a3192b0d2d7730604e9075b8b1ec","kind":"field_change","created_at":"2026-08-23T22:39:30.011051192Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596831-18-366fdec1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-eacf8c210b1b56df2d4565017660e5dd","kind":"field_change","created_at":"2026-08-23T22:39:30.053392332Z","actor":"Sam Catlow","issue_id":"archie-core-1787489596921-19-cf6351d9","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-1e53e4e25d7c160f193963bfd8820f4b","kind":"field_change","created_at":"2026-08-23T22:39:30.093631252Z","actor":"Sam Catlow","issue_id":"archie-core-1787489597001-20-4a13bb0b","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-371170472ddc09164504bbd82c05b255","kind":"field_change","created_at":"2026-08-23T22:39:30.136166949Z","actor":"Sam Catlow","issue_id":"archie-core-1787489597088-21-878229b4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-2ba179f5c4ba1631d80779a5fad8ca5b","kind":"field_change","created_at":"2026-08-23T22:39:30.186688742Z","actor":"Sam Catlow","issue_id":"archie-core-1787489597173-22-c7110160","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-3e5507c3aec51ab0a437b02ecffbf9c7","kind":"field_change","created_at":"2026-08-23T22:39:30.227542015Z","actor":"Sam Catlow","issue_id":"archie-core-1787489597262-23-f61d8b1b","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Duplicate; work tracked under canonical epic"}}
{"id":"int-f979ee8ee60a3c0adbf39a22a633672f","kind":"field_change","created_at":"2026-08-24T01:52:44.870831411Z","actor":"Sam Catlow","issue_id":"archie-core-dfck","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"SDK v0.1.22 provides one bounded forced-finish recovery; Archie opts in through InProcessRunner. Focused test, task check, module verification, and independent adversarial review passed."}}
{"id":"int-6e8c42f1e69eedcd00a9d80344b6ba43","kind":"field_change","created_at":"2026-08-24T03:11:49.10707373Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Retry cleaning was implemented in 0522fb7 (reset + cleanUntracked, covered by TestPrepareRecoversFromADirtyWorktreeOnRetry). Remaining defect fixed in 037ee7c: SkipDir on a .git gitdir *file* aborted the whole walk, so cleaning silently no-opped for linked/adopted worktrees. Regression test TestCleanUntrackedHandlesGitdirFile."}}
{"id":"int-454dbecf0b5c42387933d52043eb1467","kind":"field_change","created_at":"2026-08-24T03:29:04.998835814Z","actor":"Sam Catlow","issue_id":"archie-core-1786637496459-254-ed0462dd","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented in internal/domain/scheduling (branch feat/275-ticker-engine): configurable tick interval, parallel and sequential pools, overlap suppression, per-run timeout, bounded graceful shutdown. Job store, blueprints and delivery routing remain open in the epic."}}
{"id":"int-42c12c17771c1ffb33c642f7ed979b5a","kind":"field_change","created_at":"2026-08-24T03:31:57.542869797Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}}
{"id":"int-b6abc3db88593e4acbb1592f6030c6d4","kind":"field_change","created_at":"2026-08-24T03:49:21.308803458Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}}
{"id":"int-242dc6f04510849195c2ca038cd8fa77","kind":"field_change","created_at":"2026-08-24T04:21:08.061548146Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Removed daemon in-process, subprocess, per-stage NATS, and shared-worker execution. Autonomous workflow loops now exist only in task-scoped archie-agent workers; mandatory boot metadata and exact task subjects fail closed. task check, new-code lint, and independent adversarial review are clean."}}
{"id":"int-1e97f94b0fefd3184ada857dfca189e6","kind":"field_change","created_at":"2026-08-24T04:46:53.931228211Z","actor":"Sam Catlow","issue_id":"archie-core-ite6","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"subscribeAgentEvents now flushes its SUB frame before returning and cleans up on failure; regression coverage and full gate pass."}}
{"id":"int-8edaedd8b418b3e8f072ae78ab2fb10d","kind":"field_change","created_at":"2026-08-24T04:46:55.023036661Z","actor":"Sam Catlow","issue_id":"archie-core-5bsf","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Runtime updater now snapshots and restores the configured managed worker Docker image; runtime-only and combined rollback regressions pass."}}
{"id":"int-54344d1b04602ef10199dcdfbb5e0bd8","kind":"field_change","created_at":"2026-08-24T04:46:55.40908275Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fresh/default deployment uses native archied, embedded NATS, and managed task containers; external NATS remains the documented advanced broker profile."}}
{"id":"int-af5bde29ff8336b8ef204d395a2c1bf6","kind":"field_change","created_at":"2026-08-24T04:46:55.845209007Z","actor":"Sam Catlow","issue_id":"archie-core-q15y","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"All four execution-topology children are complete: embedded/external NATS now hand full tasks only to managed containers, with no host agent loop."}}
{"id":"int-31d0709485e67c3896872eb134bb1129","kind":"field_change","created_at":"2026-08-24T05:19:34.093642376Z","actor":"Sam Catlow","issue_id":"archie-core-ite6","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Completed; reconciled with the already-closed GitHub issue."}}
{"id":"int-776a5af38d02b14950152fe8829a3f48","kind":"field_change","created_at":"2026-08-24T05:19:34.146183867Z","actor":"Sam Catlow","issue_id":"archie-core-5bsf","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Completed; reconciled with the already-closed GitHub issue."}}
{"id":"int-46674d25397d4bb87c4f75e87a2f5f51","kind":"field_change","created_at":"2026-08-24T06:58:28.955164993Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented in 5c4b599 (feat(nats): expose embedded broker to managed workers); per-start token, Docker bridge binding, frozen worker env. Verified landed on main."}}
{"id":"int-4aecc62b26a3df39b17f4682206ec89c","kind":"field_change","created_at":"2026-08-24T06:58:29.426080813Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.2","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented in 7d69001 (fix(daemon): require full-task worker handoff); daemon.process parks instead of running locally. Verified: no workflow.Run in internal/daemon non-test code, enforced by daemon/architecture_test.go:75."}}
{"id":"int-e4a1c857586c68f78bd3f5d6874d7dcc","kind":"field_change","created_at":"2026-08-24T06:58:29.896805082Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.3","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented in 157e99b (refactor(agentexec): remove legacy execution paths); [agent] is decode-only. Verified: no SubprocessRunner/inprocess symbols in non-test code."}}
{"id":"int-f1e577ee35b687a0617cdad26cb580c7","kind":"field_change","created_at":"2026-08-24T06:58:41.632146038Z","actor":"Sam Catlow","issue_id":"archie-core-q15y.4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented in c978f10 (feat(deployment): default to managed NATS workers). Verified: no agent.mode/inprocess remains in install.sh, deployments/*.toml or config.example.toml; deployment_contract_test.go added to enforce it."}}
{"id":"int-56bcf976359c43a00dc3757fc89078cf","kind":"field_change","created_at":"2026-08-24T06:58:42.063215911Z","actor":"Sam Catlow","issue_id":"archie-core-q15y","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All four children landed across 5c4b599, 7d69001, 157e99b, c978f10. Autonomous workflows now have exactly one production path: full-task core-NATS handoff to a task-scoped archie-agent container."}}
{"id":"int-8edf22bd0458137fd91f3b80d4acb4af","kind":"field_change","created_at":"2026-08-24T06:59:21.301579884Z","actor":"Sam Catlow","issue_id":"archie-core-mzok","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Already fixed on main: session_store_sqlite_claimturn_race_test.go now runs the 100 trials serially (two stores racing one turn ID per trial) with bounded SQLITE_BUSY retries, instead of 200 concurrent claims. Verified: -count=3 passes."}}
{"id":"int-971aed43b8a5636652250beff7c51699","kind":"field_change","created_at":"2026-08-24T06:59:22.444580557Z","actor":"Sam Catlow","issue_id":"archie-core-bia3","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Already fixed on main: BasePlatformAdapter has zero references repo-wide, adapter_capabilities.go + tests stand alone. Verified: go build ./... clean, gateway capability tests pass."}}
{"id":"int-bd4e16b5b180296dfc959ceeb82e8ce5","kind":"field_change","created_at":"2026-08-24T06:59:35.171117421Z","actor":"Sam Catlow","issue_id":"archie-core-hqst","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Resolved on main: persistent_runner.go no longer imports encoding/json and TestApplicationOwnsNoTransportWireMechanics passes."}}
{"id":"int-e986333daa22fff3786fb38b392c5b7c","kind":"field_change","created_at":"2026-08-24T06:59:57.951926691Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.1","extra":{"field":"status","new_value":"closed","old_value":"open","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."}}
{"id":"int-bc056d31eee686ce6433448b42fd29ea","kind":"field_change","created_at":"2026-08-24T06:59:58.40724543Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.2","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed on main: Manager.Dir base64url-encodes owner and repo as separate path components (worktree.go:66-70), so a-b/c and a/b-c no longer collide. legacyDir+migrateLegacy migrate old flattened dirs only on exact origin match. Package tests pass."}}
{"id":"int-2247890b19ea11880354613831bb67e9","kind":"field_change","created_at":"2026-08-24T07:00:22.696171953Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed on main: prepared-worktree refresh now returns the resolveBase error instead of swallowing it (worktree.go:253-258, 'a missing base is configuration or repository drift and must fail closed'); resolveBase tries the qualified remote ref then origin/<base> and errors otherwise."}}
{"id":"int-93f6e8c3fbaae2a327aab94b82c2df56","kind":"field_change","created_at":"2026-08-24T07:00:28.838440356Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed on main: patch() now errors with 'no common ancestor' when MergeBase returns no bases (worktree.go:498-501) instead of falling back to a direct tree diff, so Diff/ChangedFiles/ChangedLines all fail closed on unrelated histories."}}
{"id":"int-fe81497a545158a0c954b4548631633f","kind":"field_change","created_at":"2026-08-24T07:12:05.178596666Z","actor":"Sam Catlow","issue_id":"archie-core-h019.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"One-page decision written at docs/prds/adversarial-self-review.md: reviewer runs in a second workspace (container or in-process) pointed at a .git-stripped snapshot of the reviewed commit, never the implementer's worktree; findings contract is workflow.ReviewFinding, owned by internal/domain/workflow, reported via a structured capture tool; a surviving error-level finding sets StatusParked (not WaitingHuman -- epic wording named two different states, this resolves which); model/effort reuse the existing Models[role] map and per-stage budget override, gated by a new opt-in Repo.ReviewEnabled so h019.4 doesn't gate every repo on an uncalibrated reviewer before h019.5 lands. [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-42343a99009cf6873fce96a2c82ba389","kind":"field_change","created_at":"2026-08-24T07:12:06.369962622Z","actor":"Sam Catlow","issue_id":"archie-core-7d5u.5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Investigated first: the dedup mechanism (TaskEnvelope.IdempotencyKey + PublishUnique + JetStream Nats-Msg-Id dedup) and the shared dispatch predicate were already fully wired by 7d5u.4 -- no double-dispatch code change was needed. Closed the two real gaps: (1) internal/infrastructure/eventbus/nats/dedup_test.go is a new regression test proving PublishUnique actually suppresses a duplicate publish on the same WorkQueuePolicy stream ARCHIE_TASKS uses in production; (2) internal/forge/webhook/receiver.go gained Status()/GET support tracking authenticated deliveries vs successful publishes separately, so a wedged or non-delivering receiver is observable rather than indistinguishable from an idle repo. AC's poll/webhook parity clause (disabling webhook still polls) is satisfied architecturally with no code change possible to violate it -- verified Cycle()/Run() never reference cfg.Forge.Intake anywhere in internal/daemon; only setupForgeWebhook in cmd/archied/bootstrap.go gates the webhook HTTP server. Adversarial review pass (fresh subagent, -race) found zero blocking issues; closed two minor coverage gaps it flagged. [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-803c42454dcc93825d57fd64b06290c1","kind":"field_change","created_at":"2026-08-24T07:12:06.82962997Z","actor":"Sam Catlow","issue_id":"archie-core-1786637492559-106-5ea2315d","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented code-fence-aware Telegram message splitting with bounded continuation handling and regression coverage [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-fca467b0bda953484c17e18918362f38","kind":"field_change","created_at":"2026-08-24T07:12:07.207279124Z","actor":"Sam Catlow","issue_id":"archie-core-ippu","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: TurnRecord now persists tool-call activity alongside ResponseText; the completed-duplicate replay path replays it via stream.ToolCall before the text. Prior-reply fallback documented as deliberately text-only (crash race with no persisted tool record). Commit 86a9731, task check clean, adversarial review clean (0 findings). [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-ce49b4bfa7a9309c5e026b93ba263851","kind":"field_change","created_at":"2026-08-24T07:12:07.588050015Z","actor":"Sam Catlow","issue_id":"archie-core-1786637493205-131-a3dd2b53","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-5f3c3d77e64802ed75d947560e23cb81","kind":"field_change","created_at":"2026-08-24T07:12:08.005056434Z","actor":"Sam Catlow","issue_id":"archie-core-j8b4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented persistent session transcript, cross-session memory, and staged plugin storage [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-9ecea248febfdd7956009b66fe4aa150","kind":"field_change","created_at":"2026-08-24T07:12:08.400878511Z","actor":"Sam Catlow","issue_id":"archie-core-qk8m","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: MCP npm servers for per-task containers now reuse a persistent npm cache. Added mcp.NpmCacheEnv (shared with the daemon-side fix), an always-on archie-cache-mcp-npm Docker volume mounted at /data/cache/mcp-npm on every task container regardless of ecosystem, and wired it into internal/app/agentworker/mcp_providers.go's stdio transport construction. Adversarial review found zero surviving findings. [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-74c9b16831b72e7c2a39ff730de4c107","kind":"field_change","created_at":"2026-08-24T07:12:08.802194791Z","actor":"Sam Catlow","issue_id":"archie-core-azbo","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Removed the unwired BasePlatformAdapter, SendResult, ChatInfo, and their test-only stub. CapabilitiesOf is absent from the current checkout/history. Gateway and worktree tests pass. task check passes all packages except the pre-existing tracked agentworker architecture failure archie-core-hqst. [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-a97be73b9145b6d78b9f80e2b116bf0f","kind":"field_change","created_at":"2026-08-24T07:12:09.224403876Z","actor":"Sam Catlow","issue_id":"archie-core-1786637493329-136-49b39c78","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Media portion delivered: gateway.MediaSender + telegramMediaSender + TurnStream.Media wiring in Telegram's liveReply. Typing/edit/delete indicators from this issue's original scope are NOT done -- splitting them out if still wanted, since they're unrelated to the video-gen work that drove this. [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-daf488dc4ef11bf278e406e5d65c4a48","kind":"field_change","created_at":"2026-08-24T07:12:09.625994864Z","actor":"Sam Catlow","issue_id":"archie-core-3ghy","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Shipped and verified: task check equivalent (fmt/vet/build/test/lint) is clean across every touched package, red-then-green throughout. See the issue description for what's in scope and what's explicitly deferred. [Closure restored 2026-08-24: originally closed 2026-08-22, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-2dac3657dabd2829e5a24e6c0e5bf671","kind":"field_change","created_at":"2026-08-24T07:12:10.060099361Z","actor":"Sam Catlow","issue_id":"archie-core-1786748942540-18-9af78536","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Deprioritized: prompt-level fix landed in fba80e3 (archie-core-3jag/GH#524) covers the general overconfidence pattern. Not worth mechanical enforcement (postcondition checks, tool-result verification) unless this recurs — revisit with stronger prompting first if it does. [Closure restored 2026-08-24: originally closed 2026-08-23, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-77e557b6a8cbb8b826dcf400ee419b39","kind":"field_change","created_at":"2026-08-24T07:12:10.478442214Z","actor":"Sam Catlow","issue_id":"archie-core-w35v","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: themed .wf-form input/select/textarea in workflows.css to match the dark theme. [Closure restored 2026-08-24: originally closed 2026-08-23, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-cdec894a69ee94b7a0011cf0bb06683d","kind":"field_change","created_at":"2026-08-24T07:12:10.913658383Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: archie-agent's build is now stamped (installtype + agentworker.Version), and it reports both back to the daemon in every taskrun.Response. daemon.AgentStatus records the latest observation; daemonRunningVersions includes the agent component once one lands. Adversarial review clean (one nice-to-have comment added). [Closure restored 2026-08-24: originally closed 2026-08-23, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-765118ce3cf8f020020fcd8ef76879e5","kind":"field_change","created_at":"2026-08-24T07:12:11.379239858Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0.2","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: Component gained InstallType/Reference, populated via Service.Enrich from installtype.Type() (daemon), observed AgentStatus (agent), and [nats] config (third-party). Adversarial review clean (one lint-consistency nit fixed: use config.NATSMode* constants instead of raw strings). [Closure restored 2026-08-24: originally closed 2026-08-23, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-4cf7ad8912f5fbf96dd4111ba46d9f9a","kind":"field_change","created_at":"2026-08-24T07:12:11.82615813Z","actor":"Sam Catlow","issue_id":"archie-core-1786751948782-3-837a8fd0.3","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: GET /api/version + Configuration-page 'Update status' card, sourced from the InstallType/Reference/RunningVersions plumbing landed in .1/.2. Adversarial review found one real bug (Installed=='' with Available set incorrectly returned update_available instead of unknown) and one test gap (present-but-empty running-version map entry) -- both fixed, tests added, all green. [Closure restored 2026-08-24: originally closed 2026-08-23, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-24dfa19bb0c13eba84871d83d412520b","kind":"field_change","created_at":"2026-08-24T07:12:12.273422399Z","actor":"Sam Catlow","issue_id":"archie-core-dfck","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"SDK v0.1.22 provides one bounded forced-finish recovery; Archie opts in through InProcessRunner. Focused test, task check, module verification, and independent adversarial review passed. Re-verified 2026-08-24: the opt-in moved from the deleted InProcessRunner to agentexec.NewLoopRunner (loop_runner.go:106 CompletionForceFinish), which is what the archie-agent worker constructs; ai-sdk still v0.1.22. [Closure restored 2026-08-24: originally closed 2026-08-24, lost when the beads DB was rebuilt (.beads.backup-pre-recovery).]"}}
{"id":"int-33653ae0f02479da575ee2b075218ac6","kind":"field_change","created_at":"2026-08-24T07:59:38.613969236Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.7","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}}
{"id":"int-e5c0464ce6117a2013ccdccf67829c46","kind":"field_change","created_at":"2026-08-24T08:15:46.802569084Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.6","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: recordUpstream extracted from Push (worktree.go:465); a post-publication config failure is now a logged warning and Push returns success once the remote ref is published. Manager gained an optional Log field with a slog.Default() fallback. Verified by inspection rather than a red run -- the test uses the new Log field so it cannot compile against the pre-fix code. task check green; fresh adversarial review (independent, did not write the code) zero findings."}}
{"id":"int-07bcd93041cf024404279b55497e4f4a","kind":"field_change","created_at":"2026-08-24T08:15:48.462601908Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: CommitAll now takes a live context and checks ctx.Err() before open, worktree, staging, status and commit (worktree.go:398-430), so a pre-cancelled context mutates neither index nor HEAD. Proven red against pre-fix code: 'CommitAll() error = nil, want context canceled' for both a cancelled context and an expired deadline. task check green; fresh adversarial review zero findings."}}
{"id":"int-997fffb13822c36e05730e69110d7602","kind":"field_change","created_at":"2026-08-24T08:15:48.90789093Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Fixed: precedence is now title-first via parseTitlePrefix with a labels fallback and 'feat' default; the strings.TrimSuffix(prefix, \"\") no-op is gone; the dead body parameter is removed from archieBranch and its call site (worktree.go:131); branchSlug's doc now says 60, matching the implementation. go fix later modernised parseTitlePrefix to strings.Cut -- verified equivalent (Cut splits on the first separator; ok mirrors idx != -1). Verified by inspection rather than a red run, since the signature change prevents compiling the tests against pre-fix code. task check green; fresh adversarial review zero findings."}}
{"id":"int-01f64138504555374b1349cc30e94c40","kind":"field_change","created_at":"2026-08-24T08:15:59.810530521Z","actor":"Sam Catlow","issue_id":"archie-core-1ysw","extra":{"field":"status","new_value":"closed","old_value":"open","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."}}
{"id":"int-df896cababb907b14b094c56b928ebd3","kind":"field_change","created_at":"2026-08-24T09:15:55.715496686Z","actor":"Sam Catlow","issue_id":"archie-core-h019.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented: workflow.ReviewFinding + ReviewReport in internal/domain/workflow/review_findings.go, merged 53bb841. The domain owns the type; gate.Finding was used as a shape precedent only, not reused, so the review contract is not coupled to the Yaegi gate's evolution. Blocking requires Verdict==confirmed AND Level==error, so a PLAUSIBLE finding never blocks however severe it claims to be. ReviewStatus makes 'ran and found nothing' structurally distinct from 'never ran' -- Passed() is false for a zero-value report, and the distinction does not rest on nil-vs-empty-slice. JSON round-trip covered; Line 0 is preserved (no omitempty) for whole-file findings. Review found and fixed a duplicate package doc comment and a redundant ReviewBlocking/BlockingReviewFindings alias pair. task check green. Fresh adversarial review clean across 8 dimensions; I independently mutation-tested the blocking rule: dropping the verdict check fails 5 tests (incl. plausible_error_MUST_NOT_block) and dropping the level check fails 5 more, so the tests genuinely pin both halves."}}
{"id":"int-bc45db099eb63b2e22f27449984fd770","kind":"field_change","created_at":"2026-08-24T15:42:47.277649102Z","actor":"Sam Catlow","issue_id":"archie-core-0dic","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Closed"}}
{"id":"int-6ef69a7ebb781fb99529e52ef038cdaf","kind":"field_change","created_at":"2026-08-24T15:43:19.639842603Z","actor":"Sam Catlow","issue_id":"archie-core-absb","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"send_file tool plus upload-by-reader delivery; commit 9a45fbb"}}
{"id":"int-fd47d92bec50df8b1766cccc3d17ca82","kind":"field_change","created_at":"2026-08-24T17:00:21.332713238Z","actor":"Sam Catlow","issue_id":"archie-core-b7f1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented UUIDv7 identities, replayable archived chat tool activity, and post-start update report delivery; full quality gate passes."}}
{"id":"int-69455e46e4de1e58cef4cdc6a124ca5f","kind":"field_change","created_at":"2026-08-24T17:19:41.905294834Z","actor":"Sam Catlow","issue_id":"archie-core-4tye","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented, regression-tested, full task check passed, and adversarial review finding resolved."}}
{"id":"int-084477087493b06c289d87dfc319c6d3","kind":"field_change","created_at":"2026-08-24T17:19:41.96078947Z","actor":"Sam Catlow","issue_id":"archie-core-y1hv","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented, regression-tested, full task check passed, and adversarial review finding resolved."}}
{"id":"int-9de2b83189f32eec56dd588dd4b1c439","kind":"field_change","created_at":"2026-08-24T17:28:38.936618176Z","actor":"Sam Catlow","issue_id":"archie-core-15iq","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented with regression coverage, full task check passing, and adversarial review clean."}}
{"id":"int-45a964f90a687ff51f5d7678683f2706","kind":"field_change","created_at":"2026-08-24T17:28:38.999458853Z","actor":"Sam Catlow","issue_id":"archie-core-473l","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented with regression coverage, full task check passing, and adversarial review clean."}}
{"id":"int-208089f7a06402742d9c8765472ed479","kind":"field_change","created_at":"2026-08-24T17:55:34.430893806Z","actor":"Sam Catlow","issue_id":"archie-core-jy5m","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Task timelines now render stage/retry context; baseline and gate-cycle logs expose useful bounded failure output. task check and independent review pass."}}
{"id":"int-196298a33f71370a0a0c538590985b53","kind":"field_change","created_at":"2026-08-24T19:48:32.993325535Z","actor":"Sam Catlow","issue_id":"archie-core-n5sr","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}}
{"id":"int-574291f5bd917eaf7b78056b15abffcb","kind":"field_change","created_at":"2026-08-24T19:48:34.38833081Z","actor":"Sam Catlow","issue_id":"archie-core-nq0c","extra":{"field":"status","new_value":"closed","old_value":"open","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."}}
{"id":"int-b91d5f4013ec1fde90a34b440e87b986","kind":"field_change","created_at":"2026-08-24T19:48:34.825217514Z","actor":"Sam Catlow","issue_id":"archie-core-z0u8","extra":{"field":"status","new_value":"closed","old_value":"in_progress","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."}}
{"id":"int-77c23261cb5fd1c2881ff882de56d86e","kind":"field_change","created_at":"2026-08-25T15:05:23.948131293Z","actor":"Sam Catlow","issue_id":"archie-core-p1bl","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Shipped in 6a23f8d: logging resolves every non-nil error attribute through Error(), with custom unexported-field and typed-nil regression coverage; included in archied v1.18.0."}}
{"id":"int-ff379eca588df2a11fc3bf5121a7cc18","kind":"field_change","created_at":"2026-08-25T15:05:25.362400545Z","actor":"Sam Catlow","issue_id":"archie-core-440c","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shipped in 16f9456: explicitly configured trusted forwarded headers drive effective Origin validation, with direct/proxied/spoofed regression coverage; included in archied v1.18.0."}}
{"id":"int-d61ab877d6ab666df299085a52ca1c75","kind":"field_change","created_at":"2026-08-25T16:02:24.011512716Z","actor":"Sam Catlow","issue_id":"archie-core-vq92","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"task_logs cursor pagination, level/time filters, and honest truncation reporting"}}
{"id":"int-6578329d076c7da3806f4c446f2dfe20","kind":"field_change","created_at":"2026-08-27T14:31:41.48495579Z","actor":"Sam Catlow","issue_id":"archie-core-1786637489932-6-1f803e02","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Wired GET /api/curators (names, health, last-run, recent actions) backed by a new bounded in-memory activity tracker in internal/domain/curator, plus a Curators dashboard page at ui/src/curators/."}}
{"id":"int-ca5043a35866779a1ff6969afe4b98d3","kind":"field_change","created_at":"2026-08-28T10:59:18.865497151Z","actor":"Sam Catlow","issue_id":"archie-core-1786637496320-249-be6d9a20.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Slice 1 of cron/scheduling epic landed: per-profile JSON store with cross-process flock, merge-semantic Update, version-stamped schema, ErrCorruptFile on truncated files, ErrUnsupportedSchema on forward versions. Implements scheduling.JobSource so the ticker engine can poll it without knowing the file layout. Adversarial review applied: deep-copy Get/List, pool validation in Create/Update, ErrScheduleUnsupported on Once MarkRun, 0o600 file mode, SetEscapeHTML(false) for operator-readable files, fsync before rename for durability, ErrClosed sentinel after Close, real cross-process flock test via os/exec. task check green."}}
{"id":"int-2cfa12d6d6ab2555475033ca3c3d4a48","kind":"field_change","created_at":"2026-08-31T10:03:46.34399459Z","actor":"Sam Catlow","issue_id":"archie-core-bas7","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Added missing test + CLAUDE.md reference to ARCHITECTURE.md#plugin-engine-rule-strict"}}
{"id":"int-4ed850ca96fe030bea8ccc85ffb14dd6","kind":"field_change","created_at":"2026-08-31T10:04:10.364314672Z","actor":"Sam Catlow","issue_id":"archie-core-1sjk","extra":{"field":"status","new_value":"closed","old_value":"open","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"}}
{"id":"int-1c8f871a9893894d6a38b38a8cdc4dc5","kind":"field_change","created_at":"2026-08-31T10:04:52.887508436Z","actor":"Sam Catlow","issue_id":"archie-core-2tqh","extra":{"field":"status","new_value":"closed","old_value":"open","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"}}
{"id":"int-f073a26e120e051d468475af5b40944f","kind":"field_change","created_at":"2026-08-31T10:05:31.24577816Z","actor":"Sam Catlow","issue_id":"archie-core-zq4l","extra":{"field":"status","new_value":"closed","old_value":"open","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"}}
{"id":"int-3efcffdcd23615693655eca568c69456","kind":"field_change","created_at":"2026-08-31T10:05:53.315558477Z","actor":"Sam Catlow","issue_id":"archie-core-0bvr","extra":{"field":"status","new_value":"closed","old_value":"open","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"}}
{"id":"int-864ce794c14f56fd0c16c4502c964c4b","kind":"field_change","created_at":"2026-08-31T10:06:41.867659939Z","actor":"Sam Catlow","issue_id":"archie-core-tnsr","extra":{"field":"status","new_value":"closed","old_value":"open","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"}}
{"id":"int-63772b74965b7fe43a50198a54f568d8","kind":"field_change","created_at":"2026-08-31T10:09:58.63859751Z","actor":"Sam Catlow","issue_id":"archie-core-p3wt","extra":{"field":"status","new_value":"closed","old_value":"open","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."}}
{"id":"int-9eeadba2e982ae4000e6dd37aaea420e","kind":"field_change","created_at":"2026-08-31T10:10:50.270527399Z","actor":"Sam Catlow","issue_id":"archie-core-d66k","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Added internal/gateway, internal/tools, internal/memory, internal/secret, internal/plugin, internal/skill to ARCHITECTURE.md Package Map with LOC and role descriptions"}}
{"id":"int-f575951da73a5707c81493b368531413","kind":"field_change","created_at":"2026-08-31T10:12:25.271511127Z","actor":"Sam Catlow","issue_id":"archie-core-g1y3","extra":{"field":"status","new_value":"closed","old_value":"open","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."}}
{"id":"int-d6e7e2aa2c469fd389151e0202b5a036","kind":"field_change","created_at":"2026-08-31T11:27:14.46134892Z","actor":"Sam Catlow","issue_id":"archie-core-kg1w","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Extracted the full cmd/archied wiring package into internal/app/archied (matching the sibling internal/app/agentworker pattern); cmd/archied/main.go is now 18 lines (codesearch-helper dispatch + call into archied.Run()). Fixed two architecture tests still hardcoded to the old cmd/archied path. task check passes clean."}}
{"id":"int-d9b75b37f0500c88f598cd75d42bba9d","kind":"field_change","created_at":"2026-08-31T11:27:20.577217872Z","actor":"Sam Catlow","issue_id":"archie-core-k7y7","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Raised coverage: workintake 14.3%->94.6%, secret/enginehost 0%->100%, secret/secretextract 10%->100%, forge 36.1%->77.0%, natsrpc 28.3%->91.3%. Committed as bc5b355."}}
{"id":"int-23a20b34ab857979d0935531ac8483b7","kind":"field_change","created_at":"2026-08-31T11:36:16.676339656Z","actor":"Sam Catlow","issue_id":"archie-core-agui","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"All 31 original findings (5 cyclop, 9 gocognit, 1 gocyclo, 2 nestif, plus incidental funlen) resolved via targeted extraction across tools/builtin, gateway, workflow, webui, telegram, cronstore, tomlwrite, agentexec. Remaining 6 lint findings (containedctx/errorlint/noctx/staticcheck) were never part of this bead's scope."}}
{"id":"int-659ff8bb1ef5160f8bc3f1e3f31d3d75","kind":"field_change","created_at":"2026-08-31T11:51:41.85053027Z","actor":"Sam Catlow","issue_id":"archie-core-h019.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Implemented as agent.Subagent inside the task-scoped archie-agent worker (internal/app/agentworker/review.go). Conversation isolation is structural (Subagent.Run only sends a prompt, never message history -- verified against a fake chat.Provider). Workspace isolation via new worktree.Manager.Snapshot (.git-free export of HEAD's tracked files into a scratch dir beside the task worktree). Reviewer's toolset is read-only (read/grep/find) rooted at the snapshot, never the worker's own toolset -- verified as a construction fact that the toolset contains no write/edit/shell tool and cannot read outside the snapshot dir. Findings captured via a typed record_finding tool appending to a slice the stage owns, surviving a Subagent.Run error when findings were already captured."}}
{"id":"int-b0d4496e53ae09d1926495a2215fff13","kind":"field_change","created_at":"2026-08-31T11:51:43.090585774Z","actor":"Sam Catlow","issue_id":"archie-core-h019.4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"StageReview wired into the implement workflow between StageDiffCap and StageOpenPR. Fail-closed: not-run or a confirmed error-level finding parks (store.StatusParked) with findings in Detail; warn/plausible findings never block. Inert unless Repo.ReviewEnabled (new config field, default false); Models[\"reviewer\"] falls back to Models[\"builder\"]. task check clean, golangci-lint clean. Committed 8db8a17."}}
{"id":"int-bdb049c55a0a716a843b41f25c644bd7","kind":"field_change","created_at":"2026-09-01T15:18:56.663403225Z","actor":"Sam Catlow","issue_id":"archie-core-atv2","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Fixed: stopRendering now marks the reply finalized, and appendFallbackLine sends a standalone follow-up message instead of writing into a dead render buffer. Covered by TestLiveReplyMediaFallbackAfterFinalizeSendsFollowUp."}}