Repository navigation
Releases
v0.7.1: Audit Hardening, AGPL-3.0-only License, and Linear Parser Performance
Versions: metesparser 0.7.1; mp-models, mp-parse, mp-verify, mp-export, and mp-review 2.0.0; mp-bearing 1.1.0; mp-ocr 1.0.1; Claude plugin 2.0.1 (review engine stays 2.0.0 so saved 2.0.0 reviews remain compatible).
Changed
- License: MetesParser is now licensed under the GNU Affero General Public License, version 3 only (
AGPL-3.0-only), replacing MIT, with commercial licenses available from the copyright holder (#70).
Removed
- Third-party sample data: Removed 22 third-party sample deeds and neutralized sample references; 87 sample ground truths remain (#71, #72, #73).
Fixed (#75)
- Fail-closed parsing and stated-area validation (
mp-parse): Fail closed on malformed negative, spaced-negative, and scientific-notation lengths, curve elements, angles, and stated areas; preserve conveyed-portion area recitals and sentence boundaries; prevent dropped empty tract segments or unaligned gaps from hiding non-positive stated areas; hardenTHnormalizer and PLSS section guards; extract per-segmentTract.poc_description. - Linear parser performance (
mp-parse): Eliminated quadratic backtracking and unwindowed alignment in_uncovered_text_gaps(anchored k-token alignment + local window),extract_area_statement,extract_prior_conveyance,extract_witness_trees,extract_pob,_has_malformed_foot_mark, andQUADRANT_PATTERN/_TH_*. - Models and bearing math (
mp-models,mp-bearing, monolith): Reject booleans on allFiniteFloatfields across_Modeland_Messagevia shared_NoBoolFloatModelwhile preserving standard JSON Schema numeric bounds; export sharedcoerce_bool_fieldandstated_areas_match; guard non-finite/boolean inputs in bearing and curve calculators and normalize-1e-17 % 360.0inazimuth_to_quadrant; callLegalDescription.model_rebuild()on monolith models. - Verification and verified export (
mp-verify,mp-export,Pipeline): Validatestated_area_sq_ftandclosure_tolerance_ft; align multi-tract deed-levelstated_area_sq_ftacrossverify_closure,export_verified_csv, andPipeline(excluding deeds withEXCEPTIONtracts); reject unlisted/conflicting supplied tracts inexport_verified_csv; avoid stampingEASEMENT_TRACT_NOTEonto shared boundary legs during single-tract verified export while failing closed on ambiguous equal-call subsets; blockis_fully_verified()on exception-onlyverify_tract(calls, tract=None)and isolate main-traverse confidence from positioned exceptions. - Review engine, OCR cache, CLI, and tooling (
mp-review,mp-ocr,scripts/): WirePreparedText.unresolved_commencementintomp_review.api, sync explicit--areaoverrides onto sole boundary tracts, align[EXCEPTION, EASEMENT]call retention across text/JSON/PDF paths, and harden_find_project_rootsymlink resolution; includemodel_namein OCR cache identity with atomic0600temp writes and cycle-guarded unwrapping; enforce case-insensitive collision checks,SIGINT/SIGTERM/SIGHUPtemp-config cleanup, and nullapi_keyrejection inscripts/parse_pdfs_to_md.sh; enforce exact workspace wheel sets inscripts/build_claude_plugin.py; alignWARNstatus labels inscripts/backfill_run_registry.py.
Release Assets
metesparser-plugin.zip+metesparser-plugin.zip.sha256(Claude plugin 2.0.1, locked deterministic runtime)metesparser-chat-skill.zip+metesparser-chat-skill.zip.sha256(standalone Claude chat Skill archive, same engine fingerprint)
Full Changelog: v0.7.0...v0.7.1
v0.7.0 — Description-Role Export Policy and Chat Skill
MetesParser is a proof of concept for source-traceable metes-and-bounds review with Claude and deterministic tools. Use deterministic code wherever possible, AI only where needed, and code to check AI-prepared inputs.
Native Claude, Cowork and chat acceptance and live Mapbox checks have not been run.
Highlights
- Verified export fails closed on description roles. A deed with more than one description exports as verified only when every description's role comes from an explicit heading; easement and exception tracts are never eligible. An ordinary single-description deed is unaffected.
- Breaking: the verified CSV adds
curve_typeas its 22nd column. Legacy 21-column CSVs still import. - Parsing: more bearing and length forms, joined and numbered courses, tie courses (stated, announced, or inferred from closure and noted as such), schedules, exceptions and easements. Unparseable courses are recorded and block verification instead of being dropped.
- Standalone Claude chat Skill ZIP, attached here for the first time, using the same engine as the plugin.
- Sample deeds: all 109 ground truths checked twice against their recorded PDFs; 22 Wayne County, Michigan deeds added; a consistency test checks every ground truth against its own legal text.
- Delivery packages are
delivery-2(existingdelivery-1packages still replay), and the dashboard calculator isdashboard-1.2.0.
Install
Download the ZIPs and their .sha256 files, then verify from the directory containing them:
shasum -a 256 -c metesparser-plugin.zip.sha256
shasum -a 256 -c metesparser-chat-skill.zip.sha256- Plugin: upload
metesparser-plugin.zipin Cowork, or extract it and runclaude --plugin-dir /absolute/path/to/extracted-pluginin Claude Code. - Chat Skill: upload
metesparser-chat-skill.zipthrough Customize → Skills with code execution enabled, then run its setup command each session.
Python 3.11+, uv (or the chat Skill's pinned bootstrap), writable storage and first-use dependency access are required where the commands run.
Upgrading
- Code that reads the verified CSV must expect 22 columns.
- Multi-description deeds need explicit PARCEL/TRACT headings, or one parcel per review.
- The review engine is 2.0.0:
inspect-artifactsreports reviews saved by the 1.0.0 engine as stale. Re-run them. - Dashboards saved by earlier versions show as stale and must be rebuilt.
Versions and validation
metesparser 0.7.0; plugin manifest 2.0.0; mp-models, mp-parse, mp-verify, mp-export, mp-review 2.0.0; mp-bearing 1.1.0; mp-ocr 1.0.1.
- Root tests: 7602 passed, 23 skipped, 95.03% coverage. Package and plugin tests: 7973 passed, 27 skipped. Lint and mypy pass.
- Both parsers match all 109 sample-deed ground truths.
- Both ZIPs were rebuilt under AGPL-3.0-only from
1e7af68, which is the v0.7.0 tag plus the relicensing change (#70) and no code changes. Each was built twice withSOURCE_DATE_EPOCHset to that commit's time, and the builds were byte-identical. They share engine fingerprintba917b13748400c7ca742a180c796d4a659f47dcb0f003eac6c1256deb831485.claude plugin validate --strictpasses on the extracted plugin.
License
AGPL-3.0-only, with commercial licenses available; see the README. These ZIPs replace the original builds, which carried the earlier MIT license file.
Review source readings and results before relying on them.
Full changelog · Plugin changelog · Changes since v0.6.0
Archive SHA-256: plugin ff68733b03f3bff421dd0eec27a7aeddf724678b1ec26538837077873a15e40d, chat Skill cbbc519e2c4640b4b2361984c395e080ff6441ec07fa53b7fb2f6724d0debf1c.
v0.6.0 — Claude Plugin and Deterministic Boundary Review
MetesParser is a proof of concept for source-traceable metes-and-bounds review with Claude and deterministic tools. Use deterministic code wherever possible, AI only where needed, and code to check AI-prepared inputs.
Highlights
- Claude plugin with 13 skill entrypoints for document intake, review, plots, comparisons, dashboards, corridors, supplied PLSS references and delivery.
- Saved revisions preserve original readings and incomplete drafts. Revision-bound SVG, PDF, DXF and geographic GeoJSON exports retain source and coordinate evidence.
- Shared parsing and geometry improvements, including circular-arc intersection checks and reproducible delivery artifacts.
- Plugin-first README, clearer host requirements, and a documented Claude chat/Cowork gap matrix. A separate chat Skill ZIP is proposed; it is not included in this release.
- Focused repository cleanup preserves historical outputs under
docs/archive/extraction-output/and consolidates plans underdocs/plans/.
Install
Download metesparser-plugin.zip and metesparser-plugin.zip.sha256, then verify with:
shasum -a 256 -c metesparser-plugin.zip.sha256Use the built ZIP in Claude's plugin upload interface, or extract it and run claude --plugin-dir /absolute/path/to/extracted-plugin in Claude Code. Python 3.11+, uv, writable storage and first-use dependency access are required in the actual execution environment. Cowork's cloud runtime does not inherit laptop tooling.
This standard plugin includes geographic preparation and delivery dependencies. Online raster reprojection requires the separate web-map build profile.
Versions and validation
Root package: 0.6.0. Plugin manifest: 1.0.0, first GitHub-distributed archive; no marketplace publication.
Release checks: 1,586 root tests passed, 23 skipped, 93.58% coverage; root mypy passed; archive and runtime hashes verified. Engine fingerprint is unchanged from the preceding implementation validation. Native chat/Cowork workflows and optional live Mapbox checks remain pending. Review source readings and results before relying on them.
Archive SHA-256: 53fd275378a71a04b82fbfac330a4711f8481b58638011216e24da12be68470a.
Full changelog · Chat and Cowork comparison · Changes since v0.5.0
v0.5.0 — Composable Package Architecture
Highlights
- Composable Package Architecture — Refactored monolith into 7 independently installable packages in a uv workspace monorepo (PR #23)
- Pipeline Orchestrator —
Pipelineclass chains mp-ocr → mp-parse → mp-verify → mp-export in a single call - 87 Sample Deeds — 24 new deeds for 9 properties with ground truth JSON + LlamaParse markdown (PR #30)
- 994 tests, ~93% coverage
Packages
| Package | Purpose |
|---|---|
mp-models |
Pydantic schemas, JSONL envelope, units (zero deps) |
mp-bearing |
Pure math — azimuth, curves, deltas |
mp-ocr |
LLM boundary — PDF → text (OpenAI/Gemini) |
mp-parse |
Rule-based parsing — text → calls |
mp-verify |
Geometric verification — 8 checks |
mp-export |
CSV/JSON/audit HTML output |
metesparser |
Pipeline orchestrator + CLI |
Added
- Cross-package import verification tests
- Run registry for prompt A/B testing (PR #14)
- Ground truth review packet generator (PR #16)
- LlamaParse markdown conversions for all 87 sample deeds (GPT-5, max quality)
Fixed
- Resolve remaining 3 audit failures — 63/63 pass (PR #24)
- Correct ground truth for missing Schedule C and garbled OCR deeds (PR #22)
- Audit script improvements and abbreviated cardinal matching (PR #21)
- Reparsed 4 problem deeds with GPT-5 (PR #17)
Full Changelog: v0.4.0...v0.5.0
v0.2.0 — Geometric Completeness
What's New
Phase 3: Enhanced Verification
- Area statement extraction ("CONTAINING X sq ft", "X acres more or less")
- Survey abbreviation expansion (IPF, IPS, IRF, IRS, CIP, R/W, N/F, PK)
- Found/set monument status classification
- Bearing reversal detection (adjacent courses ~180° apart)
- Distance reasonableness checks (<0.5ft, >10x median, >90% perimeter)
Phase 4: Geometric Completeness
- Meander/water boundary detection with keyword + preposition matching
- Compound (PCC) and reverse (PRC) curve detection
- Missing curve element calculation (any 2+ of radius/delta/arc/chord)
- Tie-in call separation (POC-to-POB filtering from closure)
- Indefinite call flagging for vague cardinal-only directions
Infrastructure
- CSV schema expanded from 16 to 21 fields
- 619 tests, 94% coverage
- Hardened structlog logging with JSON CLI output
- Comprehensive CLAUDE.md with feature reference table
Stats
- 619 tests passing
- 94% coverage
- 21-field CSV schema
- 8 verification checks
- 25 features across 4 phases