mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1007] [MERGED] feat(slurp2): request actions, promises, and anonymous demand (slice 9) #1243
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1243
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1007
Author: @Gunterlie
Created: 9/21/2026
Status: ✅ Merged
Merged: 9/21/2026
Merged by: @Gunterlie
Base:
producing-content← Head:slice/09-message-bridge📝 Commits (1)
bc69d0cfeat(slurp2): answer fan requests from the thread and keep the promise📊 Changes
33 files changed (+1194 additions, -365 deletions)
View changed files
➕
artifacts/slurp2-0.1.31.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+7 -0)📝
packages/slurp2/client.js(+33 -33)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+256 -256)📝
packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadDrawer.tsx(+13 -7)➕
packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadRequestsPanel.tsx(+88 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/features/messages/slp-messages-hooks.ts(+33 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/locales/en.json(+22 -1)📝
packages/slurp2/src/engine/packages/server/src/db/schema/slurp.ts(+22 -0)📝
packages/slurp2/src/engine/packages/server/src/slp/data/continuity/slp-continuity-storage.ts(+47 -0)➕
packages/slurp2/src/engine/packages/server/src/slp/data/feed/slp-demand-storage.ts(+63 -0)📝
packages/slurp2/src/engine/packages/server/src/slp/data/feed/slp-opportunity-storage.ts(+54 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/data/host/slp-storage-constants.ts(+2 -0)...and 13 more files
📄 Description
Why
Slice 9 of
plan/concept.md. A request a fan made in a thread had nowhere to go. The Creator could answer in words, but nothing recorded what was promised, and the planner never learned that a post was owed. The plan's rule is that a request can be handled from its thread, and that aggregate demand may shape planning without exposing the fan.What changed
Request actions (
modules/messages/slp-request-actions.ts,features/messages/slp-request-action-service.ts, new routes):sourceEventId, the request that caused it;boundary_statedevent; ignore files the request away;thread_private; the test enforces that for all of them;Promises in the planner:
claimSlurpPromise), so a kept promise traces back to its request and recordspromise_keptin that thread, on both the direct and the scheduled path.Anonymous demand (
slurp2_creator_demand_trends,modules/feed/slp-demand.ts):Promotion:
promoteSlurpContinuityFactwrites a new derived fact and leaves the private source untouched, so the source keeps its audience and can still be retracted. Exposed through a new continuity route.UI: a Requests panel in the thread drawer, Creator side only.
Validation
tests/slurp-request-actions.regression.ts: every action's effect, bounded delays, topic normalisation, one-answer-per-request, "every request-action event is thread_private", only the typed label reaches the tally, ownership checks on both routes, promise-before-campaign ordering, oldest-first, teaser needs a public slot, unkept promises survive pruning, both completion paths record the kept promise, the no-naming order in the prompt, and that promotion never mutates its source.slurp-campaignassertions updated for the new ordering.npm run check: 0 errors, no new warnings. Architecture, typecheck, locale, catalog, release-notes,git diff --checkpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.