OA Open Arbor v2.2.0
Field work / 16_RAP_AND_RAPPER_ARCHITECTURE.md Open Arbor v2.2.0 (from package.json)

Regenerative Arboriculture Protocol (RAP) and RAPPER Practitioner Architecture

Status: Canonical Project Architecture and Credentialing Specification Scope: Project Open Arbor only (canonical repository Arboracle-Ecosystem/openarbor; not a universal fleet rule) Protocol: Regenerative Arboriculture Protocol (RAP), tagline "That's a RAP", specification RAP-Spec v2.0 Practitioner Designation: Regenerative Arboriculture Protocol Practitioner in Ecological Restoration (RAPPER) License: CC BY-SA 4.0 Companion Documents: docs/13_RAP_PRACTICE_SPECIFICATION_v1.md, docs/LAYERS.md, and README.md


1. Why Open Arbor Moved from RCA to RAP and RAPPER (Protocol-First Ontology)

Open Arbor began exploring credential design while evaluating the American Society of Consulting Arborists (ASCA) Registered Consulting Arborist credential (bodhi/rca-viability-deep-analysis-2026-10-18, qualified in bodhi/post-session-sync-2026-10-18-currentness-audit), and briefly used the internal label "Regenerative Consulting Arborist (RCA)". On 2026-11-12 (commit 9ec1690), Open Arbor retired "Regenerative Consulting Arborist (RCA)" in docs/13_RCA_PRACTICE_SPECIFICATION_v1.md and cut over to docs/13_RAP_PRACTICE_SPECIFICATION_v1.md (RAP-Spec v2.0) for three reasons:

  1. Statutory and Trademark Clarity: In North American arboriculture and municipal permitting, RCA denotes a Registered Consulting Arborist credentialed under ASCA (ASCA_Registered_Consulting_Arborist in schemas/rap_openbadge_v3.schema.json). Open Arbor reserves RCA strictly for ASCA Registered Consulting Arborist references so municipal reviewers, attorneys, and working arborists never confuse open diagnostic records with a private guild title.
  2. Protocol Over Caste: Naming the project after a credential title centered a closed professional caste instead of an open methodology. Centering the Regenerative Arboriculture Protocol (RAP) makes the deterministic rules, biomechanics, and schemas primary (AGPL-3.0-only engine code under src/, bin/, web/, and server/; CC0-1.0 public-domain JSON schemas and ordinance datasets under schemas/ and data/; and CC BY-SA 4.0 practice prose under docs/). Practitioners who demonstrate verifiable field outcomes against RAP-Spec v2.0 earn the RAPPER designation rather than purchasing gatekept status.
  3. Backward Compatibility Without Collision: Thin legacy shims keep earlier URLs, exports, and integrations operational while the canonical surface stays pure. Legacy shims remain active at src/core/rcaEngine.js, src/core/leoRcaEngine.js, bin/openarbor-rca.mjs, schemas/rca_assessment.schema.json, schemas/rca_openbadge_v3.schema.json, MCP tool aliases (rca_biomechanics, rca_lint, leo_rca_verify), and the #oa1= state permalink .rca JSON envelope key. Legacy discriminators RAP_v1, RCA_v1, and RCA_v2 remain schema-compatible alongside canonical RAP_v2.

2. From Consulting Arborist to Practitioner in Ecological Restoration (RAPPER)

