Add outbound lead direction to items (book-donation search stream) #2
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/book-donation-chorus-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
directionfield (inbound/outbound) to items, alongside a parallelOUTBOUND_STAGESset (New → Reviewed → Outreach Drafted → Outreach Sent → Replied → Pickup Scheduled → Picked Up → Logged in Bookmark), validated the same way the existing type-based stages are.leads-foundDiscord channel mapped to modalitylead_found, so Donna can flag a manually-forwarded screenshot as "I found this" instead of "someone sent this to me" using the existing manual-share pattern — no new bot commands or UI.directionthrough the full ping-embed build/parse cycle,manual_share.py/thread_ingest.py/backend_client.py, and the backend model/schema/crud, defaulting toinboundeverywhere for full backward compatibility with existing items and embeds.#inboxpipeline via a Discord webhook using the same embed field contract.Design doc:
circuitforge-plans/books-in-hand/superpowers/specs/2026-07-13-chorus-magpie-book-search-design.mdImplementation plan:
circuitforge-plans/shared/superpowers/plans/2026-07-13-chorus-magpie-book-search-plan.mdKnown follow-up
ItemModal.vueis not yet direction-aware, so outbound leads can't be advanced pastnewthrough the actual triage UI yet (only via direct API calls). Filed as a separate issue, not a blocker for this PR since the frontend wasn't touched here.Deploy note
This repo has no migration tooling (
Base.metadata.create_allonly, no Alembic). Any already-runningchorus.dbneeds either a manualALTER TABLE items ADD COLUMN direction VARCHAR NOT NULL DEFAULT 'inbound'or a fresh DB before this deploys — confirmed no such file exists in this repo currently, so this is a note for whoever deploys next, not a blocker.Test plan
bot/suite: 18/18 passingbackend/suite: 28/28 passingleads-foundDiscord channel and verify a forwarded screenshot creates an outbound itemView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.