reconify-engine-ci
Automate Reconify in CI. Use when producing deterministic artifacts, mapping reconciliation outcomes to job status, or retaining failure evidence.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 10
- Forks
- 3
01 前言 Front Matter
- name
- reconify-engine-ci
- description
- Automate Reconify in CI. Use when producing deterministic artifacts, mapping reconciliation outcomes to job status, or retaining failure evidence.
03 SKILL.md 正文
Reconify Engine CI
1. Define the contract and policy
Run reconify capabilities for the binary installed in CI. Choose whether unmatched rows or all
exception events—including financial-effect and settlement differences—should fail the job, and record the corresponding flag and exit codes from that
contract. This checkpoint is complete when config failures and reconciliation-policy failures have
separate handling.
2. Produce a complete artifact
reconify reconcile --config reconify.yaml --pair PAIR \
--format json --result-mode all --deterministic --out result.json \
--fail-if-exceptions
Add --audit when provenance is required. Supply --audit-fixed-timestamp RFC3339 when identical
inputs must produce byte-identical artifacts. Keep the config in version control beside the
workflow.
3. Preserve the Engine exit code
GitHub Actions runs shell steps with fail-fast behavior, so capture the status before applying the job policy:
set +e
reconify reconcile --config reconify.yaml --pair PAIR \
--format json --result-mode all --deterministic --out result.json \
--fail-if-exceptions
status=$?
set -e
case "$status" in
0) echo "clean" ;;
2) echo "configuration failure" >&2; exit 1 ;;
3|4) echo "reconciliation differences" >&2; exit 1 ;;
*) echo "unexpected Engine failure: $status" >&2; exit "$status" ;;
esac
Verify these codes against capabilities when adopting a different Engine protocol version.
To gate the agent deliverables themselves, run reconify --agent verify after the artifacts exist.
Exit 0 is clean (skipped checks are not failures). Exit 2 with CONFIG_INVALID is a config
failure handled like the reconcile case above; exit 2 with VERIFICATION_FAILED means a
deliverable is stale or inconsistent: treat it as a job failure and retain the verification output
with the artifacts. Name --result and --explanation
explicitly in CI so a missing artifact fails instead of being skipped.
When financial checks are configured, retain financial_effect_diff and settlement_diff events in
the failure artifact. financial_unchecked is informational and does not fail the job by itself;
--fail-if-exceptions fails for financial and settlement differences as well as ordinary exceptions.
4. Retain evidence on failure
Upload result.json with the CI platform's always-run condition so policy failures retain the
artifact that explains them. For large inputs, read ../reconify-engine-performance/SKILL.md and
choose a streaming artifact plus explicit retention limits.
CI work is complete when the same commit and inputs reproduce the artifact, every opted-in exit code has a deliberate job outcome, and failure evidence remains downloadable.
04 同仓库更多 Skills
reconify-performance
Compatibility alias for reconify-engine-performance.
reconify-engine-reconcile
Reconcile unfamiliar financial files end to end. Use when one task spans input discovery, config creation or repair, Engine execution, and result explanation.
reconify-engine-performance
Fit Reconify runs within resource limits. Use when inputs cause high memory, swapping, slow execution, large artifacts, or a need for progress telemetry.
reconify-engine-debug
Diagnose unexpected Reconify results. Use when counters, exception events, duplicates, or grouped matches disagree with the expected business scenario.
reconify-engine-config
Configure Reconify from real input files. Use when creating or correcting reconify.yaml, mapping columns, setting tolerances, or selecting matching passes.
reconify-engine-cli
Resolve Reconify CLI behavior from the installed binary. Use when choosing commands, flags, formats, schemas, or exit-code handling.