Renaming the practitioner from "Consulting Arborist" to Regenerative Arboriculture Protocol Practitioner in Ecological Restoration aligns credential identity with biological reality. Managing mature woody perennials as nested holobionts across a 200-year horizon (STIM Protocol v7.0011, DOI 10.5281/zenodo.21297458) requires connecting aboveground trunk mechanics to rhizosphere porosity, vadose hydrology, fungal inoculation, and native understory plant guilds. This broader mandate maps across the five mandatory domains in schemas/rap_assessment.schema.json and Open Arbor's seven core ESM modules (src/core/):

  • Aboveground Biomechanics and Root Protection (src/core/rootZone.js, src/core/rapEngine.js): Implements ANSI A300 (Part 5), ISA BMP, ISA TRAQ, Australian AS 4970-2009 Structural Root Zone (SRZ) windthrow math, UK BS 5837:2012, Alex Shigo's CODIT decay compartmentalization model, Claus Mattheck's hollow-cylinder bending safety threshold (t/R >= 0.30), and 1-ft spatial grid union de-duplication (unionRootZoneArea) so overlapping grove root zones are not double-counted.
  • Pneumatic Rhizosphere Remediation (src/core/rapEngine.js): Computes radial pneumatic excavation (150 psi AirSpade radial trenching), stem-girdling root (SGR) relief, root-flare exposure, and biological amendments scaled to the Tree Influence Zone (TIZ): pre-charged biochar (8% of decompacted volume), fungal compost (15% of decompacted volume), humate (1.5 kg/m3), and coarse ramial woodchip mulch (8 cm depth across TIZ).
  • Vadose Soil Hydrology (src/core/soilFunction.js): Captures bulk density (g/cm3), penetrometer resistance (psi), infiltration rate (mm/hr), soil organic matter (organic_matter_percent), and soil pH baseline alongside validateSoilFunction provenance checks (measurement_dates ISO pairs, source, and measured vs. estimated method flags) and estimateSoilSpongeCapacity (computed from NRCS soil-water capacity benchmarks of roughly 20,000 gal/acre per 1% organic matter above a 1% baseline across the top 6 in, plus 25.4 mm storm volume capture across TIZ, classified into Compacted (< 15 mm/hr), Moderate (15 to 50 mm/hr), and Living Sponge (> 50 mm/hr)).
  • Bioregional Guilds, Allometrics, and Municipal Law (src/core/ordinanceEngine.js, src/core/ecosystemBenefits.js): Encodes declarative municipal ordinances (central_texas_ordinances.json covering Austin, Georgetown, Liberty Hill, Cedar Park, and Round Rock; rogue_valley_oregon_ordinances.json covering Ashland, Medford, and Grants Pass), enforces seasonal Ceratocystis fagacearum (Oak Wilt) vector restrictions, pairs restoration prescriptions with Society for Ecological Restoration (SER) reference ecosystems and iNaturalist-tagged native companion species guilds (inaturalist_taxon_id), exports OGC CRS84 GeoJSON (toGeoJSONFeatureCollection), and tracks modeled carbon, rainfall interception, and cooling benefits (Nowak 1994, Cairns et al. 1997, McPherson & Simpson 1999, Xiao et al. 2000, Nowak et al. 2006, and John White FCIN12).

3. Dual Semiotics of RAP and "That's a RAP"

Inside Project Open Arbor, RAP carries two coupled operational meanings supported directly in engine validation and prompt architecture:

  1. Physical Acoustic Rapping and Instrument Provenance: When assessing a hollow trunk in the field, arborists tap the bark perimeter with a sounding mallet (rapping the outer shell) to listen for resonance changes before testing suspected cavities with resistance micro-drilling (resistograph) or acoustic velocity tomography (sonic_tomography). Open Arbor encodes a strict line between acoustic screening impressions and instrument quantification: composeArboristHandoffBrief separates sonicTomographyVerified: true from hypothesis defaults, and fieldObservationLog.js (baseline.internal_decay_method) enforces explicit null for baseline.measured_t_over_r whenever visual_only_unmeasured is recorded (PROVENANCE_VIOLATION if any numeric t/R is attached without instrument measurement).
  2. Linguistic Clarity Through LEO-RAP Profile 01: src/core/leoRapEngine.js (compileLeoRapBrief, verifyLeoRapNarrative, runLeoRapSelfAudit) compiles deterministic 6-slot Logical English Orchestration (LEO-RAP) briefs aligned with the openarbor-steward skill (agents/openarbor-steward/SKILL.md). It adapts tone across homeowner (converting DBH to chest-height circumference at 4.5 ft and omitting unverified t/R defaults), practitioner (citing ANSI A300, AS 4970, Mattheck t/R >= 0.30, AirSpade volume, and STIM falsifiers), and municipal (citing exact code chapters and elevating UNVERIFIED statutory subsections) audiences while locking every key number to [[oracle:key=value]] anchors and verifying self-audit defenses against 3 negative sabotage fixtures (RAP_MATTHECK_T_OVER_R, MAST_FM_2_6, and EPISTEMIC_STATUS_DRIFT).
  3. Evidentiary Closure ("That's a RAP"): When lintRapEvidentiaryReport passes all five mandatory gates (MISSING_DOMAIN, INVALID_BIOMETRICS / INVALID_GEO_LOCATION, UNJUSTIFIED_REMOVAL / EVIDENTIARY_DEFECT, OAK_WILT_VIOLATION, and INCOMPLETE_SOIL_DATA) and compileRapEvidentiaryMarkdown seals the record with computeCanonicalSha256, an un-evidenced removal recommendation hits a verifiable biomechanical and statutory stop via compilePreservationCounterNotice.

4. Four Architectural Pillars in Open Arbor v2.1.0

