feat(skills): add bookkeeper - bounded reconciliation engine#360
Open
jdjioe5-cpu wants to merge 1 commit into
Open
feat(skills): add bookkeeper - bounded reconciliation engine#360jdjioe5-cpu wants to merge 1 commit into
jdjioe5-cpu wants to merge 1 commit into
Conversation
- SKILL.md: full YAML frontmatter + runx.bookkeeper.reconciliation.v1 schema
- X.yaml: catalog metadata, runner reconcile (default), node stdlib only
- run.mjs: deterministic local reconciliation engine
- reads transactions[], chart_of_accounts[], prior_period{}
- matches via direct account_code, token_overlap, keyword hit, amount-band
- emits per-transaction decision with rule + confidence + anomalies
- aggregates top-level anomalies and reconciliation summary
- read-only — never opens bank rails, never mutates external state
- fixtures/inputs.json + expected_outputs.json: 6-tx mixed smoke case
- README.md: operator-facing usage + local smoke recipe
Local smoke run: 6/5 matched, 4 anomaly kinds surfaced, schema complete.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR delivers
A new runx skill \�ookkeeper\ that turns messy transaction lines into clean books without guessing.
Behavior
Output schema
unx.bookkeeper.reconciliation.v1\ — see \SKILL.md\ for the full packet spec.
Files
econcile, default true)
Local smoke run
\
RUNX_INPUTS_PATH=fixtures/inputs.json node run.mjs
6 transactions → 5 matched, 1 unmatched (mystery zero entry by design)
Anomalies surfaced: missing_date, suspicious_round_amount, carry_forward_drift_window
Match coverage rate: 0.83
\\
The skill is intentionally narrow and bounded; it never invents accounts or numbers and refuses to bypass human review steps.