Individual skill
paired-reversal-cancellation
Reference for paired-reversal handling on GL batch tapes: an RV row whose ref-trace points at an earlier row cancels BOTH legs (the RV and the row it references) — but ONLY when the two value-dates fall within the shop's reversal settlement window; an RV that references a too-old posting is NOT a cancellation and posts one-sided. Useful when the posting tape carries a reference-trace column alongside reversal codes and the running balance is off by twice the reversal magnitude, or by a whole leg on stale references.
tasks-extra/cobol-gl-batch-reconcile/environment/skills/paired-reversal-cancellation/SKILL.md
Source commit f860ecf02ef53412a030f8661c83d644b739ff01
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,906
- Repository last updated
- Nov 4, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- benchmark Repository topic
- skillsbench Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 6,098 bytes
Read excerpt
# Paired reversal cancellation
GL batch tapes that support corrections distinguish two reversal flavors:
| Flavor | Shape on tape | Effect on balance |
|--------------|----------------------------------------|------------------------------------------------------------------------------|
| Unpaired RV | `RV` row, ref-trace blank | Posts via the standard RV rule for the account type (e.g. sign-flip on a deposit). |
| Paired RV | `RV` row, ref-trace = an earlier trace, **within the reversal window** | The RV row AND the row it references are BOTH suppressed; both reported as `CANCEL` rejects; net delta to the balance is zero. |
The intent of a paired RV is "this earlier posting was a mistake — erase
it entirely." If only the RV is suppressed, the original still posts and
the running balance ends up off by `2 × magnitude` (the unwanted original
plus the absence of the reversal that would have offset it).