Skip to content

Mirror the withdrawn-claims register from ad-res-j7 (32 claims) - #19

Merged
drzo merged 1 commit into
mainfrom
claude/review-bom-docs-uMY6H
Nov 25, 2026
Merged

drzo merged 1 commit into
mainfrom
claude/review-bom-docs-uMY6H

Conversation

@drzo

@drzo drzo commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Brings docs/strategic/WITHDRAWN_CLAIMS_REGISTER.json from 29 claims to 32, matching cogpy/ad-res-j7, which is canonical. No other file changes; the checker here already matches.

Added

  • rst-paid-elliott-90k (ad-res-j7 #5142, 19 Nov 2026): on 11 Sep 2025 RST received R89,836.54 from Elliott Attorneys; it did not pay them about R90,000.
  • slg-fy2025-prime-unpaid (ad-res-j7 #5146, 25 Nov 2026): "SLG neither paid nor booked the liability" is withdrawn. SLG paid Prime R4,140,629.69 from ABSA in FY2025.
  • prime-2023-2026-11112748 (ad-res-j7 #5146): the Prime total for 2023–2026 is at least R15,274,990.40, not R11,112,748.09.

Changed

  • prime-2023-2026-11234012: its correction text now gives the new floor.

The mirrored file loads in the checker and its claims equal the canonical list.


Generated by Claude Code

Adds three claims: rst-paid-elliott-90k (ad-res-j7 #5142, 19 Nov 2026),
slg-fy2025-prime-unpaid and prime-2023-2026-11112748 (ad-res-j7 #5146,
25 Nov 2026). Updates the correction text of prime-2023-2026-11234012.
ad-res-j7 is canonical.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RDB1UaJwokY8cw2E1M2fvp
@drzo
drzo marked this pull request as ready for review November 25, 2026 12:03
Copilot AI balanced review requested due to automatic review settings November 25, 2026 12:03
@drzo
drzo merged commit f02d393 into main Nov 25, 2026
5 of 6 checks passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 5 potential issues.

Devin Review

},
{
"id": "rst-paid-elliott-90k",
"pattern": "(?i)(?<!from )\\bpa(?:y|ys|id|ying|yment)\\b[^.\\n|]{0,60}?(?:~\\s?|approximately\\s|about\\s|some\\s)?(?:R|ZAR)\\s?(?:90(?:[ ,]000|\\s?k\\b)|89[ ,]836(?:\\.54)?)[^.\\n|]{0,120}?\\bto\\s+Elliott?\\b",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Missed Elliott payment claim in payee-first wording

rst-paid-elliott-90k lets “RST paid Elliott Attorneys about R90,000 on 11 September 2025” pass the PR guard. It only recognizes the payee after the amount.

Learn more

The PR guard checks added documentation lines, and violations reports a claim only when its regex matches. The Elliott rule detects amount-before-payee wording, but a contributor can describe the same payment with the payee first. The register already uses payee-first wording for a real payment in its negative examples.

Example: “RST paid about R90,000 to Elliott Attorneys on 11 September 2025” fails the guard. “RST paid Elliott Attorneys about R90,000 on 11 September 2025” passes, although the two lines make the same claim.

Recommended fix: In the canonical register, add a payee-first branch limited to the withdrawn amounts. Add a must_match case for that word order and retain the inbound-transfer and R25,833.95 genuine payment exceptions before mirroring the change.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

},
{
"id": "slg-fy2025-prime-unpaid",
"pattern": "(?i)neither paid nor booked|FY2025 manufacturer payments\\s*=\\s*R ?0\\b|no payments? to Prime in FY2025|paid Prime nothing in FY2025",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 FNB-only findings rejected as withdrawn

slg-fy2025-prime-unpaid flags “SLG made no payments to Prime in FY2025 through FNB” as withdrawn. The correction preserves the FNB-only finding; it withdraws the claim across all accounts.

Learn more

The PR guard calls violations on added lines. The FY2025 rule matches no payments to Prime in FY2025 even when the rest of the line limits the claim to FNB. Its existing negative example inserts two other payees after Prime, so it does not test this match.

Example: “SLG made no payments to Prime in FY2025” correctly fails. Adding “through FNB” still fails, even though that qualifier changes the line from an all-account claim to the finding preserved by the correction.

Recommended fix: In the canonical register, distinguish FNB-only wording from the unqualified claim. Add a must_not_match case with the qualifier after FY2025 and keep the unqualified positive case.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

},
{
"id": "slg-fy2025-prime-unpaid",
"pattern": "(?i)neither paid nor booked|FY2025 manufacturer payments\\s*=\\s*R ?0\\b|no payments? to Prime in FY2025|paid Prime nothing in FY2025",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Missed denial of FY2025 Prime payments

slg-fy2025-prime-unpaid lets “SLG did not pay Prime in FY2025” pass the PR guard. It catches “paid Prime nothing” but misses the same claim phrased as “did not pay Prime.”

Learn more

The PR guard rejects an added line only when violations finds a registered pattern and no exemption. This rule catches four forms of the withdrawn FY2025 claim, but none handles did not pay Prime. The correction says SLG paid Prime through ABSA in FY2025.

Example: “SLG paid Prime nothing in FY2025” fails the guard. “SLG did not pay Prime in FY2025” passes even though it makes the same claim.

Recommended fix: Add direct negation of pay Prime as a tested form in the canonical pattern. Keep explicit account qualifiers out of that match so the broader coverage does not reject accurate FNB-only findings.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

"2025: 10 payments, R3,578,119.76.",
"Seven of the 2025 payments are from ABSA (R2,821,720.55)."
],
"correction": "SLG paid Prime at least R15,274,990.40 in 2023–2026 (2024: 8 payments, R3,504,960.61; 2025: 10 payments, R3,578,119.76). The earlier total left out ABSA cheque statements 3–14. Statements 1, 2 and 8 are not located, so the figure is a floor.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Unscoped search for bank statements

Both Prime corrections say three ABSA statements were not located without naming the repository, commit, or search method. The standing evidence rule requires that scope, and the PR guard prints the correction for contributors to reuse.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

"correction": "SLG paid Prime at least R15,274,990.40 in 2023–2026 (2024: 8 payments, R3,504,960.61; 2025: 10 payments, R3,578,119.76). The earlier total left out ABSA cheque statements 3–14. Statements 1, 2 and 8 are not located, so the figure is a floor.",
"withdrawn": "2026-11-25",
"source": "docs/strategic/SLG_ABSA_PRIME_PAYMENTS_2026_11_25.md",
"banner": "SLG's Prime payments 2023–2026 are at least R15,274,990.40, not R11,112,748.09 (ABSA statements 3–14 were left out)."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Prime banner rejected without its prefix

The PR guard rejects the new Prime banner when authors paste it into prose because it contains the superseded amount. The banner writer avoids the rejection by adding corrected.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The guard incorrectly rejects valid FNB-qualified payment statements, so the regex must distinguish bank-scoped wording from the withdrawn all-bank assertion and cover the trailing-qualifier example.

1 open issue
What changed in this PR

Updates ChainLex’s withdrawn-claims register to mirror the 32-claim canonical list in cogpy/ad-res-j7, extending the existing claim-checking guard.

Changes:

  • Adds three withdrawn claims covering payment direction, FY2025 payments, and a superseded payment total.
  • Revises an existing correction and banner to reflect the updated total.
  • Updates the register date and mirror metadata.
File Description
docs/​strategic/​WITHDRAWN_CLAIMS_REGISTER.json Adds claim patterns and validation examples, revises correction text, and refreshes mirror metadata.

Review effort: Balanced

},
{
"id": "slg-fy2025-prime-unpaid",
"pattern": "(?i)neither paid nor booked|FY2025 manufacturer payments\\s*=\\s*R ?0\\b|no payments? to Prime in FY2025|paid Prime nothing in FY2025",
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.

4 participants