Repository navigation
factory: org_workstreams takes archived (SIM D1) - #2810
Merged
Merged
Conversation
…n be found again factory.org_workstreams forwarded GET /v1/workstreams without ?archived=1, so the server never answered an archived row and the desk's Archived list and its count lived only in its own cache (SIM D1). archived:true now asks for them; the plain list every other reader uses is unchanged. Hello word org_workstreams_archived. The manual says where the archive is and that Archive asks first while an agent's task is running or paused on an answer. Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
Member
Author
|
Local proof on 68c0020 (rebased on santosh/work): |
ZeroPoint95
pushed a commit
that referenced
this pull request
Nov 24, 2026
SIM D1: factory.org_workstreams takes archived (?archived=1), hello org_workstreams_archived; manual says where the archive is and when Archive asks. Assisted-by: CodeAF Co-Authored-By: CodeAF <[email protected]>
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.
What
factory.org_workstreamsnow takesarchived. Witharchived: truethe engine sendsGET /v1/workstreams?archived=1, so the server answers its archived rows as well; without it the request is unchanged, so every shared list reader keeps seeing live workstreams only. New hello wordorg_workstreams_archivedtells the desk it may ask.Why
SIM D1: an organization's archived workstream disappeared after a refresh. The server already honours
?archived=1; the engine never sent it.Proof
go test ./cmd/codeaf -run 'TestOrgWorkstreams|TestOrgTeams'(newTestOrgWorkstreamsArchivedAsksTheServer; the fake org server now leaves archived rows out unless asked, as the real one does)go test ./internal/appwire(PROTOCOL.md contract row updated)make pr-ready BASE=origin/santosh/work(flocked) — posted belowManual:
work-home-and-overview.mdgains "Find an archived workstream again — Archived list, Bring back";workstream-people-and-rules.mdstates the new Archive question wording.Desk half: Agent-Field/codeaf-desk (F1).
🤖 Generated with Claude Code