v1 intake: Pulse posts become ledger items + dispatched kanban tasks

- new top-level non-bridge posts in the activity channel -> shre-items
  pipeline item (tag pulse-intake) + hermes kanban task (idempotency-key
  pulse-<post id>, created-by pulse-bridge) + ack comment
- outbound dedupe: ledger->post map seeded with the user's post id before
  the op:add hits the feed, so the mirror adopts the post
- status tracking via one 'kanban list --json' per poll: running/blocked/
  done comments on the post, ledger stage build -> done
- cap 3 concurrent intake tasks; overflow queued with a comment and
  promoted when slots free; intake state in the same atomic state.json
- first intake run only sets the checkpoint (no history ingestion)

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YECpkAwQUwgu7NVy91R8fW
This commit is contained in:
Nirav Patel
2026-08-22 15:00:35 -04:00
co-authored by Claude Fable 5
parent e005931cb5
commit 54b705b073
3 changed files with 220 additions and 2 deletions
+8
View File
@@ -12,3 +12,11 @@ PULSE_BRIDGE_STATE=/Users/aibot/.shre/pulse-bridge/state.json
# mib007 service token (board-level, loopback): file + key
PULSE_BRIDGE_TOKEN_FILE=/Users/aibot/.shre/service-tokens.json
PULSE_BRIDGE_TOKEN_KEY=mib007
# Reverse intake: user posts in the activity channel become ledger items +
# kanban tasks executed by the Hermes dispatcher
PULSE_BRIDGE_INTAKE=1
PULSE_BRIDGE_INTAKE_MAX_CONCURRENT=3
PULSE_BRIDGE_HERMES_DIR=/Users/aibot/.hermes/hermes-agent
PULSE_BRIDGE_HERMES_HOME=/Users/aibot/.hermes
# comma-separated user_names never ingested (bridge + agent accounts)
PULSE_BRIDGE_INTAKE_IGNORE=Ledger,Ellie,AROS