Repository navigation
POC: drop the extra lead flow from the work-project test - #3824
Closed
cursor[bot] wants to merge 2 commits into
Closed
cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
…oject
Adds the server-owned session field workProjectId, written only by the
setWorkProject action every worker flow declares (agent, coordinator,
Error Reporter), and the client's setWorkProject(worker, project,
{ sessionId? }). The action admits the session's own user, on a project
they are a member of (or own, if private), and refuses the project
coordinator's, task, delegate and workstream-lead sessions.
filingProjectOf reads workProjectId between projectId and filingProjectId.
The board stamps the filer's project on each task row at filing
(filedInProject; in a delegate's ongoing session, the held row's stamp);
the hand-over copies filingProjectId from that stamp, and runProjectOf's
held-row step reads it, so a filed task keeps its project after a change.
Rows filed before the stamp existed fall back to the conversation's
project (BP-030).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qsh48df8qzrorsfaCXn1X7
The projects host already has a lead flow. The workstream-lead refusal only needs that flow to declare setWorkProject. Also drop the unused setWorkProjectBlock package export and two comments that restated the stamp. Co-authored-by: Jake Hoffner <jhoffner@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
jhoffner
pushed a commit
that referenced
this pull request
Oct 24, 2026
…stream lead Drops the test's own 24-line lead flow for the projects harness's `lead` fixture flow with the action declared on it, the unused `setWorkProjectBlock` export, and two comments restating the stamp write. From the restraint review's POC (#3824). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qsh48df8qzrorsfaCXn1X7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR does not merge.
Subtracted from #3821 (
60bf7a086):filerFlow). The projects host already has aleadflow. The workstream-lead refusal only needs that flow to declaresetWorkProjectand the opened entry. Same nine cases.setWorkProjectBlockfrom the package barrel. The action stays. The standing-rules block is not a package export either.board.tsthat restated thefiledInProjectwrite.Still passes:
packages/workforce/test/work-project.test.ts, 9/9. ESLint is clean on the three files.Fold
fd6966bc7onto the original and close this PR unmerged after that lands.