Skip to content

feat(skill): add confirmed expense-delete and ledger-delete alias (1.1.41) - #137

Merged
yunze7373 merged 1 commit into
mainfrom
feat/skill-1.1.41-expense-delete
Oct 10, 2026
Merged

yunze7373 merged 1 commit into
mainfrom
feat/skill-1.1.41-expense-delete

Conversation

@yunze7373

Copy link
Copy Markdown
Member

Summary

  • Add confirmed expense-delete (and discovery-compatible ledger-delete alias) to the XMemo standalone Skill CLI (skills/xmemo/scripts/xmemo-skill.mjs) for soft-deleting ledger transactions by their ledger-list transaction ID via POST /v1/skill/operations.
  • Require explicit --confirm before dispatching any network request; omit local --confirm from the outbound /v1/skill/operations arguments payload so only { "id": "<transaction_id>" } is sent to the server.
  • Align standalone command --help output, SKILL.md, references/ledger-operations.md, references/runtime-operations.md, and references/troubleshooting.md with expense-delete (ledger-delete alias), server scope enforcement (ledger:read plus delete-capable scope memory:delete or memory:write), and non-TTY read output behavior after update.
  • Bump standalone Skill version to 1.1.41 and update skills/xmemo/CHANGELOG.md and golden snapshot fixtures.

Verification

  • npm run lint: 0 errors
  • node --test test/xmemo-skill.test.js test/xmemo-skill-snapshot.test.js test/xmemo-skill-profile-offer.test.js test/xmemo-standalone-skill.test.js: 159/159 pass
  • node scripts/verify-release-packaging.mjs: 4/4 packaging drills pass
  • npm test: full suite passes
  • SkillSpector static scan on skills/xmemo: Score 41 (MEDIUM / CAUTION, 3 baseline findings, 0 new findings)

Add confirmed expense-delete and its discovery-compatible ledger-delete alias to the standalone XMemo Skill CLI (v1.1.41), sending only { id } to /v1/skill/operations after local --confirm validation. Align help, SKILL.md, ledger/runtime/troubleshooting references, snapshots, and unit tests.
@yunze7373
yunze7373 merged commit 2bd141e into main Oct 10, 2026
7 checks passed
@yunze7373
yunze7373 deleted the feat/skill-1.1.41-expense-delete branch October 10, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant