You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use `gh project item-add 7 --owner pwrdrvr --url <issue-or-pr-url>`.
56
-
- Set `Status`, `Priority`, `Size`, and `Workflow`.
57
+
- For issues, set `Status`, `Priority`, `Size`, and `Workflow`.
58
+
- For PRs, usually set `Status` and `Workflow`; `Priority` and `Size` are issue-planning fields unless there is a specific reason to set them on the PR item.
57
59
58
60
5. Sync `.local/work-items.yaml`.
59
61
60
-
-Add or update the item entry with issue number, URLs, project item id, workflow, status, priority, size, and concise notes.
61
-
-Update `last_synced_at` whenever the tracker changes.
62
+
-Treat the tracker as derived state, not a hand-edited source of truth.
63
+
-Regenerate it with `pnpm project:sync` after issue/project changes.
62
64
- Prefer pushing durable notes into GitHub issues or `.local/issue-drafts/`; the tracker should stay compact.
63
65
64
66
6. Reconcile if anything drifted.
@@ -88,6 +90,8 @@ Size heuristic:
88
90
Start by discovering current project field ids instead of assuming they never change:
- Verify the repo slug before issue commands. The canonical repo is `pwrdrvr/openclaw-codex-app-server`; older shorthand like `pwrdrvr/openclaw-app-server` is wrong and will make `gh issue ...` fail.
116
+
-`gh project item-edit` needs opaque ids for the project, item, field, and single-select option. Always discover them with `gh project view ...` and `gh project field-list ...` instead of assuming cached ids still match.
117
+
- GitHub Projects custom views are not well-supported by `gh` or GraphQL mutations. Reading views works, but creating/editing/copying views is still better done in the web UI or browser automation. `gh project copy` does not carry over custom views.
118
+
-`.local/work-items.yaml` is currently issue-only. Add PRs to project `7`, but do not expect `pnpm project:sync` to mirror PR items into the local tracker.
119
+
-`.local/issue-drafts/<nn>-<slug>.md` filenames are local scratch ids, not GitHub issue numbers. Keep them stable enough to reuse, but do not try to force them to match the eventual GitHub issue number.
0 commit comments