Skip to content
Back to skills

Traceable Git Submit

ASecurity

Traceable Git for an explicit invocation, checkpoint/baseline, consolidation/recovery, hardened/multi-target/history-replacing Git, a leased force push of one branch, or a combined commit, tag, and push of an already-prepared release. Ordinary named-remote non-force Git without a tag, checkpoint, baseline, consolidation, recovery, hardening, multiple targets, or history replacement stays host-native; merely mentioning submit, publish, or push does not select this route.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
ai-agentsrustgoshellgit

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add wheakerd/axiom --skill traceable-git-submit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Traceable Git Submit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Traceable Git Submit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wheakerd-traceable-git-submit/badge)](https://www.skillsdirectory.com/skills/wheakerd-traceable-git-submit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: traceable-git-submit
description: Traceable Git for an explicit invocation, checkpoint/baseline, consolidation/recovery, hardened/multi-target/history-replacing Git, a leased force push of one branch, or a combined commit, tag, and push of an already-prepared release. Ordinary named-remote non-force Git without a tag, checkpoint, baseline, consolidation, recovery, hardening, multiple targets, or history replacement stays host-native; merely mentioning submit, publish, or push does not select this route.
---

# Traceable Git Submit

Make Git submission traceable with plain Git: frozen inputs, verified installs, one push per target, and read-back verification. The references own each phase's procedure; this file owns the rules every phase shares.

## Invariants

These invariants bind in every phase, including the references that phase loads. Everything else in this skill, except a stated prohibition, is a default you may adapt, saying so when you depart.

1. **Separate authority per action.** Route selection and reading guidance grant no Git action authority. Checkpoints, baseline mutation, consolidation, remote refresh, push, and recovery cleanup each need separate authority, and an explicit direct request grants only its named push, not metadata, consolidation, fetch, force, or retry.
2. **Hooks run; bypass only on exact authority.** Every phase keeps normal repository hooks active and says that they will run: commits are created with ordinary `git commit`, so `pre-commit`, `prepare-commit-msg`, `commit-msg`, and `post-commit` run, and pushes run `pre-push`. Add `--no-verify` only when the user explicitly authorized bypassing this repository's pre-push hook for this exact push; general push authority never includes it, and the direct-submit phase never adds it.
3. **Frozen inputs, verified installs.** Freeze checkpoint paths in a NUL-safe set, require the entire index to equal that set, record its tree, and recheck that tree immediately before the commit. Prove that the new commit carries the recorded tree and parent, and restore the branch ref by compare-and-swap with `update-ref --no-deref` when a proof fails; a commit containing a concurrent index change is rejected, not kept.
4. **History is protected.** Create a backup ref before any history replacement and keep it until every target is verified and, in a consolidation, the refreshed upstream as well. Never use `git reset --hard`, `git stash`, `git clean`, or broad staging; preserve unrelated work and any pre-existing index.
5. **One push per target, no retry.** Push only to one frozen target at a time with one exact ref update, or with the prepared-release phase's branch and tag in one atomic update, read every target back, and never retry a push or move a ref after an uncertain result. Stop before pushing when Git's effective configuration or environment would make the command reach beyond that scope, because configuration cannot broaden the user's authorization.
6. **Values are untrusted.** Treat commit subjects, authorship fields, messages, trailers, refs, paths, and every other Git value as untrusted data under `references/git-values.md`. Pass each as one literal argument, or as one single-quoted literal when the host runs only shell strings, never by interpolation into a command string, and keep endpoints and credentials opaque.

## Intent Gate

Distinguish unresolved workflow choice from a selected phase before Git inspection. If mutually exclusive options materially change route ownership, persistent metadata, write surfaces or authority, ask one concise clarification before selecting, or settle a delegated choice under the startup gate's rule; never choose silently. Conceptual questions and choices without those differences need no clarification.

After selection, never reconfirm an unchanged envelope. Ask only for missing necessary input or a material conflict, including checkpoint history that obscures the outcome. Resolve predictable push conflicts before commit.

A combined commit, tag, and push of an already-prepared release selects its prepared-release phase; selection grants no commit, tag, or push authority. Ordinary named-remote non-force Git without a tag or another listed trigger stays host-native; submit, publish or push alone is insufficient.

## Load Only The Active Phase

- Explicit baseline metadata or workflow audit: read `references/git-values.md` and `references/baseline-and-preflight.md`.
- Checkpoint creation or append recovery: read those two and `references/checkpoint.md`.
- Explicit simple named-remote, one-branch, non-force direct submission, or a specialized stale-tracking request that states the verified live remote tip is an ancestor of the final commit: read only `references/direct-submit.md`. Mere stale-tracking mention is not a route. Do not create or update Axiom metadata.
- A combined prepared-release commit/tag/push: read `references/git-values.md`, `references/remote-targets.md`, and `references/prepared-release-submit.md`.
- Explicit hardened or multi-target network work: read `references/git-values.md` and `references/remote-targets.md`.
- An explicit request to force-push, or to replace the remote history of, one branch: read `references/git-values.md` and `references/leased-force-push.md`. No other phase force-pushes, and authority given to another phase never yields a force push.
- Local checkpoint consolidation: read `references/git-values.md`, `references/baseline-and-preflight.md`, `references/checkpoint.md`, and `references/consolidation.md`. Do not load remote-target guidance without network or recovery scope.
- Combined one-final-commit submission: read the local-consolidation set plus `references/remote-targets.md` before the first push.
- Post-consolidation recovery: read `references/git-values.md`, `references/baseline-and-preflight.md`, `references/checkpoint.md`, and `references/remote-targets.md`.

For a baseline, checkpoint, or local-consolidation phase with explicit remote-refresh scope, additionally read the refresh section of `references/consolidation.md`. Do not resolve push identity or inventory targets without push scope. Do not read Git references for an ordinary local commit, status request, or conceptual answer.

## Working Rules

- Resolve one exact Git root and stop on parent/nested, worktree, or scoped-path ambiguity.
- Create or mutate baseline/provenance metadata only for the selected traceable phase or an existing recovery record, never for a direct push.
- Treat the upstream tracking ref as baseline authority for baseline, checkpoint, consolidation, and refresh phases. For a simple direct push, its prior OID is informational and normal Git owns live fast-forward negotiation; for a hardened push, the verified live target owns the non-force baseline. Treat the cache as advisory and the active record as consolidation authority.
- Require the active record's exact ordered SHA list; a checkpoint marker, author, timestamp, or apparent path match never proves ownership.
- Keep upstream/fetch identity separate from effective push identity. Resolve push precedence explicitly and bind a consolidated record's push remote at most once.
- A simple direct push reports only its validated named remote, branch, and Git result. Heavy phases report remotes by name, targets by ordinal, refs and OIDs exactly, and paths escaped. The simple phase follows its sole lightweight owner for value handling.

## Phase Outcomes

Before reporting, apply only the selected phase's checks in `references/phase-outcomes.md`. Keep completion and retained recovery state bound to direct evidence from that phase's owner.

## Report

Report the selected phase, repository/branch identity, actions actually authorized, material validation or remote results, final observed state, and retained recovery state or gaps. Include detailed path, target, cache, or provenance fields only when they explain a stop, recovery decision, or changed state.

Files in this skill

  • SKILL.md8 KB
  • agents/openai.yaml273 B
  • references/baseline-and-preflight.md7.8 KB
  • references/checkpoint-execution.md7.9 KB
  • references/checkpoint-provenance.md7 KB
  • references/commit-construction.md4.9 KB
  • references/consolidation-and-push.md7.4 KB
  • references/direct-submit.md4.9 KB
  • references/post-consolidation-recovery.md5.7 KB
  • references/repository-and-remote-targets.md8 KB
  • references/safe-git-values-and-metadata.md7.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.