Commit Graph

1968 Commits

Author SHA1 Message Date
Joel Hooks c2d7e6fda9 charter messaging-stabilization: full gateway replatform onto Chat SDK (vercel/chat) — outbound+inbound in parallel per Joel, contract v2 evolves (reactions-in converges with neat-memory grading), cutover alone stops for Joel; fit/gap research fired
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 08:51:58 -07:00
Joel Hooks ad8768e578 neat-memory DM: charter step + grilling amendments (four flavors, widened corpus, curator-not-threshold w/ Fable authorized, reactions teach taste) + bench-the-curator prototype step + smartest-agent-for-taste standing call
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 08:44:14 -07:00
shitratgit[bot] 89bba0e7f7 gateway: operator script to print the fixture digest payload (sends nothing) 2026-07-16 15:23:30 +00:00
Joel Hooks a504ad9d9a brain: Latent replaces 'Not yet specified' in brief headers
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 08:21:15 -07:00
shitratgit[bot] 5c336a6d13 telegram-signal: digest wiring, noise guard, chief-of-staff voice
Digest agent tool + act: callback route composed in digest-gateway.ts
(buttons settle only on mutation receipts); explicit deliver rule for
signal/digest.assembled. Noise-rate guard over journal data (<10%
target, breach lands in digest, canaries/replies excluded). Legacy
'## Immediate Escalation' wrapper removed — visible Telegram text is
just the message, chief-of-staff voice; attribution stays in the audit
trail (Joel, 2026-07-16). Lockfile registers @joelclaw/digest.

Steps: digest-service-fixture-prototype (wiring), noise-rate-guard
(.brain/projects/telegram-signal-system/)
2026-07-16 15:20:30 +00:00
shitratgit[bot] f5fdf2ada6 telegram-signal: finale wave — journal anchors, digest service, snooze reminders
Journal capture wired at every gateway anchor (inbound pre-enrichment,
queued sends, outbound terminal states, streaming, edits, suppressions
with policy reasons, one wrapper around the callback handler) — 123
tests including fail-open. New @joelclaw/digest assembles the contract
digest from fixtures with pending-until-receipt controls; nothing sent
live. signal/reminder durable function: idempotent on action ID,
re-inspects the source before re-delivery, suppresses if resolved.

Steps: journal-capture-anchors, digest-service-fixture-prototype,
snooze-reminder-function (.brain/projects/telegram-signal-system/)
2026-07-16 14:52:22 +00:00
shitratgit[bot] e2c0247dbf brain: wave 2 done, finale wave launched (journal anchors, digest prototype, snooze retry) 2026-07-16 14:19:57 +00: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] 6bfc560ff0 cli: joelclaw messages audit + trace
New messages domain over the @joelclaw/message-journal query client.
Typed MESSAGE_JOURNAL_CONFIG_MISSING envelope until scoped reader
credentials exist. HATEOAS envelopes, otel.ts command pattern.

Step: .brain/projects/telegram-signal-system/cli-messages-commands.svx
2026-07-16 05:27:21 +00:00
shitratgit[bot] bccfe81bc8 gateway: enforce TelegramOutboundPolicy at the send choke point
Every conversational/notification send now routes through the policy
(deliver/investigate/digest/suppress) after resolveSendInput(), with
companion enforcement in media and streaming sends. Specialized UI
bypasses are typed grep-able markers. Side-effect handlers fail-safe
with error receipts; every decision emits body-free
telegram.policy.decided with flowId, disposition, reason. verify-voice
fixture lands in an investigating lifecycle actor, never Telegram.

Step: .brain/projects/telegram-signal-system/wire-outbound-policy-into-gateway.svx
2026-07-16 05:27:18 +00:00
shitratgit[bot] 157995e924 brain: wave 1 done, wave 2 launched (gateway policy, messages CLI, snooze, ClickHouse prep) 2026-07-16 04:51:25 +00:00
shitratgit[bot] dcc87255f7 source-actions: durable action registry + SourceAdapter contract
Opaque act:<uuid> callback IDs with a Redis-backed registry (buttons
stay pending until mutation receipts), per-item capability computation,
fixture adapter for the digest prototype, Front archive as the first
real conditional-Done adapter. Lockfile picks up the three new
workspace packages (xstate v5 for @joelclaw/signal).

Step: .brain/projects/telegram-signal-system/build-action-registry-source-adapters.svx
2026-07-16 04:34:42 +00:00
shitratgit[bot] f7ecc43fee signal: outbound policy + XState v5 lifecycle machine
TelegramOutboundPolicy pure decision function (deliver/investigate/
digest/suppress; unclassifiable defaults to investigate) and the signal
lifecycle machine with investigation budgets, dedup, cancellation, and
the settled escalation gate. verify-voice fixture proves probe failures
land in investigating, never delivered.

Step: .brain/projects/telegram-signal-system/build-signal-lifecycle-machine.svx
2026-07-16 04:34:39 +00:00
shitratgit[bot] d094ec4823 message-journal: private ClickHouse journal package
Typed lifecycle events with deterministic IDs, explicit admin-gated
migrations (ReplacingMergeTree, no TTL), INSERT-only writer with 0600
outbox fallback, audit/trace query client. Steering fix: floor stat
timestamps in the outbox lease sweep (sub-ms stat vs integer Date.now()
made same-millisecond claims unrecoverable).

Step: .brain/projects/telegram-signal-system/build-message-journal-package.svx
2026-07-16 04:34:11 +00:00
shitratgit[bot] 4f7fbdf4d6 system-bus: migrate VIP briefs + content-review off direct Bot API
Three producers now route through gateway/send.message with explicit
producer attribution and keyboards intact; sendTelegramDirect deleted
(formatting helpers retained). Queue drain renders format: html so
formatting survives the transport change. Zero direct Bot API callers
remain under packages/system-bus.

Step: .brain/projects/telegram-signal-system/migrate-bypass-producers.svx
2026-07-16 04:33:14 +00:00
shitratgit[bot] 40c945a6fb brain: charter Telegram signal system build (finish line confirmed)
Joel confirmed the finish line and all recommendations 2026-07-15.
Working brief + 11 step files; wave 1 (journal package, lifecycle
machine, action registry, bypass-producer migration) launched.
2026-07-16 04:08:59 +00:00
shitratgit[bot] 487384a5a4 brain: Telegram signal system spec with research receipts
Synthesized from the handoff charter plus three read-only research
passes (producer inventory, ClickHouse journal design, action-adapter
capability map). Finish line still awaits Joel's confirmation.
2026-07-16 03:57:08 +00:00
shitratgit[bot] a79d50cec6 brain: hand off Telegram signal system charter 2026-07-16 03:34:35 +00:00
Joel Hooks ae167a6f9d observer self-maintenance wiring installed: tick v4 live (recurring gardening every 30 min), session gardened to one family tab / two canonical panes; install receipt + mislabeled-observer lesson on the step
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 12:25:41 -07:00
shitratgit[bot] b9191ffd9a brain: record Telegram audit deployment receipts 2026-07-15 17:05:03 +00:00
shitratgit[bot] ca1badedf6 fix(cli): resolve ClickHouse from system-bus env 2026-07-15 17:00:46 +00:00
shitratgit[bot] f58c0c5891 fix(gateway): avoid ambiguous Telegram delivery retries 2026-07-15 16:53:16 +00:00
shitratgit[bot] e9273dcd7a fix(telemetry): exclude provider descriptions from receipts 2026-07-15 16:52:42 +00:00
shitratgit[bot] 5c4806d6d7 brain: queue recoverable Telegram delivery follow-up 2026-07-15 16:48:35 +00:00
shitratgit[bot] 31b92de262 docs(telegram): teach flow receipt queries 2026-07-15 16:48:24 +00:00
shitratgit[bot] 7e85ab5e44 feat(gateway): trace Telegram delivery through Bot API receipts 2026-07-15 16:48:12 +00:00
shitratgit[bot] 25604f86b9 feat(system-bus): audit channel delivery and register runtime events 2026-07-15 16:47:59 +00:00
shitratgit[bot] 034232077f feat(telemetry): add privacy-safe channel delivery audits 2026-07-15 16:47:33 +00:00
shitratgit[bot] 4e8575e341 fix(gateway): restore Slack socket lifecycle module 2026-07-15 16:47:20 +00:00
shitratgit[bot] 9360edf63f fix(content): point custody paths at joelclaw-api 2026-07-15 16:47:09 +00:00
shitratgit[bot] 6627caa635 test(voice): verify call telemetry mutations 2026-07-15 16:46:57 +00:00
shitratgit[bot] 48c8506ce9 fix(fleet): probe the local host without SSH 2026-07-15 16:46:47 +00:00
shitratgit[bot] b5f7da8674 chore(repo): ignore generated runtime debris 2026-07-15 16:46:30 +00:00
Joel Hooks e2046f1bd7 brain: masthead live-convex rides the live-panes bridge stream
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 69d53cbf86 brain: grill-master estate flip — question→step contract
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks b63e50a2be pane-scheduling: SPAWN proven live, fleet taught (fabrication caught + receipt rule), cold proof passed
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 1f8b3d6187 pane-scheduling: dispatcher verbs harvested + fleet-teach chartered and fired; acceptance spawn scheduled
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks be79dcc384 claim: dispatcher verb execution fired
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 66e83fdfd9 ledger: observer self-maintenance built and harvested
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 0effed099a feat: pane schedule bus side — durable WAKE/SPAWN/REVIVE clock on inngest
pane/schedule.requested contract, sleepUntil function with cancellation
waitForEvent race, Redis pending registry, joelclaw wake CLI. Emits
pane.schedule.due to the gateway with late flag past 5min. Worker-built,
steering-verified: tsc green, tests green, live enqueue+cancel receipts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 411c1fdbde claim: observer self-maintenance fired
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks f48f63fb99 charter: Pane Scheduling — WAKE/SPAWN/REVIVE on inngest's clock, dispatcher executes, observer session hosts
Joel's calls at charter: inngest has scheduled jobs (the clock), panes
fire into the observer family session. Bus-side build fired.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 4a66f8a48f docs(skills): wzrrd-video skill; mux-video tombstoned
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks bd15ec0002 feat(video): thin cloud client leases + registry assertion + trace slug contract
Worker drops Mux/Garage/joelclaw-api leases for the video path (wzrrd
owns upload and durable state); host registry asserts only the thin
publish function; joelclaw video trace accepts wzrrd slugs and points
at wzrrd video trace for cloud history.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks f39bc3ca5f front-sanity: stages 1-2 executed — 15,072 → 12,163 open, 0 failures, reversible until 07-21
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 608cd5aed1 brain: deepgram ledger line on video-pipeline brief
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks f95cb3cfc8 brain: close deepgram transcript question — live, cloudflare-native
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 1b4ff768d4 brain: deepgram flow moves to cloudflare — flagg-side build discarded
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 5086c2783c ledger: front window digest built and harvested
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00
Joel Hooks 8e0fd488d7 brain: claim deepgram transcript question, concretize flow, fire worker
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 09:25:54 -07:00