Open Arbor (v2.1.0, openarbor-mcp v2.2.0) implements the RAP and RAPPER model across four concrete engineering pillars:

  • Pillar 1: Collaborative Arborist Recruitment and Phased Stewardship Triage (src/core/leoRapEngine.js): Rather than mailing confrontational counter-notices on initial outreach, composeArboristHandoffBrief separates client-side handoffs from practitioner benchmarks. steward_to_arborist_message intentionally omits synthetic t/R assumptions and contractor bid prices (stage1Usd, removalBidUsd), sending only measured DBH and circumference, species, municipal protection tier, CRZ radius, cash-in-lieu mitigation exposure, active seasonal Oak Wilt restrictions, an on-site inspection request, and the #oa1= state permalink. Meanwhile, computePhasedStewardshipTriage splits the 5-year model (computeRegenerativePracticeEconomics) into three stages (STAGE_1_COLLAR_AND_STABILITY_TRIAGE, STAGE_2_RADIAL_SOIL_SPONGE, and STAGE_3_GUILD_AND_STIM_AUDIT), bounding Day-1 Stage 1 price at Math.min(Math.round(full5YrGross * 0.24), Math.max(650, Math.round(removalBidUsd * 0.72))) so immediate preservation care undercuts a one-time removal bid while building multi-year practitioner margin.
  • Pillar 2: Three-Layer Epistemic Separation (docs/LAYERS.md): Open Arbor strictly isolates deterministic facts from uncalibrated economic hypotheses. Layer 1 (determination-v1.0.0) governs root zones, municipal ordinances, Oak Wilt windows, and Mattheck t/R >= 0.30 gates, keeping partial-city gaps (tx-cedar-park, tx-round-rock Threshold_And_Fee_Record entries) visible as UNVERIFIED. Layer 2 (valuation-models-v0.3.0) governs CTLA 10th Edition replacement models ($65/sq in unit baseline), the 200-year holobiont biological equity hypothesis (1.0 to 3.5 veteran keystone habitat multiplier), allometrics, and soil sponge capacity. Layer 3 (practice-economics-v0.2.0) governs phased triage and 5-year margin estimates (computeRegenerativePracticeEconomics, computePhasedStewardshipTriage). Layer 2 and Layer 3 remain 0.x experimental models subordinate to Layer 1 determinations.
  • Pillar 3: Symbiosis Between the AI OpenArbor RAP Steward and Human RAPPER (server/mcp/openarbor-mcp.mjs v2.2.0): One zero-key stdio MCP server exposes openarbor_consult, 8 specialist modules (calculate_root_zone, evaluate_ordinance, calculate_ecosystem_benefits, rap_biomechanics, rap_lint, lookup_ordinance, validate_soil_function, leo_rap_verify), and 3 built-in LEO-RAP prompts (homeowner-tree-guide, rap-practitioner-brief, municipal-plan-review) across Claude Code, OpenAI Codex CLI, Hermes, Cursor, Claude Desktop, and Antigravity (agents/openarbor-steward/). Because the Steward skill forbids mental math and prohibits fabricating t/R or lab soil values without physical instrumentation, every AI consultation channels property owners toward qualified human field diagnostics instead of displacing local fieldwork.
  • Pillar 4: Local-First, Zero-PII Watershed Cohort Logging (src/core/fieldObservationLog.js): Conforming to schemas/rap_field_observation.schema.json (RAP_Field_Observation_v1), assertZeroClientPii and redactPotentialPii block 17 client PII keys (FORBIDDEN_PII_KEYS) and 3 prototype-pollution keys while scrubbing email addresses, phone numbers, and street addresses from free text. coarsenPlusCode truncates GPS Plus Codes to 6-character watershed cells (XXXXXX00+, roughly 1.1 km resolution), canonical_sha256 seals integrity, privacy_attestation asserts zero_client_pii: true and plus_code_coarsened_to_watershed_cell: true, and summarizeObservationCohort tracks cohort density toward an initial 10-consultation target (targetCohortSize = 10).

5. Four-Rung Proof-of-Restoration RAPPER Progression Ladder and Attestation

Rather than gating credibility behind lecture hours or academy paywalls, Open Arbor structures practitioner progression around verifiable diagnostic, rhizosphere, and longitudinal ecological outcomes:

RungRole in Open ArborVerifiable Mechanism & Code / Schema AnchorRenewal & Calibration Basis
1. RAP ObserverHomeowner, land steward, student, or volunteerRuns openarbor_consult (homeowner-tree-guide), measures trunk circumference at 4.5 ft (DBH), reviews city permits, and sends steward_to_arborist_message handoffs without unverified t/R claims.Per-tree awareness; zero fee and zero credential claim.
2. Provisional RAPPERQualified field practitioner entering RAP-Spec v2.0Completes 3 schema-valid, linter-clean RAP_v2 assessments (lintRapEvidentiaryReport), verifies pneumatic root-collar excavation, biological amendments, and soil baseline, and sets year_1_recovery_milestone_target_date to mint Verified Regenerative Arboriculture Protocol Practitioner in Ecological Restoration (RAPPER) via mintOpenBadgeAttestation (schemas/rap_openbadge_v3.schema.json).Optional registry maintenance benchmarked to Path C ($75 to $110/yr referencing SER CERP $75/yr and NOFA AOLCP $110/yr; payment_flow_encoded: false).
3. Outcome-Verified RAPPERActive ecological restoration practitionerRenews annual standing by appending longitudinal_outcomes entries in RAP_Field_Observation_v1 tracking Year-1 and Year-5 twig_extension_cm, canopy_dieback_pct, infiltration_mm_hr, and survival_status (Thriving, Stable, Declining, Failed_Or_Removed).Renewal rests on measured survival and soil recovery indicators rather than passive webinar hours.
4. Steward RAPPERBioregional calibration and Ordinance Commons contributorExports anonymized targetCohortSize >= 10 observation cohorts via serializeObservationCohortJsonl (~1.1 km watershed cells) and verifies municipal statutes in data/ordinances/ (validate-ordinance.mjs).Empirical outcome cohorts calibrate Layer 2 0.x survival and soil-sponge models and catch municipal ordinance drift.

Cryptographic Trust Status (docs/13_RAP_PRACTICE_SPECIFICATION_v1.md Section 6.2): Currently, mintOpenBadgeAttestation in src/core/rapEngine.js signs OpenBadgeCredential JSON-LD artifacts locally with deterministic content integrity (type: "DataIntegrityProof", cryptosuite: "sha256-integrity", verificationMethod: "https://soilgrower.com/specs/rap-spec-v2.0#sha256-content-digest"). External Ed25519Signature2020 issuer key custody and live revocation registry publication remain UNVERIFIED (placeholder status in the local static bundle) until external cohort verification infrastructure is deployed.


6. Open Arbor Two-Register Citation Rule

Confined strictly to Project Open Arbor documentation, reports, badges, and practitioner communications, Open Arbor uses two deliberate registers so ecological clarity never sacrifices municipal legitimacy:

  1. Register A (Statutory, Municipal, Legal, and CV Submittals): Lead with the full unabbreviated title Regenerative Arboriculture Protocol Practitioner in Ecological Restoration (RAP-Spec v2.0), or Certified RAP Practitioner on character-limited municipal permit forms. Pair this title with any applicable statutory credential recorded in legacy_statutory_equivalencies (ISA_Certified_Arborist, ISA_Board_Certified_Master_Arborist, ASCA_Registered_Consulting_Arborist, SAF_Certified_Urban_And_Community_Forester, SAF_Certified_Forester, SER_Certified_Ecological_Restoration_Practitioner, or Accredited_Degree_Forestry_Arboriculture_Horticulture_Ecology). Never abbreviate an Open Arbor practitioner as RCA.
  2. Register B (Field Practice, Open Badges, Guild Education, and Community Culture): Use RAPPER, RAP, and "That's a RAP" across 1EdTech Open Badges 3.0 credential names (Verified Regenerative Arboriculture Protocol Practitioner in Ecological Restoration (RAPPER)), openarbor-rap CLI commands, arborist_truck_summary handoffs, field cohort logs, and practitioner guild training.

7. Protocol Adoption and Legibility Hypotheses (H-RAP-1 through H-RAP-3)

Alongside the valuation and economics kill criteria in docs/LAYERS.md, Open Arbor treats the human adoption behavior of RAP and RAPPER as testable field hypotheses rather than assumed facts:

  1. H-RAP-1 (Collaborative Handoff Reception): Hypothesis that stripping unmeasured t/R defaults and contractor bid anchors from steward_to_arborist_message while supplying deterministic city tier and CRZ geometry increases cooperating field inspections on threatened mature trees. Kill criterion: If more than 50% of contacted arborists across the first 10 live consultations (targetCohortSize = 10) refuse inspection or dismiss the brief, revise composeArboristHandoffBrief using exact verbatim practitioner feedback.
  2. H-RAP-2 (Stage-1 Triage Conversion): Hypothesis that capping STAGE_1_COLLAR_AND_STABILITY_TRIAGE at <= 72% of a competitor removal estimate increases homeowner election of root-collar diagnosis on structurally sound (t/R >= 0.30) specimens while maintaining positive crew operating margin. Kill criterion: If empirical billing across 10 live mature-tree cases yields Stage 1 acceptance below 30% or negative operating margin after pneumatic equipment mobilization, retire the 0.24 / 0.72 ratio in computePhasedStewardshipTriage in favor of explicit operator labor and mobilization inputs.
  3. H-RAP-3 (Two-Register Municipal Legibility): Hypothesis that leading statutory filings with the full Register A title (Regenerative Arboriculture Protocol Practitioner in Ecological Restoration (RAP-Spec v2.0)) prevents colloquial distraction from the RAPPER acronym during city plan reviews and administrative hearings. Kill criterion: If municipal reviewers or hearing officers object to the RAPPER acronym inside attached OpenBadgeCredential evidence payloads, retain RAPPER strictly in Register B community artifacts and render Certified RAP Practitioner (RAP-Spec v2.0) on municipal export headers.