|
@@ -0,0 +1,29 @@
|
|
|
|
|
+## Codex + td Workflow
|
|
|
|
|
+
|
|
|
|
|
+### Session bootstrap (mandatory)
|
|
|
|
|
+- At conversation start (or after `/clear`), run `td usage --new-session` once.
|
|
|
|
|
+- For later reminders in the same conversation, run `td usage -q`.
|
|
|
|
|
+- Do not start a second td session mid-task.
|
|
|
|
|
+
|
|
|
|
|
+### Pick and track work
|
|
|
|
|
+- Check active context with `td current`.
|
|
|
|
|
+- If no focused issue is active, pick one with `td next` and begin with `td start <id>`.
|
|
|
|
|
+- Log meaningful progress using `td log "<message>"`.
|
|
|
|
|
+
|
|
|
|
|
+### Required completion flow
|
|
|
|
|
+- Before stopping work, capture current state with `td handoff <id>`.
|
|
|
|
|
+- Submit finished work with `td review <id>`.
|
|
|
|
|
+- Do not use `td close` for completed work.
|
|
|
|
|
+- Approvals are done by a different session via `td approve <id>`.
|
|
|
|
|
+
|
|
|
|
|
+### Multi-issue work
|
|
|
|
|
+- Use workspace mode when handling related issues:
|
|
|
|
|
+ - `td ws start "<name>"`
|
|
|
|
|
+ - `td ws tag <id1> <id2> ...`
|
|
|
|
|
+ - `td ws log "<message>"`
|
|
|
|
|
+ - `td ws handoff`
|
|
|
|
|
+
|
|
|
|
|
+### Guardrails
|
|
|
|
|
+- Keep td issue IDs in notes, logs, and handoffs.
|
|
|
|
|
+- Prefer small, frequent `td log` updates over one large final update.
|
|
|
|
|
+- If td state and local git state disagree, report both explicitly.
|