Skip to content

feat(sep): add sponsorship reconciliation, asset compatibility, data entry and memo context audits - #264

Open
onlywiseone wants to merge 1 commit into
Dantama022:mainfrom
onlywiseone:feature/204-207-sep-compliance-pack-5
Open

onlywiseone wants to merge 1 commit into
Dantama022:mainfrom
onlywiseone:feature/204-207-sep-compliance-pack-5

Conversation

@onlywiseone

@onlywiseone onlywiseone commented Oct 22, 2026 •

Copy link
Copy Markdown

Summary

Adds four read-only inspection commands (SEP compliance pack 5):

  • sponsorship-reconciliation <account>: reconciles entries sponsored by and on behalf of an account against num_sponsoring / num_sponsored. Handles pagination and reports completeness as complete, partial or inconclusive (ISSUE-162).
  • operation-asset-audit: checks asset references per operation for protocol rules, with optional Horizon trustline checks. Missing trustlines are warnings, never confirmed failures (ISSUE-163).
  • account-data-entry-audit: diffs two data-entry snapshots and validates key/value encoding against protocol limits. Raw and decoded changes are reported separately (ISSUE-164).
  • memo-context-audit: validates memo presence, type and value, expected destinations and operation count against user rules. Protocol findings are kept separate from policy findings (ISSUE-165).

Each command supports human-readable and --json output and is documented in docs/.

Closes #204
Closes #205
Closes #206
Closes #207

Validation

  • jest: 4 new suites, 24 tests passing
  • eslint + prettier: clean on all new files
  • tsc: new files typecheck cleanly in isolation. A full tsc --noEmit fails on pre-existing syntax errors in federation-response-report.ts, sep10-challenge-audit.ts, sponsorship-lifecycle-audit.ts and trustline-exposure.ts (unchanged on main). src/cli/index.ts also has 34 pre-existing prettier errors; this PR only adds 2 lines there.

)

…entry and memo context audits

Adds four read-only inspection commands:

- sponsorship-reconciliation (ISSUE-162)
- operation-asset-audit (ISSUE-163)
- account-data-entry-audit (ISSUE-164)
- memo-context-audit (ISSUE-165)

Closes Dantama022#204
Closes Dantama022#205
Closes Dantama022#206
Closes Dantama022#207
@drips-wave

drips-wave Bot commented Oct 22, 2026

Copy link
Copy Markdown

@onlywiseone Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant