You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 455ff61
Browse filesBrowse the repository at this point in the historyBrowse files
- The capability's two halves: a capability for the worker's model block
and the entries a flow spreads into its own maps; no flow-level `uses`.
- FIX-1794 amended to ship the board per session and
createTaskFilingCapability(); its only interim part is the answer to
"may this session file". Split acceptance there is pointer-only.
- The task-session refusal lifts in P2 with the split (S4, S6).
- The chain count: one versioned record per chain, keyed by the top
board's partition and top task; idempotent reservation by task id,
reconciled at the limit, deleted with the top task. BR-22 made exact.
- `delegates:` gets its use by capability (a routing flow or the grant).
- A touch of any board replays owed settles down the chain (BR-17).
- coordinatorSessionId and the delegate module's wording renamed in P1.
- FIX-1789's contract and FIX-1791's BR-1a and BR-4 marked as amended.
- Filing kit checklist, POC guardrail and contention note in PLAN.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XMg2dz8sMEdyzCQTRsaMTV
Copy file name to clipboardExpand all lines: specs/issues/FIX-1791/BUSINESS-RULES.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@ session on Alice's coordinator. The *proved by* column is the check the plan run
10
10
| # | When | Then | Proved by |
11
11
|---|---|---|---|
12
12
| BR-1 | A conversation's delegates are read or changed for the first time, by a post or an action | They become a copy of the coordinator's defaults, in server-written session state (FIX-1788 BR-18a). The defaults may be empty: FIX-1793's project coordinator starts with none. The configuration is not written | CI |
13
-
| BR-1a | A delegate action names a session that isn't linked to a coordinator worker | Refused, naming why. Nothing written. A guard: every session on a worker flow is linked at create (FIX-1788 BR-10, BR-14), so any coordinator conversation takes the actions | CI |
13
+
| BR-1a | A delegate action names a session that isn't linked to a coordinator worker. *Amended after merge ([FIX-1802 D1](../FIX-1802/DECISIONS.md#d1)):* or to any worker whose delegates have a use, a routing flow or the filing grant| Refused, naming why. Nothing written. A guard: every session on a worker flow is linked at create (FIX-1788 BR-10, BR-14), so any coordinator conversation takes the actions | CI |
14
14
| BR-2 | Alice adds a worker on her roster, her own or a standard one, with `addDelegate` in the app or through the coordinator's tool | It joins this conversation's delegates as one delegate record: the worker and an optional note on what it's good at. The record can also hold a target the caller resolves (a project's workstream entry address for FIX-1793), written only through the internal delegate mutation FIX-1793's entry paths call. The public actions and the tool take no target: one sent to `addDelegate` is refused, naming the field. Her other conversations don't change | CI · VG leg d |
15
15
| BR-3 | Alice adds Bob's worker, or a name nobody holds | Refused with one answer for both, naming the id. Nothing written | CI · VG leg f |
16
-
| BR-4 | Alice adds a worker whose flow can't take a delegated post | Refused, naming the flow. Nothing written | CI |
16
+
| BR-4 | Alice adds a worker whose flow can't take a delegated post. *Amended after merge ([FIX-1802 D1](../FIX-1802/DECISIONS.md#d1)):* a post or a task; each use checks its own| Refused, naming the flow. Nothing written | CI |
17
17
| BR-5 | Alice adds a delegate record already on the list, or a 26th | Refused, naming the delegate or the cap of 25. Both go by the record, not the bare worker: one worker with two targets is two delegates. The roster check still runs on the worker | CI |
18
18
| BR-6 | Alice removes a delegate, including one fired since it was added | The removal names the delegate record (worker plus optional target), and only that record leaves this conversation's list; another record led by the same worker stays. Removal checks the list, not the roster. Posts already delivered to it still take their answer. If it was the fallback, the conversation has none | CI · VG leg d |
19
19
| BR-6a | Alice sets the fallback to a delegate on this conversation's list, or clears it, in the app or through the tool | It names the delegate record (worker plus optional target) and changes for this conversation only. A record not on the list is refused, naming it | CI · VG leg e |
Copy file name to clipboardExpand all lines: specs/issues/FIX-1794/BUSINESS-RULES.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ is the session a task runs in. The *proved by* column is the check the plan runs
16
16
| BR-4 | The delegate record carries a target (a FIX-1793 workstream) | Refused, saying a workstream takes posts, not tasks | CI |
17
17
| BR-5 | The task names no assignee, and the conversation has exactly one delegate | It goes to that delegate | CI |
18
18
| BR-6 | The task names no assignee, and the conversation has none or several | Stored, pending, and the filing's answer says to assign it. No order picks one | CI |
19
-
| BR-7 | A filing would put a task more than five boards below the top of its chain ([D2](DECISIONS.md#d2)). Moves with the split if [Q](DECISIONS.md#q) moves it; this issue then refuses any filing from a task session, saying it can't split yet, until [FIX-1802](../FIX-1802/BUSINESS-RULES.md)'s grant replaces the refusal (epic D8, amended after merge) | Refused, naming the limit. Nothing stored | CI |
19
+
| BR-7 | A task session files, by app or tool. *Amended after merge:*[Q](DECISIONS.md#q) moved the depth limit ([D2](DECISIONS.md#d2)) to [FIX-1802](../FIX-1802/BUSINESS-RULES.md), and this is the interim rule until it lands | Refused, saying it can't split yet. Nothing stored | CI |
20
20
| BR-8 | A filing carries a board, a ledger, an owner, a depth or a partition | Ignored, or refused where the schema names it. Each comes from the conversation's server-written data | CI |
21
21
| BR-9 | The same task is filed twice, by id | The second adds nothing. If the row is still pending, it triggers the board's run again, which is idempotent; otherwise it starts nothing | CI |
22
22
@@ -65,16 +65,14 @@ check. A reassigned task runs at once.
65
65
66
66
## The chain
67
67
68
-
BR-30 to BR-32 are the split, and ship here only if [Q](DECISIONS.md#q) keeps it; otherwise
69
-
they move to its follow-up with goal leg b, and BR-33 holds at one level. *Amended after merge:*
70
-
Q moved them, and that follow-up, [FIX-1802](../FIX-1802/BUSINESS-RULES.md), is in the MVP (epic D8).
68
+
BR-30 to BR-32 are the split. *Amended after merge:* owned by
69
+
[FIX-1802](../FIX-1802/BUSINESS-RULES.md) (its BR-14 to BR-19), in the MVP (epic D8), and not
70
+
exercised in this issue's goal. BR-33 holds at one level.
71
71
72
72
| # | When | Then | Proved by |
73
73
|---|---|---|---|
74
-
| BR-30 | A coordinator delegate's task session splits its task | It files the pieces on its own board, for its own delegates, under BR-1 to BR-9. The pieces are Alice's | CI · VG leg b |
75
-
| BR-31 | It has filed its pieces and its turn ends | Its own task waits on the board above: parked, marked as waiting on its pieces, with no notice for that park. Nothing lapses while it waits | CI · VG leg b |
76
-
| BR-32 | The last open piece ends, after any turn its notice woke | Its task settles on the board above: `completed` with the pieces' outputs when none failed for good, `errored` naming the ones that did. It settles through the binding written when it parked (that row's partition and claim ticket), never a coordinate from input or a payload, and still does after a restart. The last piece's ending writes the settle as owed; only the settle clears it, so if the turn its notice woke fails, the next touch of the board settles it, once. That board's conversation hears it | CI · VG leg b |
77
-
| BR-33 | Any session in a chain is listed | Every one is Alice's. Bob's workers never appear, because every assignee passed BR-2 | VG legs b and d |
74
+
| BR-30 to BR-32 | A task session splits its task, waits parked, and settles from its pieces | Owned by FIX-1802 (its BR-14 to BR-19); not exercised in this issue's goal | FIX-1802 |
75
+
| BR-33 | Any session in a chain is listed | Every one is Alice's. Bob's workers never appear, because every assignee passed BR-2 | VG leg d |
0 commit comments