refactor(skills): reconcile cross-skill references to git-manager

- Update handoff and boundary references across active skills and draft-curation from git-commit and git-workspace to git-manager
- Align diagnose and inspect-flake-update approval checkpoints with profile/AGENTS.md commit autonomy
This commit is contained in:
kiskaadee committed 2026-10-31 20:53:52 -05:00
1 parent 383fcf3db6
commit 7ee31212e1
16 files changed
+30 -31

No files matched your search

+1 -1
View File
@@ -29,4 +29,4 @@ description: >-
- Staged draft is relocated, removed from `00-inbox/`, and repository validation passes cleanly. - Staged draft is relocated, removed from `00-inbox/`, and repository validation passes cleanly.
## Hands off to ## Hands off to
- `git-commit`: to inspect working-tree diff and commit curated documents with semantic commit types. - `git-manager`: to stage and commit curated documents with semantic commit types.
@@ -15,7 +15,7 @@ Detailed specifications and epistemic classification table for ingesting inbox d
2. **The Validation Gate**: If the vault has an automated validator (e.g. `python scripts/validate-brain.py`), a curated document must pass before any commit is made. 2. **The Validation Gate**: If the vault has an automated validator (e.g. `python scripts/validate-brain.py`), a curated document must pass before any commit is made.
3. **Zero Dangling Drafts**: Once a draft is curated and relocated to its destination, the original file in the staging directory must be deleted. 3. **Zero Dangling Drafts**: Once a draft is curated and relocated to its destination, the original file in the staging directory must be deleted.
4. **Interactive Checkpoint**: The agent must present the proposed destination, frontmatter, and rationale to the user before relocating files, unless explicitly instructed to process autonomously. 4. **Interactive Checkpoint**: The agent must present the proposed destination, frontmatter, and rationale to the user before relocating files, unless explicitly instructed to process autonomously.
5. **Atomic Curation Boundary**: Each curated document or cohesive bundle is relocated and validated as an independent unit. Git history is mutated only through `git-commit`. 5. **Atomic Curation Boundary**: Each curated document or cohesive bundle is relocated and validated as an independent unit, then committed following `git-manager` conventions.
6. **Unique Daily Journal & Reconciliation**: A daily journal (`03-records/journal/YYYY-MM-DD.md`) is a unique daily artifact. When a curated draft targets a date whose journal already exists, reconcile it with the existing record rather than creating a duplicate file (`-2.md`) or blindly overwriting. Reconciliation must preserve existing human edits, union the `assessed_commits` frontmatter list, and integrate genuinely new wins, artifacts, objectives, and reflections while avoiding duplicate entries. 6. **Unique Daily Journal & Reconciliation**: A daily journal (`03-records/journal/YYYY-MM-DD.md`) is a unique daily artifact. When a curated draft targets a date whose journal already exists, reconcile it with the existing record rather than creating a duplicate file (`-2.md`) or blindly overwriting. Reconciliation must preserve existing human edits, union the `assessed_commits` frontmatter list, and integrate genuinely new wins, artifacts, objectives, and reflections while avoiding duplicate entries.
## 2. Epistemic Classification Matrix ## 2. Epistemic Classification Matrix
+1 -1
View File
@@ -46,4 +46,4 @@ Write only in this repo. Never create copies elsewhere or wrapper skills for sla
- The skill passes the checklist and one real dogfood run behaves as the spec says. - The skill passes the checklist and one real dogfood run behaves as the spec says.
## Hands off to ## Hands off to
- `git-commit`: to commit the new or changed skill. - `git-manager`: for branch isolation, checkpoint commits, or repository operations.
+1 -1
View File
@@ -39,4 +39,4 @@ description: >-
## Hands off to ## Hands off to
- `diagnose`: when a finding exposes a root cause that requires deeper troubleshooting. - `diagnose`: when a finding exposes a root cause that requires deeper troubleshooting.
- `verify-slice`: to execute behavioral and runtime verification scenarios. - `verify-slice`: to execute behavioral and runtime verification scenarios.
- `git-commit`: when committing review fixes or test adjustments. - `git-manager`: when branching, committing review fixes, or rebasing.
+3 -3
View File
@@ -31,19 +31,19 @@ Redact secrets (tokens, keys, connection strings) from anything you print or sav
## Checkpoints ## Checkpoints
At risky or multi-system transitions (domain narrowed, hypothesis ruled out, change applied, At risky or multi-system transitions (domain narrowed, hypothesis ruled out, change applied,
ready to commit or deploy), pause and report in six short parts: ready to integrate or deploy), pause and report in six short parts:
**Current state** (known vs unknown), **Reasoning**, **Changes**, **Validation** **Current state** (known vs unknown), **Reasoning**, **Changes**, **Validation**
(expected vs actual), **Next action**, **Recovery** (how to roll back). (expected vs actual), **Next action**, **Recovery** (how to roll back).
For trivial issues, a one-sentence status is enough. For trivial issues, a one-sentence status is enough.
## Your call ## Your call
- Which hypothesis to chase when the evidence is ambiguous. - Which hypothesis to chase when the evidence is ambiguous.
- Approving any step that changes state: commit, push, deploy, data change. - Approving risky state transitions: push, deploy, data change, or exception-case Git operations per `profile/AGENTS.md`.
- Whether the root cause taught something worth recording. - Whether the root cause taught something worth recording.
## Done when ## Done when
- The fix is verified where the failure happened, and all temporary probes are removed. - The fix is verified where the failure happened, and all temporary probes are removed.
## Hands off to ## Hands off to
- `git-commit`: to package the fix once recovery is verified. - `git-manager`: for branch isolation, checkpoint commits, or recovery operations.
- `document`: when the investigation revealed a non-obvious failure mode or design flaw. - `document`: when the investigation revealed a non-obvious failure mode or design flaw.
+2 -2
View File
@@ -10,7 +10,7 @@ description: >-
# Document # Document
## Use when ## Use when
- `/document` at the end of a session, or a handoff from `diagnose`, `practice`, `git-commit`. - `/document` at the end of a session, or a handoff from `diagnose`, `practice`, `git-manager`.
- Routine fixes and chores need no document: a good commit message is enough. - Routine fixes and chores need no document: a good commit message is enough.
- Not for canonical repository documentation: use `reconcile-docs`. - Not for canonical repository documentation: use `reconcile-docs`.
@@ -52,4 +52,4 @@ A rich session may justify more than one (e.g. Debug Record + Discussion). Split
## Hands off to ## Hands off to
- `draft-curation`: to review and curate drafts staged into an inbox into lifecycle destinations. - `draft-curation`: to review and curate drafts staged into an inbox into lifecycle destinations.
- `git-commit`: to commit the document if it lives directly in a repo. - `git-manager`: to stage and commit the document if it lives directly in a repo.
+2 -2
View File
@@ -13,7 +13,7 @@ description: >-
- Decomposing a project, feature request, or technical plan into trackable Gitea units. - Decomposing a project, feature request, or technical plan into trackable Gitea units.
- Creating or editing milestones and issues with falsifiable acceptance criteria. - Creating or editing milestones and issues with falsifiable acceptance criteria.
- Setting rolling planning horizons for multi-phase epics. - Setting rolling planning horizons for multi-phase epics.
- Not for branch or worktree management: use `git-workspace`. - Not for branch or worktree management: use `git-manager`.
- Not for pull request lifecycle or review tracking: use `gitea-pr`. - Not for pull request lifecycle or review tracking: use `gitea-pr`.
## Steps ## Steps
@@ -48,5 +48,5 @@ description: >-
acceptance criteria. acceptance criteria.
## Hands off to ## Hands off to
- `git-workspace`: to create dedicated branches or worktrees for the decomposed issues. - `git-manager`: to create dedicated branches or worktrees for the decomposed issues.
- `gitea-pr`: to link, review, and close issues via pull requests. - `gitea-pr`: to link, review, and close issues via pull requests.
+3 -4
View File
@@ -4,7 +4,7 @@ description: >-
Manage pull request lifecycle on Gitea: verify branch readiness, synthesize structured PR Manage pull request lifecycle on Gitea: verify branch readiness, synthesize structured PR
descriptions from code-review and verify-slice evidence packets, link issues, digest review descriptions from code-review and verify-slice evidence packets, link issues, digest review
feedback, and report merge readiness. Not for code inspection: use code-review. Not for feedback, and report merge readiness. Not for code inspection: use code-review. Not for
runtime QA: use verify-slice. Not for Git branch or merge mechanics: use git-workspace. runtime QA: use verify-slice. Not for Git branch, commit, or merge mechanics: use git-manager.
--- ---
# Gitea PR # Gitea PR
@@ -15,7 +15,7 @@ description: >-
- Tracking review comments, requested changes, and CI checks toward merge readiness. - Tracking review comments, requested changes, and CI checks toward merge readiness.
- Not for static code inspection: use `code-review`. - Not for static code inspection: use `code-review`.
- Not for runtime behavioral verification: use `verify-slice`. - Not for runtime behavioral verification: use `verify-slice`.
- Not for branch creation, rebasing, or local history integration: use `git-workspace`. - Not for branch creation, committing, rebasing, or local history integration: use `git-manager`.
## Steps ## Steps
1. **Verify branch readiness.** Confirm the local working tree is clean (`git status --short`), 1. **Verify branch readiness.** Confirm the local working tree is clean (`git status --short`),
@@ -57,5 +57,4 @@ description: >-
## Hands off to ## Hands off to
- `code-review`: if the diff changes and needs renewed static inspection. - `code-review`: if the diff changes and needs renewed static inspection.
- `verify-slice`: if new code requires runtime verification. - `verify-slice`: if new code requires runtime verification.
- `git-commit`: to package review fixes into atomic commits. - `git-manager`: to commit review fixes, rebase, or update the branch against upstream base.
- `git-workspace`: to rebase or update the branch against upstream base.
+2 -2
View File
@@ -12,7 +12,7 @@ Draft (WIP) -> Review -> Changes Requested -> Ready for Merge -> Merged
1. **Draft (WIP)**: PR opened early for visibility. In Gitea, prefixed with `WIP:` or flagged `--draft`. CI may run; reviews are informal. 1. **Draft (WIP)**: PR opened early for visibility. In Gitea, prefixed with `WIP:` or flagged `--draft`. CI may run; reviews are informal.
2. **Review**: Feature complete, working tree clean, static `code-review` and runtime `verify-slice` evidence packets attached. Ready for formal audit. 2. **Review**: Feature complete, working tree clean, static `code-review` and runtime `verify-slice` evidence packets attached. Ready for formal audit.
3. **Changes Requested**: Reviewer identified defects, missing tests, or security concerns. Agent addresses feedback via `git-commit` and refreshes evidence. 3. **Changes Requested**: Reviewer identified defects, missing tests, or security concerns. Agent addresses feedback, commits fixes via `git-manager`, and refreshes evidence.
4. **Ready for Merge**: All review threads resolved, static review confirms `Ready`, runtime checks pass, and mergeability is green. 4. **Ready for Merge**: All review threads resolved, static review confirms `Ready`, runtime checks pass, and mergeability is green.
5. **Merged**: Merged into target base branch by the human owner. Associated issues are closed automatically by Gitea. 5. **Merged**: Merged into target base branch by the human owner. Associated issues are closed automatically by Gitea.
@@ -70,7 +70,7 @@ When comments or change requests arrive on a PR:
- *Nits / Polish*: Minor style preferences that do not violate repo standards (human owner decides priority). - *Nits / Polish*: Minor style preferences that do not violate repo standards (human owner decides priority).
3. **Implement fixes on the feature branch**: 3. **Implement fixes on the feature branch**:
- Use `tdd` or direct edits. - Use `tdd` or direct edits.
- Commit fixes using `git-commit` with conventional commit scope (e.g. `fix(gitea-pr): address review feedback`). - Commit fixes incrementally following `git-manager` conventions (e.g. `fix(gitea-pr): address review feedback`).
4. **Re-verify after changes**: 4. **Re-verify after changes**:
- Run `code-review` to confirm the updated diff fingerprint is clean. - Run `code-review` to confirm the updated diff fingerprint is clean.
- Run `verify-slice` to substantiate runtime assertions. - Run `verify-slice` to substantiate runtime assertions.
+5 -5
View File
@@ -11,7 +11,7 @@ description: >-
## Use when ## Use when
- `flake.lock` has uncommitted modifications after updating inputs. - `flake.lock` has uncommitted modifications after updating inputs.
- Inspecting, auditing, or reviewing revisions introduced by flake updates. - Inspecting, auditing, or reviewing revisions introduced by flake updates.
- Not for general git diff inspections (use `/git-commit`). - Not for general Git operations or history management (use `/git-manager`).
- Not for troubleshooting unrelated NixOS build failures (use `/diagnose`). - Not for troubleshooting unrelated NixOS build failures (use `/diagnose`).
## Steps ## Steps
@@ -30,17 +30,17 @@ description: >-
4. **Synthesize changes and suggest commit message.** Summarize all inspected inputs, 4. **Synthesize changes and suggest commit message.** Summarize all inspected inputs,
noting their updated versions and key upstream changes. Suggest a Conventional Commit noting their updated versions and key upstream changes. Suggest a Conventional Commit
message (e.g. `chore(flake): bump <input> to <rev>` or `chore(deps): update inputs`). message (e.g. `chore(flake): bump <input> to <rev>` or `chore(deps): update inputs`).
5. **Hand off.** Hand off to `git-commit` to stage `flake.lock` and execute the commit. 5. **Hand off.** Hand off to `git-manager` to stage `flake.lock` and commit per session-mode rules.
## Your call ## Your call
- Deciding whether to accept an input update or roll it back. - Deciding whether to accept an input update or roll it back.
- Choosing whether to run additional dry builds beyond `nix flake check`. - Choosing whether to run additional dry builds beyond `nix flake check`.
- Approving the suggested commit message. - Approving the commit when on `main`/`master` or in `learning` mode per `profile/AGENTS.md`.
## Done when ## Done when
- All updated inputs have been reviewed, `nix flake check` passes cleanly, the change - All updated inputs have been reviewed, `nix flake check` passes cleanly, the change
summary and commit message are produced, and handoff to `git-commit` is ready. summary and commit message are produced, and handoff to `git-manager` is ready.
## Hands off to ## Hands off to
- `git-commit`: to review staged changes and create the commit. - `git-manager`: to stage `flake.lock` and record the commit.
- `diagnose`: if `nix flake check` or derivation evaluation fails. - `diagnose`: if `nix flake check` or derivation evaluation fails.
+2 -2
View File
@@ -55,7 +55,7 @@ description: >-
but are not presented as proof that the shell works. but are not presented as proof that the shell works.
- **Unverified**: version-sensitive behavior not checked against the pinned revision, - **Unverified**: version-sensitive behavior not checked against the pinned revision,
platforms not tested, and anything inferred rather than observed. platforms not tested, and anything inferred rather than observed.
- **User actions**: for example, track new files (by hand or with `git-commit`) and rerun - **User actions**: for example, track new files (by hand or with `git-manager`) and rerun
the blocked checks. the blocked checks.
## Your call ## Your call
@@ -71,6 +71,6 @@ description: >-
report has a row for every validation level. report has a row for every validation level.
## Hands off to ## Hands off to
- `git-commit`: to track or commit the new and changed files. - `git-manager`: to track or commit the new and changed files.
- `diagnose`: when the root cause lies outside Nix (application bug, host fault). - `diagnose`: when the root cause lies outside Nix (application bug, host fault).
- `inspect-flake-update`: to review a lock update. - `inspect-flake-update`: to review a lock update.
@@ -46,7 +46,7 @@ validation, never as proof that the devShell starts or compiles the project.
output. Never report a command that was not executed in this session. output. Never report a command that was not executed in this session.
- **Untracked files in Git-backed flakes**: when a newly created `flake.nix` or imported local - **Untracked files in Git-backed flakes**: when a newly created `flake.nix` or imported local
file is untracked, Git-filtered flake evaluation cannot see it. file is untracked, Git-filtered flake evaluation cannot see it.
- Do **not** run `git add` (staging belongs to the user / `git-commit`). - Do **not** run `git add` inside `nix-devshell` validation (staging and commits belong to `git-manager`).
- Do **not** substitute `path:.` by default (it bypasses Git source filtering, copies the whole - Do **not** substitute `path:.` by default (it bypasses Git source filtering, copies the whole
directory including untracked files into the Nix store, and does not test what contributors directory including untracked files into the Nix store, and does not test what contributors
will run). will run).
@@ -55,7 +55,7 @@ validation, never as proof that the devShell starts or compiles the project.
- Still run any check that does not depend on the untracked flake (static review of the file, - Still run any check that does not depend on the untracked flake (static review of the file,
syntax check with `nix-instantiate --parse <file>`, or validation of an existing `shell.nix`), syntax check with `nix-instantiate --parse <file>`, or validation of an existing `shell.nix`),
and state clearly that parsing does not prove evaluation, realization, or runtime. and state clearly that parsing does not prove evaluation, realization, or runtime.
- Under **User actions**, ask the user to track the file (manually or via `git-commit`) and - Under **User actions**, note that the file must be tracked (manually or via `git-manager`) and
rerun the blocked levels. rerun the blocked levels.
## 3. Symptom-to-evidence table ## 3. Symptom-to-evidence table
@@ -64,7 +64,7 @@ Treat symptoms as hypotheses. Inspect first, then make the smallest justified ch
| Symptom | Phase | What to inspect first | Smallest next step | | Symptom | Phase | What to inspect first | Smallest next step |
|---|---|---|---| |---|---|---|---|
| Flake says a visible local file does not exist | Evaluation | `git status` (is the path untracked?) | Explain Git source filtering; do not stage; ask user to track the path (or use `git-commit`). | | Flake says a visible local file does not exist | Evaluation | `git status` (is the path untracked?) | Explain Git source filtering; do not stage inside `nix-devshell`; track the path via `git-manager` (or ask user on `main`/`master`). |
| `experimental Nix feature 'nix-command' / 'flakes' is disabled` | CLI / Evaluation | `nix --version`, `/etc/nix/nix.conf`, `~/.config/nix/nix.conf`, project docs | Follow the project's documented invocation or use classic `shell.nix` if supported. | | `experimental Nix feature 'nix-command' / 'flakes' is disabled` | CLI / Evaluation | `nix --version`, `/etc/nix/nix.conf`, `~/.config/nix/nix.conf`, project docs | Follow the project's documented invocation or use classic `shell.nix` if supported. |
| `attribute 'devShells.<sys>.default' missing` or unsupported system | Evaluation / Realization | Flake outputs and package `meta.platforms` in pinned nixpkgs | Add only required systems; wrap OS-specific packages in `lib.optionals`. | | `attribute 'devShells.<sys>.default' missing` or unsupported system | Evaluation / Realization | Flake outputs and package `meta.platforms` in pinned nixpkgs | Add only required systems; wrap OS-specific packages in `lib.optionals`. |
| `cannot coerce a function to a string` in package list | Evaluation | Error trace and the `packages` / `buildInputs` list syntax | Parenthesize function application inside lists (`(pkgs.foo.withPackages ...)`), or pass required args. | | `cannot coerce a function to a string` in package list | Evaluation | Error trace and the `packages` / `buildInputs` list syntax | Parenthesize function application inside lists (`(pkgs.foo.withPackages ...)`), or pass required args. |
+1 -1
View File
@@ -47,4 +47,4 @@ Never edit files in working repo or run implementation commands unless explicitl
## Hands off to ## Hands off to
- `document`: when a durable insight came out of the session. - `document`: when a durable insight came out of the session.
- `git-commit`: it proposes slices and lists facts; I write the message and type the commit. - `git-manager`: in `learning` mode or `/practice`, lists diff facts while I write the message and run the commit.
+1 -1
View File
@@ -37,4 +37,4 @@ description: >-
- The Reconciliation Report is approved by the user, canonical documentation files are written or updated, and consistency validation passes cleanly. - The Reconciliation Report is approved by the user, canonical documentation files are written or updated, and consistency validation passes cleanly.
## Hands off to ## Hands off to
- `git-commit`: to review diffs and commit updated documentation files. - `git-manager`: for branch setup or committing updated documentation files.
+1 -1
View File
@@ -37,4 +37,4 @@ description: >-
- `code-review`: to inspect the resulting diff, code smells, defensive invariants, and test seam integrity. - `code-review`: to inspect the resulting diff, code smells, defensive invariants, and test seam integrity.
- `verify-slice`: when the slice also needs live runtime, browser DOM, or multi-service verification. - `verify-slice`: when the slice also needs live runtime, browser DOM, or multi-service verification.
- `diagnose`: when an unexpected test or fixture failure needs root-cause investigation. - `diagnose`: when an unexpected test or fixture failure needs root-cause investigation.
- `git-commit`: to commit cohesive vertical slices. - `git-manager`: for branch isolation or committing cohesive vertical slices.
+1 -1
View File
@@ -33,5 +33,5 @@ description: >-
## Hands off to ## Hands off to
- `diagnose`: when a failed or blocked check needs root-cause investigation. - `diagnose`: when a failed or blocked check needs root-cause investigation.
- `git-commit`: when packaging approved verification or repair changes. - `git-manager`: when committing verified repair changes or managing test branches.
- `document`: when verification uncovers a durable architectural insight or decision. - `document`: when verification uncovers a durable architectural insight or decision.