AgentStack
SKILL verified 0BSD Self-run

Goal Ledger Abandon

skill-jpbaking-goal-ledger-goal-ledger-abandon · by jpbaking

>-

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-jpbaking-goal-ledger-goal-ledger-abandon

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Goal Ledger Abandon? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Goal Ledger — abandon without erasing history

Abandonment is a durable terminal state, not deletion. Preserve the ledger and work so the decision can be understood or reversed later.

1. Load and summarize

Read sections 1–3 of the sibling goal-ledger skill. If there is no ledger, say so and stop. If status is already completed or abandoned, report it and stop.

Show the Goal ID, Outcome, strategy and work branch, phase counts, blockers, matching goal commits, and dirty worktree state. Explain that abandonment will keep the ledger, commits, and code changes.

2. Confirm abandonment

Ask explicitly: "Mark this goal abandoned while preserving its ledger and work?" Anything short of a clear yes changes nothing.

On confirmation:

  1. Set Goal status abandoned.
  2. Update Handoff: current position abandoned, next action none, and blockers with the user's reason when provided.
  3. Append an abandonment log entry. Do not change phase statuses merely to make them terminal.
  4. Run the validator bundled with the sibling goal-ledger skill as scripts/validate_goal_ledger.py --root . Repair ledger-format errors before preserving the state; warnings do not prevent abandonment. If Python 3 is unavailable, check the format manually.

3. Preserve Git state

When Repository: yes:

  • If Git preparation never completed (Strategy: none, missing baseline, or no approval commit), do not create or switch branches merely to abandon a draft. Save the abandoned ledger locally; commit it only if the user separately asks to record it on the current branch.
  • After Git preparation, if the worktree contains partial goal work, ask separately whether to checkpoint those goal-owned changes in the abandonment commit. Default No. Never stage unrelated files.
  • After Git preparation, whether or not partial code is included, stage .goal-ledger/GOAL.md and create goal-ledger(abandon): with the matching Goal ID trailer. If partial work is not included, leave it untouched and report it as uncommitted.
  • Never reset, revert, delete the work branch, or rewrite history.
  • For an isolated branch with a clean tree, offer to switch back to Starting branch; require explicit permission and keep the goal branch intact.
  • If partial work remains dirty because checkpointing was declined, stay on the goal branch. Offer a separately authorized checkpoint or recoverable stash, or leave it in place; never carry it onto the starting branch or discard it automatically.
  • On current-branch, remain on that branch and warn that goal commits are part of its history.

Without Git, save the ledger state and report any remaining files.

4. Report

State what was marked abandoned, which files or partial changes were committed, what remains uncommitted, the current branch, and how to recover the record later. Do not offer deletion as routine cleanup.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.