Commit Graph

417 Commits

Author SHA1 Message Date
shitratgit[bot] 80639a382a fix: bound flowing capture and retire old memory surfaces 2026-08-25 07:22:16 +00:00
shitratgit[bot] 2784467284 feat: run agent-secrets as joelclaw service account 2026-08-18 19:40:40 +00:00
shitratgit[bot] 2a3d333ae5 fix(gateway): use launchd user domain 2026-08-11 18:59:49 +00:00
shitratgit[bot] 272cff0ae1 fix(herdr): isolate system automation session 2026-08-11 03:53:15 +00:00
shitratgit[bot] eeceffd7a3 fix(gateway): pin local message event stream 2026-08-05 22:12:57 +00:00
shitratgit[bot] bbfa90db04 fix(gateway): replace stalled and invalid agent sessions 2026-08-05 16:48:29 +00:00
shitratgit[bot] b739996b0e fix(infra): native typesense snapshots, convex LAN forwarder, MTU 8192 receipts 2026-07-31 13:23:36 -07:00
shitratgit[bot] b3149dc226 fix(memory): decouple capture auth from Typesense 2026-07-29 17:22:13 -07:00
shitratgit[bot] 9f82eb32a0 gateway incident latch — telegram-quiet step
New @joelclaw/gateway-incident-latch reconstructs (source, anomalyId)
incident state from canonical gateway.decision.recorded receipts; Redis
out of the truth path. Stream tool rewrites incident-tagged decisions:
opens deliver + aggregate, identical repeats join, one material change
per PT day, resolution close-delivers once, reopens link follows.
Producer contract documented in docs/gateway.md + messaging skill.
Audited pulse replay: 15 DMs (12 transitions + 3 digests) from 42
inputs. 45 tests re-run green by steering; companion joelclaw-api
boundary change committed separately.
2026-07-29 16:03:35 -07:00
shitratgit[bot] 6b97d93e42 docs: messaging skill + gateway/cli docs teach the agent comms gateway contract 2026-07-21 14:24:27 -07:00
shitratgit[bot] 61422de8de agent-comms-gateway: land priority-lane stash + stream seams (readSince pagination, typed gateway events) — 2 steps closed 2026-07-21 12:30:02 -07:00
shitratgit[bot] 4bfdcc0ee5 docs: explain gateway lifecycle relaunch marker 2026-07-20 01:44:40 +00:00
shitratgit[bot] 67636b707f fix: make Flagg headless runtime boot-safe 2026-07-19 23:42:13 +00:00
Joel Hooks 7e9d556dee feat: gateway doctor — health, restart, and delivery truth in one obvious command
joelclaw gateway doctor prints PASS/FAIL for daemon (with crash-relaunch
detection against an operator restart marker), live gateway source
CLEAN/DIRTY (a running daemon plus dirty source is today's outage), and
transport state; --live proves delivery with a real probe that must
return a Telegram platformMessageId — confirmed telemetry alone fails.
Every FAIL prints its exact remediation command. gateway restart writes
the marker and ends with the doctor summary.
2026-07-19 13:13:37 -07:00
shitratgit[bot] 1442b1da7a merge: land panda's parked commits — o11y triage fix + brain-joel Slack link capture
Panda's main diverged with two Joel-authored commits from mid-June that
never got pushed:
- 9bba6d72 fix o11y triage classifier JSON parsing + parse contract tests
- 70434b60 auto-capture #brain-joel Slack links into discovery/noted

The triage fix merged clean. The Slack capture was written against the
legacy channels/slack.ts that the messaging-v2 cutover replaced; its
feature block (URL extraction + discovery/noted emit, gated to Joel in
BRAIN_JOEL_CHANNEL_ID) is grafted into slack-runtime.ts, modernized to
use loadGatewayInngestEventConfig instead of hardcoded env fallbacks.

tsc clean; 60 tests green (triage contract tests + chat-sdk + inbound);
biome clean. Landing this makes panda's local main an ancestor of
origin/main so panda reconciles with a plain fast-forward.
2026-07-18 18:33:36 -07:00
Joel Hooks 997275cce6 memory: retire legacy stack + system log — one migration
joelclaw recall and voice recall now answer from Brain/observation
stores (19 tests). memory_observations archived to NAS (28,050 docs,
238MB, sha d2f3038d, verified) and dropped. Zombie functions
(reflect/review-promote/proposal-triage/batch-review) unregistered and
deleted with the MEM/FRIC suites (-6,306 lines). System log retired:
panda copy snapshotted (3,981 lines, sha 4e8e815d), slog write path /
system-logger / sync + backup + PDS mirror removed. Per decisions
decide-legacy-memory-retirement + decide-system-log-home.
2026-07-17 17:00:29 -07:00
shitratgit[bot] 599db56373 refactor(gateway): remove legacy Telegram and Slack owners 2026-07-17 17:00:29 -07:00
Joel Hooks d1d64382db fix: work-state pass reconciles delivered reservations before re-waking
Expired wake reservations now check Redis for the delivery event id;
actually-queued wakes flip to notified instead of firing again — closes
the crash-after-send window without a duplicate DM.
2026-07-17 10:41:54 -07:00
Joel Hooks 92a35d4887 feat: slack-work-state-pass — hourly live sweep, pages + state-change wakes
Dedicated Inngest cron (17 * * * *) on the host worker: bounded live
conversations.history sweep per allowlisted channel (cc-matt-p +
brain-joel), non-Joel human roots classified untagged/started/shipped
from Joel's root reactions — Slack stays the only store. Finding runs
write one sensitive observation page (no message bodies); wakes fire
only on state transitions via joelclaw notify --event-id with 7-day
Redis dedup. Funnel: scripts/work-state-pass-funnel.ts. Seeded proof
01KXRGVJD5JPS8JGH95JP7PJSN (page + one wake), live run proved zero
repeat wakes. Closes the slack-work-state brief — all steps done.
2026-07-17 10:31:31 -07:00
Joel Hooks 85fe954c2b cutover daemon wiring (handover composition the live gateway is running — belated to main) + messaging v2 docs: AGENTS/architecture/cli/gateway/sdk updated, canonical skills/messaging added
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 15:44:28 -07:00
shitratgit[bot] 4433b98cf9 infra: ClickHouse access-control cutover (prepared, not applied)
Scoped users.d policy (admin/writer/reader identities), hash-only
secrets, Flagg-local SSH tunnel plist, config templates, and the
runbook with verification + rollback. Verified against a disposable
ClickHouse 24.12 with positive and negative grant probes. Live apply
requires Joel present.

Step: .brain/projects/telegram-signal-system/clickhouse-access-control.svx
2026-07-16 05:27:24 +00:00
shitratgit[bot] 89361a97fb docs(models): describe gpt-5.6-sol pipeline policy 2026-07-13 03:04:43 +00:00
shitratgit[bot] 310871af86 docs(models): describe gpt-5.6-sol gateway primary 2026-07-13 03:04:42 +00:00
shitratgit[bot] 499fc985e4 docs(models): use gpt-5.6-sol in gateway docs 2026-07-13 03:02:23 +00:00
shitratgit[bot] 7acdf2bd09 docs(models): use gpt-5.6-sol in CLI examples 2026-07-13 03:02:12 +00:00
shitratgit[bot] 8e3dae1ec0 feat(fleet): add manifest-driven host status and diff 2026-07-11 02:39:04 +00:00
Joel Hooks 546fd62f0e chore(infra): satellite-rig setup, NAS-by-IP, brain notes, fn registry
Satellite rig runbook/setup hardening, NAS_HOST pinned to LAN IP per
mount contract, agent-mail daemon uv resolution, CLAUDE.md + brain
areas/pipeline notes, and function registry wiring for the new
usage/webhook/backup functions.

"direct exposure and experience, documentation, or a runbook" -- the
three ways knowledge transfers, Observability Engineering, Ch. 11

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 09:29:40 -07:00
Joel Hooks 66d000a1f9 feat(observability): cut OTEL event storage over to ClickHouse
ClickHouse store with durable outbox + forward mode for satellite
workers (OTEL_STORE=forward -> flagg), clickhouse-otel capability
adapters for cli/sdk, backfill script, and cutover runbook. Raw OTEL
stops writing to Typesense; launchd/k8s env updated to match.

"For the observability domain, rows pertain to individual telemetry
events, and columns pertain to the fields or attributes of those
events." -- Observability Engineering, Ch. 16

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 09:28:25 -07:00
shitratgit[bot] aa99bcbe4e docs: capture central topology and operator skills 2026-06-26 08:05:41 -07:00
Joel Hooks 70434b603c Auto-capture Joel's #brain-joel Slack links into discovery/noted 2026-06-19 21:33:05 -07:00
shitratgit[bot] 6b3a1b053c docs: capture central terms and project thread format 2026-06-14 18:45:17 +00:00
shitratgit[bot] 6bebf5b1ae docs: record Chorus Rhizomatic adapter canary 2026-06-14 16:13:59 +00:00
Joel Hooks 9cc02f6e40 Harden satellite bootstrap for flagg repair path 2026-06-07 20:58:55 -07:00
Joel Hooks e8dd96ff18 Capture the satellite rig setup SOP as a joelclaw skill 2026-06-07 20:26:46 -07:00
Joel Hooks bc5738f3e2 Teach satellite bootstrap to source Typesense config safely 2026-06-07 20:02:35 -07:00
Joel Hooks f06501a891 Implement worker-hosted run capture ingest for satellite session hooks 2026-06-07 14:00:35 -07:00
Joel Hooks c03edc5cfb Teach Talon to debounce critical probes and throttle repeated SOS pages 2026-06-05 21:53:56 -07:00
Joel Hooks 1f086cfb2f Teach Talon not to page on normal control-plane taints 2026-06-05 21:27:03 -07:00
Joel Hooks c5be226d48 Teach clawmail launchd to survive git mailbox file descriptor pressure 2026-06-05 19:52:11 -07:00
Joel Hooks fb706134f2 Teach gateway to rotate sessions by restarting into a fresh Pi runtime 2026-06-05 19:39:30 -07:00
Joel Hooks 6c5d2a8e46 Teach joelclaw to recover host Inngest callbacks through connect mode and bounded health gates 2026-06-05 19:29:34 -07:00
Joel Hooks 2bcb15b604 Fix Pi startup warnings by renaming capture-progress and making memory-enforcer session-safe 2026-06-05 11:48:43 -07:00
Joel Hooks 309bff8f13 Add gateway channel CLI toggles and document Discord disable flow 2026-06-01 21:56:02 -07:00
Joel Hooks 43657c5b7a Teach discovery capture to survive note generation timeouts 2026-05-31 21:03:01 -07:00
Joel Hooks e7dd817d69 Make conversation enrichment and memory batch review fail open during post-reboot health checks 2026-05-30 20:14:38 -07:00
Joel Hooks d26351cf6b Restore joelclaw post-reboot health by exporting Typesense, fixing memory recall/search, hardening Talon, and gating friction-fix 2026-05-30 19:51:04 -07:00
Joel Hooks 638ae99b06 Fix system-bus TypeScript health failures by updating memory OTEL calls 2026-05-30 15:58:20 -07:00
Joel Hooks fc8d8a2644 Persist direct Colima operator access and add portable Typesense export tooling 2026-05-30 15:51:58 -07:00
Joel Hooks d36b52f207 Document Flagg NAS Gate 5 write proof 2026-05-30 15:42:16 -07:00
Joel Hooks 249457babb Capture Flagg NAS Gate 5 pickup state and set expected 10GbE interface 2026-05-30 14:37:24 -07:00