mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo-client.git
synced 2026-09-22 01:02:03 -07:00
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
# Workflow Rules
|
|
|
|
## Worktree Discipline
|
|
- At startup, discover and remember the branch or worktree assigned to your role.
|
|
- If your assigned worktree is `master`, work in the main project checkout on its current branch; do not expect or create a `.worktrees/<role>` directory for that role.
|
|
- Work only in your assigned branch or worktree.
|
|
- Do not inspect, diff, merge, or base work on another branch unless that branch is specifically named in a handoff or explicit user instruction.
|
|
- Do not run `./swarm` from an agent worktree to repair helper scripts. If handoff helper scripts are missing from PATH, stop and report the startup failure.
|
|
|
|
## Announcements
|
|
- Do not add role bylines to announcements or check-in comments.
|
|
|
|
## Commit Messages
|
|
- Include your role byline in every git commit message in this form: `By <role>.`
|
|
- Example:
|
|
|
|
```text
|
|
Implement handoff validation
|
|
|
|
By coder.
|
|
```
|
|
|
|
## Temporary Files
|
|
- Use `./tmp/` in your assigned worktree for temporary files; do not use `/tmp`.
|
|
|
|
## Failure Conditions
|
|
- If the expected git layout or assigned worktree is missing, stop and report instead of silently working in the wrong place.
|