sam
|
712388dc6c
|
fix: Phase 4 structural refactor — reduce lint findings from 28 to 5
cyclop (5→0): extract subcommand/case bodies in codesearch,
subprocess, Telegram, indexing
funlen (5→3): extract memory action handlers, tool provider startup
gocognit (7→2): extract config finalize/loadDirInto helpers, release
announcer, capture tool validation, Telegram gateway (200→108),
archie-agent main loop (35→0)
nestif (8→0): extract identity validation, container validation,
conf.d scanning, email multipart parsing, Telegram model/update
parsing, build-no-changes closure
interfacebloat (3→0): split Forge/IssueForge/PRForge/RepoForge,
SessionStore/SessionLifecycle/MessageHistory,
TaskStore/TaskLifecycle/TaskQueries/TaskEvents
Remaining: daemon process, workflow Feasibility/TDD/AgentStage,
archied main.go run (108→30 remaining). These require deeper
refactoring best done per-function in follow-up beads.
Updated contract tests and archied wiring tests to check both
main.go and the new telegram_setup.go.
|
2026-07-29 10:15:22 +10:00 |
|
sam
|
52cc8f8a14
|
feat: memory P1 — sync pipeline, prefetch, notify, frozen snapshot, threat scanning, shutdown drain (18.7-18.9, 18.14-18.16)
sync.go — background serialized writer (single goroutine) for async
memory writes. Prefetch with 8s timeout per provider.
scanner.go — threat pattern scanning for memory content.
manager.go — notify_memory_tool_write bridging built-in writes to
external providers. Shutdown drain with 5s timeout.
All 6 impl + 6 verify beads closed. Memory epic complete.
|
2026-07-26 09:22:12 +10:00 |
|