session-retry-policy: Adjust the retry and lock policies for login sessions;dashboard-export: Add CSV export for the operation board.
The choice between independent Change and Supervisor Change
Requirements coming from the same meeting or PRD do not necessarily have to be put into a change. The determining factors are whether the results can be delivered independently and whether there is a common final acceptance.
Select worktree isolation for parallel tasks
Native supports three workspaces when creating a change:
In this case, two changes were respectively selected as
worktree. The Runtime records the change branch, target branch and worktree type, and checks the binding each time it is written and restored.
Each Change independently completes the Shape
The two changes respectively confirm their own goals and acceptance scopes.session-retry-policy can include:
- The account will be locked for 15 minutes after five consecutive failures.
- Reset the number of failed attempts after successful login.
- The lock status remains consistent in the API and the login page.
dashboard-export can include:
- The exported results follow the current filtering conditions;
- Large data volume export for back-end task execution;
- When export fails, display the reviewable status.
The current selection determines the write attribution
.comet/current-change.json records which workflow and change the next observable write belongs to. When there is only one active change in the project, Hook Router can infer the affiliation. When there are multiple active changes, a clear choice is required.
View all changes:
Multiple sessions are advanced separately
One session can be used for each of the two Worktrees:continuation, and submits Builder handoff, runs Runtime check and starts Verifier respectively. The status version, candidate ID, and execution reference prevent the late result of one change from being written to another change.
When uncommitted files in the main directory belong to users or other tasks, they should remain as they are. worktree isolation can reduce directory conflicts, but it does not authorize the cleaning of irrelevant modifications.
Return the correct directory when the workspace does not match
If you attempt to advancesession-retry-policy in the worktree of dashboard-export, the Runtime will compare:
- Current project root directory;
- change branch;
- worktree type;
- The workspace binding saved by
comet-state.yaml.
await-user, and the expected branch or worktree is returned. Just re-read the status after entering the correct directory. Do not recreate the change with the same name in the wrong directory, nor bypass the binding by manually modifying the YAML.
capability conflicts may still occur for independent targets
The product goals of two changes can be independent, but the same canonical capability may be modified during implementation. For example:session-retry-policymodifyauthenticationSpec;- Another parallel change,
session-device-limit, also modifies theauthenticationSpec.
capabilityPeers and serial processing requirements.
First, file a Change
Suppose the user decides to archivesession-retry-policy first:
- Confirm the archiving sequence according to the latest
continuation. - The Runtime checks the conflict list and state version again;
session-retry-policyupdates canonicalauthenticationSpec;- change finishes the Archive and authorized workspaces.
The subsequent Change will be re-aligned and accepted
session-device-limit then reads the latest canonical Spec. It needs to realign its complete target specifications with the new baseline and then check whether the implementation still meets the merged behavior.
After realignment:
- Update the complete target Spec of the current change;
- Revised and implemented based on the latest behavior;
- Re-run the necessary checks;
- The acceptance will be completed by the new Verifier.
- Enter the Archive using the new results.
Cross-session and cross-device recovery
When restoring a single change, first specify the name:.comet/config.yaml and change across devices can carry the product. .comet/runtime/native/ is in the local execution state and is reconstructed by the target device.
When multiple active changes exist simultaneously and there is no explicit name or valid selection, environmental awareness recovery will return ask_user. It does not guess the target based on the chat content, nor does it scan and modify the Runtime of other changes.
Complete the delivery and clearance respectively
Each independent change Archive has its own delivery options: retaining the workspace, local merging, pushing branches, or creating a PR. The delivery authorization of one change does not apply to another change. Runtime only cleans up Worktrees that have been archived, have no uncommitted modifications, and are no longer in use. Directories that are still running, have user modifications, or have been blocked at the end of Git will be retained and returned to the next step viaworkspaceFinishResult and recoveryArgs.
Continue reading: Multiple Changes and Specification Conflicts , Runtime Protection and Fault Recovery and Continuous Propulsion and Stable Recovery Point .
