Repository navigation
Opening a job doesn't count as a person's touch - #2312
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
FactoryJobChats called the mutating Talk seam; return the stored chats instead and expose first-send creation as a write. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
HTTP snapshots must not settle lifecycle transitions or reap leases. Keep recovery on writes, worker pulls and durable deadlines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Existing managers bypass Talk creation; record personal ownership after accepted sends. Add HTTP regressions for publication and stop-choice checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Publication checks read the row without Update; stop-choice reads no longer renew leases. Startup and durable deadlines own settlement, and writes settle after version checks. Adjust lifecycle tests to explicitly restart rather than rely on browsing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Store.Get and List lazily repaired repository identities by writing new revisions. Normalize their returned values and leave persistence to actual writes. Keep lifecycle expiry on writes after version checks and avoid an extra idle-pull listing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Existing tests expected GET to settle merges, expire workers and persist identity repair. Trigger restart maintenance explicitly and assert normalization persists only on writes. Record touches at actual message acceptance, including saved status messages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep lifecycle and storage maintenance unchanged. Advertise first-send capability and document older desktop incompatibility. Retain fixture manager creation because those tests require a conversation, independently of maintenance. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The full command suite caught brief writes relying on job_chats to create their manager. Preserve that write behavior without restoring read touches. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[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 changes
Opening a job counted as a person's touch.
factory.job_chatsmade the job's manager conversation, which marked the job as worked. So anyone who only looked at an imported issue switched off closed-issue handling for it.factory.job_chatsnow writes nothing. It returns the conversations already on the job. A job with no manager returnsagent: ""and its existing steps, orsteps: [].factory.job_send, announced in hello asfactory.job_send, takesfactory,job,textand optionalclient_id. It makes the manager on the first send and returnsagentandturn.factory.job_sendoragents.send.Reads that do maintenance, such as reaping expired leases on a snapshot, are unchanged.
Validation
factory.job_chats:unworked=false touched=true version=3 want=1.TestFactoryAutomaticBriefDoesNotTouchJob:unworked=false PersonTouched=true.agents.sendboth still touch the job.cmd/codeaf,internal/factory,internal/manual, go vet: pass.Limits
factory.job_sendshows no manager chat or composer for a job with no manager, until it renders a composer foragent: "".🤖 Generated with Claude Code