Repository navigation
Create the assigned cleaner checklist on first open - #230
Open
irvingellan wants to merge 2 commits into
Open
irvingellan wants to merge 2 commits into
irvingellan wants to merge 2 commits into
Conversation
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
irvingellan
marked this pull request as ready for review
November 20, 2026 00:25
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.
First-open checklist for assigned cleaners
Related to #84. Owned by Codex. Scope is the authenticated Hub entry, its shared Run and capability helpers, the manager checklist hint and their tests.
An active rostered cleaner can open the checklist directly from an assigned or in-progress job. The first open creates the single initial Run with the same definition as the manager flow and records the initiating cleaner account. Run creation, membership and roster validation, grant tracking and capability rotation commit together. Concurrent teammates cannot both acquire the checklist.
An untouched draft refreshes if its source property, service type or settings have changed. Saved work, submitted runs and an active teammate's grant are preserved. Existing public links and the manager's ability to prepare a Run remain available.
The local gates use synthetic records in isolated emulators, including concurrent first open, reassignment, isolation, historical Run ownership and both browser flows. Local-only screenshots cover mobile light and dark settings. Real-device acceptance is a separate pilot step.
Publication scope is the existing openMyChecklist callable and Hosting. Shared manager helpers retain their existing contract. No new Function, Rules or index is required.
Verified on candidate 54dac2f. All 2,162 Vitest checks passed with four workers, together with the emulator build, 90 manager security cases, 66 Hub security cases, 47 manager browser cases and both signed-in Hub browser scenarios. The manager browser suite used an isolated frontend port in a disposable copy of the exact commit. The first browser attempts on shared local ports did not pass. Both suites passed in isolation, including the earlier failures. Automated visual fixtures were inspected at 375 and 1440 CSS pixels.