Skip to content

Mirror the withdrawn-claims register (29 claims) from ad-res-j7 - #15

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

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

Conversation

@drzo

@drzo drzo commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Mirrors docs/strategic/WITHDRAWN_CLAIMS_REGISTER.json (29 claims, updated 3 Nov 2026) and scripts/check_withdrawn_claims.py from cogpy/ad-res-j7, which is canonical.

  • New claim r10-6m-extraction. The 3 and 11 Sep 2025 transfers (R10,624,131.18) moved money from each company's current account into its own savings, so they are not an extraction.
  • Pattern tests. Every pattern now carries must_match / must_not_match examples. The checker also joins fenced diagrams and wrapped lines before matching.
  • Unchanged. This repository's own allow_paths are kept.

Banners. No file here carries the new claim. The banner tool proposed one change, to zonent/model/stock-flow/SF_SDM_SPEC.md; I reverted it, because cogpy/zonent is canonical for that copy.

The withdrawn-claims guard passes on the diff. Context: cogpy/ad-res-j7#5131.


Generated by Claude Code

…er from ad-res-j7; banner the R10.6M claim where it appears

Adds r10-6m-extraction: the 3 and 11 Sep 2025 transfers (R10,624,131.18) moved money into each company's own savings, not out of the companies. Every pattern now carries must_match / must_not_match examples.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RDB1UaJwokY8cw2E1M2fvp
@drzo
drzo marked this pull request as ready for review November 11, 2026 11:27
Copilot AI balanced review requested due to automatic review settings November 11, 2026 11:27
@drzo
drzo merged commit 7a732f9 into main Nov 11, 2026
6 checks passed

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 checker still rejects valid wrapped corrections and diagrams while missing withdrawn claims in reverse-order wording and boxed text.

4 open issues
What changed in this PR

Updates the repository’s withdrawn-claims guard to mirror the canonical 29-claim register while preserving local path exemptions.

Changes:

  • Adds r10-6m-extraction and revises several existing patterns.
  • Adds required matching, nonmatching, and exemption examples, validated before scanning.
  • Extends wrapped-text detection to fenced diagrams and adds a fallback for oversized combined prefilter patterns.
File Description
scripts/​check_withdrawn_claims.py Validates register examples, joins diagram text, and adds per-pattern prefilter fallback.
docs/​strategic/​WITHDRAWN_CLAIMS_REGISTER.json Mirrors 29 claims with updated patterns and examples, retaining local exemptions.

Review effort: Balanced

"description": "Claims that were withdrawn or refuted after verification. scripts/check_withdrawn_claims.py fails any pull request that adds a line repeating one of them. A line is allowed when it cites the claim as withdrawn or corrected (see allow_line_markers), or sits on a verbatim or archive path (see allow_paths). Each claim carries must_match and must_not_match. The script refuses to run when a pattern misses a must_match form or matches a must_not_match correction. Add a claim here the day it is withdrawn, with both lists.",
"updated": "2026-11-03",
"mirror_of": "cogpy/ad-res-j7 docs/strategic/WITHDRAWN_CLAIMS_REGISTER.json (2026-11-03). ad-res-j7 is canonical: add claims there first, then copy.",
"allow_line_markers": "(?i)withdrawn|refuted|\\bfalse\\b|corrected|correction|superseded|do not plead|don.t plead|do not cite|do not repeat|not established|\\bnot a director|struck|~~|⛔|if .{0,20}does(n.t| not) use|not (?:shown to be )?an extraction",
{
"id": "rwd-7700-2887676-aje",
"pattern": "(?i)2,887,676\\.80[^\\n]{0,60}(written|to zero|to nil|→ ?0|to R0)|(written|nil)[^\\n]{0,60}2,887,676\\.80",
"pattern": "(?i)2,887,676\\.80[^\\n]{0,60}(written|to zero|to nil|→ ?0|to R0)|\\bwritten (?:down )?to (?:zero|nil|R0)\\b(?:(?!\\d{1,3}(?:,\\d{3})+\\.\\d{2})[^\\n]){0,120}2,887,676\\.80",
Comment on lines +176 to +178
if not joinable(text) or BLOCK_START.match(text):
paragraphs.append(sub)
sub = []
Comment on lines +179 to +180
if joinable(text):
sub.append((no, text.strip()))
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