chore(skills): enforce explicit commit bodies, tuxedo CLI, and planning contracts

- profile/AGENTS.md: require structured '-' bullet bodies for multi-file or non-trivial commits, and mandate non-interactive tuxedo subcommands for todo.txt
- skills/git-manager/references/commits.md: align depth-matching rules to require per-area what/why bullets on multi-file or non-trivial slices
- skills/gitea-plan/SKILL.md: add step 8 and approval/done gates to record state-free planning sync contracts in repository AGENTS.md for Medium/Large plans
This commit is contained in:
kiskaadee committed 2026-11-15 11:14:26 -05:00
1 parent 1316950fa9
commit a787947acd
3 files changed
+23 -6

No files matched your search

+4
View File
@@ -38,6 +38,9 @@ whether I really understood something), don't make it for me:
Pause for approval only on `main`/`master`, in `learning` mode, or when hitting conflicts,
reverts, cherry-picks, shared-history rewrites, failing checks, unfamiliar working-tree
changes, or destructive git.
- Commit messages must be explicit for reviewers: for any commit touching multiple files or
non-trivial behavior, always include a structured body with `-` bullets stating what changed
and why per area (never a subject-only commit).
- Never run destructive git (`reset --hard`, `restore <file>`, `clean -fd`, force-push) without
my explicit yes.
- Redact secrets (tokens, keys, passwords, connection strings) from anything you print or save.
@@ -58,6 +61,7 @@ whether I really understood something), don't make it for me:
- My skills live in `~/Projects/active/skills`. Edit them there, never in an installed copy.
- Durable notes default to `~/Brain/00-inbox/`. Use `document` to decide if one is warranted.
- For `todo.txt` task files, use non-interactive `tuxedo` CLI subcommands (`tuxedo ls --json`, `tuxedo lsp`, `tuxedo do <N>`, `tuxedo add ...`); never invoke bare `tuxedo`, `tuxedo n`, or the interactive shell alias `todo` in agent subshells (they launch the full-screen TUI or fail to resolve).
## Workspaces and resolution
+3 -3
View File
@@ -16,9 +16,9 @@ Reference for `git-manager`. Conventions for slicing changes, formatting Convent
## 3. Message Conventions and Depth Matching
- Use the repository's `AGENTS.md` commit types and scopes when defined; otherwise use Conventional Commits (`feat`, `fix`, `refactor`, `docs`, `test`, `build`, `ci`, `chore`, `perf`, `security`).
- Match message depth to change significance:
- **Trivial or mechanical**: concise imperative subject line only (`<= 72` characters).
- **Multi-part slice**: subject line + concise bullet list of concrete behavioral changes.
- **Non-obvious constraint or trade-off**: subject line + bullets + `Rationale:` line explaining why this approach was chosen over alternatives.
- **Trivial or mechanical** (single-file typo, formatting, or one-line fix): concise imperative subject line (`<= 72` characters).
- **Multi-file or non-trivial slice**: subject line + explicit `-` bullet list detailing what changed and why per area/file so reviewers can understand the slice without opening every diff.
- **Non-obvious constraint or trade-off**: subject line + explicit bullets + `Rationale:` line explaining why this approach was chosen over alternatives.
- Link issues (`Closes #<id>` or `Refs #<id>`) only when the commit or branch genuinely satisfies those criteria.
- Trust the staged diff over conversation claims; never overclaim untested behavior.
+16 -3
View File
@@ -29,8 +29,9 @@ description: >-
4. **Run independent reproducibility audit.** Spawn clean-room subagent with raw
input manifest (commit SHA, specs, proposed issue markdown). Review 5-section
evaluation to resolve material ambiguities before human gate.
5. **Present decomposition for approval.** Present proposed milestone, board, and
issues with audit disposition. Stop for approval before creating Gitea entities.
5. **Present decomposition for approval.** Present proposed milestone, board,
issues, and any proposed repository `AGENTS.md` planning-contract diff with
audit disposition. Stop for approval before mutating Gitea entities or `AGENTS.md`.
6. **Execute Gitea operations via `gt` CLI.** Use verified commands from `gt-usage`:
- Milestones: `gt milestone create "<title>" -d "<desc>" --json id,url`.
- Projects: `gt project create "<title>" --template basic_kanban --json id,url`
@@ -40,15 +41,27 @@ description: >-
Extract server IDs directly; never guess sequence numbers or construct `/milestone/1`.
7. **Verify created state.** Inspect `gt issue list` and `gt milestone list` to
confirm server IDs, board cards, and non-hallucinated canonical URLs.
8. **Formalize repo planning contract in `AGENTS.md`.** When establishing or changing
`Medium`/`Large` planning structure, record or reconcile a concise sync rule in the
repository's `AGENTS.md` so day-to-day coding agents keep trackers updated without
reloading `gitea-plan`:
- Pin **stable structural coordinates only**: canonical roadmap/checklist paths
(e.g., `docs/roadmap.md`, `todo.txt`), authoritative Gitea repo + Project Board ID,
remote mirror policy (e.g., GitHub code-only), and the escalation trigger to
re-run `gitea-plan` on scope shifts or epic Readiness Gates.
- **Never** hardcode rotating sprint state (active milestone numbers or open issue
lists) inside `AGENTS.md`; let `docs/roadmap.md`, `todo.txt`, and `gt` hold state.
## Your call
- **Planning tier selection**: confirm Small vs. Medium vs. Large ceremony level.
- **Issue decomposition boundaries**: approve or revise proposed issue slices.
- **Batch entity creation**: approve structured batch creation per `profile/AGENTS.md`.
- **Batch entity creation**: approve structured batch creation and `AGENTS.md` contract edits per `profile/AGENTS.md`.
## Done when
- Target milestone, board, and issues exist on Gitea with verified server IDs,
canonical URLs, and falsifiable acceptance criteria.
- Repository `AGENTS.md` contains an accurate, state-free planning sync contract
whenever `Medium`/`Large` planning structure is created or updated.
## Hands off to
- `implement-slice`: to orchestrate end-to-end delivery of an approved issue or slice.