diff --git a/extensions/draft-curation/SKILL.md b/extensions/draft-curation/SKILL.md index a3ec0e9..ea803bb 100644 --- a/extensions/draft-curation/SKILL.md +++ b/extensions/draft-curation/SKILL.md @@ -29,4 +29,4 @@ description: >- - Staged draft is relocated, removed from `00-inbox/`, and repository validation passes cleanly. ## 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. diff --git a/extensions/draft-curation/references/curation-matrix.md b/extensions/draft-curation/references/curation-matrix.md index 5c398e7..bc52267 100644 --- a/extensions/draft-curation/references/curation-matrix.md +++ b/extensions/draft-curation/references/curation-matrix.md @@ -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. 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. -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. ## 2. Epistemic Classification Matrix diff --git a/skills/build-skill/SKILL.md b/skills/build-skill/SKILL.md index 31492a5..72fb81e 100644 --- a/skills/build-skill/SKILL.md +++ b/skills/build-skill/SKILL.md @@ -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. ## Hands off to -- `git-commit`: to commit the new or changed skill. +- `git-manager`: for branch isolation, checkpoint commits, or repository operations. diff --git a/skills/code-review/SKILL.md b/skills/code-review/SKILL.md index d5af6eb..43e9f18 100644 --- a/skills/code-review/SKILL.md +++ b/skills/code-review/SKILL.md @@ -39,4 +39,4 @@ description: >- ## Hands off to - `diagnose`: when a finding exposes a root cause that requires deeper troubleshooting. - `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. diff --git a/skills/diagnose/SKILL.md b/skills/diagnose/SKILL.md index 8c40e3a..f20f645 100644 --- a/skills/diagnose/SKILL.md +++ b/skills/diagnose/SKILL.md @@ -31,19 +31,19 @@ Redact secrets (tokens, keys, connection strings) from anything you print or sav ## Checkpoints 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** (expected vs actual), **Next action**, **Recovery** (how to roll back). For trivial issues, a one-sentence status is enough. ## Your call - 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. ## Done when - The fix is verified where the failure happened, and all temporary probes are removed. ## 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. diff --git a/skills/document/SKILL.md b/skills/document/SKILL.md index ee3384d..14481b7 100644 --- a/skills/document/SKILL.md +++ b/skills/document/SKILL.md @@ -10,7 +10,7 @@ description: >- # Document ## 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. - 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 - `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. diff --git a/skills/gitea-plan/SKILL.md b/skills/gitea-plan/SKILL.md index b9662c7..8e722c4 100644 --- a/skills/gitea-plan/SKILL.md +++ b/skills/gitea-plan/SKILL.md @@ -13,7 +13,7 @@ description: >- - Decomposing a project, feature request, or technical plan into trackable Gitea units. - Creating or editing milestones and issues with falsifiable acceptance criteria. - 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`. ## Steps @@ -48,5 +48,5 @@ description: >- acceptance criteria. ## 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. diff --git a/skills/gitea-pr/SKILL.md b/skills/gitea-pr/SKILL.md index c991728..b37ed6a 100644 --- a/skills/gitea-pr/SKILL.md +++ b/skills/gitea-pr/SKILL.md @@ -4,7 +4,7 @@ description: >- 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 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 @@ -15,7 +15,7 @@ description: >- - Tracking review comments, requested changes, and CI checks toward merge readiness. - Not for static code inspection: use `code-review`. - 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 1. **Verify branch readiness.** Confirm the local working tree is clean (`git status --short`), @@ -57,5 +57,4 @@ description: >- ## Hands off to - `code-review`: if the diff changes and needs renewed static inspection. - `verify-slice`: if new code requires runtime verification. -- `git-commit`: to package review fixes into atomic commits. -- `git-workspace`: to rebase or update the branch against upstream base. +- `git-manager`: to commit review fixes, rebase, or update the branch against upstream base. diff --git a/skills/gitea-pr/references/pr-lifecycle.md b/skills/gitea-pr/references/pr-lifecycle.md index 47c8655..fd571bb 100644 --- a/skills/gitea-pr/references/pr-lifecycle.md +++ b/skills/gitea-pr/references/pr-lifecycle.md @@ -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. 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. 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). 3. **Implement fixes on the feature branch**: - 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**: - Run `code-review` to confirm the updated diff fingerprint is clean. - Run `verify-slice` to substantiate runtime assertions. diff --git a/skills/inspect-flake-update/SKILL.md b/skills/inspect-flake-update/SKILL.md index 4173a6f..feef252 100644 --- a/skills/inspect-flake-update/SKILL.md +++ b/skills/inspect-flake-update/SKILL.md @@ -11,7 +11,7 @@ description: >- ## Use when - `flake.lock` has uncommitted modifications after updating inputs. - 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`). ## Steps @@ -30,17 +30,17 @@ description: >- 4. **Synthesize changes and suggest commit message.** Summarize all inspected inputs, noting their updated versions and key upstream changes. Suggest a Conventional Commit message (e.g. `chore(flake): bump to ` 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 - Deciding whether to accept an input update or roll it back. - 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 - 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 -- `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. diff --git a/skills/nix-devshell/SKILL.md b/skills/nix-devshell/SKILL.md index b7559cc..a50c5c0 100644 --- a/skills/nix-devshell/SKILL.md +++ b/skills/nix-devshell/SKILL.md @@ -55,7 +55,7 @@ description: >- but are not presented as proof that the shell works. - **Unverified**: version-sensitive behavior not checked against the pinned revision, 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. ## Your call @@ -71,6 +71,6 @@ description: >- report has a row for every validation level. ## 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). - `inspect-flake-update`: to review a lock update. diff --git a/skills/nix-devshell/references/validation-troubleshooting.md b/skills/nix-devshell/references/validation-troubleshooting.md index 4d06aa9..1afdbdb 100644 --- a/skills/nix-devshell/references/validation-troubleshooting.md +++ b/skills/nix-devshell/references/validation-troubleshooting.md @@ -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. - **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. - - 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 directory including untracked files into the Nix store, and does not test what contributors 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, syntax check with `nix-instantiate --parse `, or validation of an existing `shell.nix`), 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. ## 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 | |---|---|---|---| -| 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. | | `attribute 'devShells..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. | diff --git a/skills/practice/SKILL.md b/skills/practice/SKILL.md index 5c139a3..6936789 100644 --- a/skills/practice/SKILL.md +++ b/skills/practice/SKILL.md @@ -47,4 +47,4 @@ Never edit files in working repo or run implementation commands unless explicitl ## Hands off to - `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. diff --git a/skills/reconcile-docs/SKILL.md b/skills/reconcile-docs/SKILL.md index e60e1a4..c1aa1ac 100644 --- a/skills/reconcile-docs/SKILL.md +++ b/skills/reconcile-docs/SKILL.md @@ -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. ## Hands off to -- `git-commit`: to review diffs and commit updated documentation files. +- `git-manager`: for branch setup or committing updated documentation files. diff --git a/skills/tdd/SKILL.md b/skills/tdd/SKILL.md index db20973..4b515a1 100644 --- a/skills/tdd/SKILL.md +++ b/skills/tdd/SKILL.md @@ -37,4 +37,4 @@ description: >- - `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. - `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. diff --git a/skills/verify-slice/SKILL.md b/skills/verify-slice/SKILL.md index 7723cfa..dd97100 100644 --- a/skills/verify-slice/SKILL.md +++ b/skills/verify-slice/SKILL.md @@ -33,5 +33,5 @@ description: >- ## Hands off to - `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.