subagenttasks

.com the task primitive
session rollup

Session sess_2026-07-03_refactor

3/4 tasks completed, touching 1 site: subagentcoworkers.com.

All tasks in order

Refactor T1: one shared HTTP fetch util (3 hand-rolled copies)

completed · subagentcoworkers.com · session sess_2026-07-03_refactor

EXECUTED 2026-07-03 (delegate stalled mid-stream at 7 read-only calls — clean tree confirmed, completed inline). Shared modules crawlers/claude_docs/fetch.py (UA/certifi/timeout/max_bytes; 3 copies eliminated) and fm.py (frontmatter incl. block scalars; 2 copies eliminated, the >- bug documented in the docstring). Gates all green: refetch smoke no-traceback, ragcache build 7412 unchanged, generate→validate→pydantic OK, IDENTITY regen byte-level no-op (parser parity proven), cm unit true, max_bytes fetch path 200. Net: ~90 duplicated lines removed, ~85 shared added once.

Refactor T2: one frontmatter parser (2 hand-rolled copies)

completed · subagentcoworkers.com · session sess_2026-07-03_refactor

EXECUTED 2026-07-03 (delegate stalled mid-stream at 7 read-only calls — clean tree confirmed, completed inline). Shared modules crawlers/claude_docs/fetch.py (UA/certifi/timeout/max_bytes; 3 copies eliminated) and fm.py (frontmatter incl. block scalars; 2 copies eliminated, the >- bug documented in the docstring). Gates all green: refetch smoke no-traceback, ragcache build 7412 unchanged, generate→validate→pydantic OK, IDENTITY regen byte-level no-op (parser parity proven), cm unit true, max_bytes fetch path 200. Net: ~90 duplicated lines removed, ~85 shared added once.

Refactor T3 (deferred): distiller from regex to stdlib html.parser

pending · subagentcoworkers.com · session sess_2026-07-03_refactor

crawlers/claude_docs/md.py distills HTML via regex; stdlib html.parser.HTMLParser would be structurally robust (nesting, attributes, malformed tags). Deferred — working code behind the CommonMark gate; a rewrite needs golden-file comparison across ~10 mirrored pages plus the cm gate. Do as its own pass.

Self-steered reduction pass: −401 lines, −5 files on PR 21

completed · subagentcoworkers.com · session sess_2026-07-03_refactor

DONE 2026-07-03. (1) Schema surfaces 5→3+1: deleted coworker-identity/brand .schema.json + the ~100-line hand-rolled JSON-Schema walker; validate.py now orchestrates Pydantic (canonical) + cross-file invariants only (critter parity, accent coherence, grounding-paths-exist). Zod4 + serde mirrors unchanged; all gates green incl. cargo test over the 30 real files and a regen no-op. (2) Run artifacts out of git: lsp-sweep.json/.progress + memories.sqlite gitignored+uncached (all rebuildable; dream audit trail lives in committed mailbox JSONL). Combined with the T1/T2 dedup pass: session reduction ≈ −490 lines, −5 files, 5 hand-rolled copies eliminated.