Plant Individuals – System Architecture
Plant Individuals are their own domain: identifiable plants, groups or other approved plant units in the field. They refer to shared species and optional cultivar records but own their field-specific history and observations. This article describes sources and responsibilities and data flow as inspected on 7 October 2026, without restating the executable field or presentation definition.
System Architecture → Plant Architecture → Plant Individuals. See Plant Species — System Architecture for botanical references and Animal Species — System Architecture for the separate animal domain.
Sources and Responsibilities
- Stored domain data:
wp_indi_in_the_fieldsowns current Individual master data and stable identity. Species/cultivar records own botanical reference data.wp_location_hierarchyowns hierarchical location identities. Check, harvest and walk/task records own their respective events and relationships. - Executable rules: the central definition is
packages/yuyo-plant-individuals/contracts/plant-individual.v1.json. Its field and presentation sections are interpreted by PHP, browser and Dart engines. Governance is documented inaudit/indi-central-presentation/GOVERNANCE.md. These repository references, rather than this article, govern detailed fields and presentation. - Derived/read models: resolved botanical names, inherited reference information, catalog selections, summaries and statistics are computed views of their owning records. Workflow profiles consume the shared definition.
- Generated/published representations: KB bodies, search identities, forms and app displays are contract-driven outputs. Published HTML and compatibility columns are not competing field definitions.
- AI-generated results: enrichment, photo analysis and age-related results are processing outputs with provenance. They do not become confirmed observations solely because processing succeeded.
- Legacy/compatibility sources: old text location mirrors, retired direct form insertion, legacy enrichment scripts and dated stage documentation are compatibility or historical evidence, not independent canonical intake/presentation rules.
Domain boundaries and relationships
Stable species and optional cultivar references connect an Individual to the botanical domain. Species information is resolved from its owner; field observations, lifecycle information and Individual-specific instructions belong to the Individual. The canonical contract defines how those distinctions are captured and displayed.
Location uses the existing hierarchical identifiers. Harvest Walk ordering is a relationship managed by the walk repository, including insertion after an established predecessor and supported local/offline predecessors. Harvest-group assignments use wp_finca_harvest_assignments and wp_finca_harvest_groups. Check events use wp_yuyo_plant_checks; harvest events use wp_harvest_log. A check or task completion is not automatically a harvest, and a delivered list is not evidence that every listed plant was checked.
Historical/dead records and active field workflows are distinct. Publication guards and lifecycle eligibility govern participation in public pages and active workflows; the mere existence of a stored record does not authorize publication or task assignment.
Canonical intake and processing
Contract, Normalizer, Validator and ReferenceCatalog implement common rules; InterfaceMapper and workflow adapters map interfaces to them. WordPressCanonicalIntake serves the New Plant Entry web path. OFT supports local drafts and authenticated synchronization through yuyo-oft-channel and the canonical runtime. Agenti’s canonical-individual-review.php validates a reviewed draft through the same definition while preserving its distinct submission/review workflow; submitting that draft is not itself direct Individual creation.
wp_yuyo_individual_intakes retains canonical intake receipts, original payload and source provenance. wp_yuyo_individual_jobs tracks processing. wp_yuyo_individual_walk_locks and wp_yuyo_individual_write_control support coordination rather than adding plant attributes. Current master data and original intake evidence serve different canonical purposes.
Generic administrative editing is distinct from canonical intake. Legacy Formidable Form 2 remains identifiable in configuration, but its public form path delegates to the canonical form; the former direct insertion path is retired.
Media and enrichment
AssetService, AssetRepository and GdAssetImageProcessor manage source assets and derivatives, recorded in wp_yuyo_individual_assets and wp_yuyo_individual_asset_variants. MediaPublicationService connects appropriate media to WordPress publication. Original assets and published attachment representations remain distinct.
EnrichmentWorker and LegacyEnrichmentProvider preserve processing provenance. Capture/work dates and processing dates have different meanings. The legacy agenti-individual-age-update.php rejects canonical intake UUIDs and is not the canonical enrichment path.
Presentation, publication and governance
Presentation.php, presentation.js and presentation.dart interpret the central definition; registry and integration adapters supply their context. Runtime contract copies in the PHP release and OFT assets must remain byte-equivalent. This article intentionally contains no separate field-label list, order, visibility rules or naming recipe.
The create-kb-article-from-plant-indi-table publisher delegates generated content to the shared presentation system. Versioned blocks and reviewed legacy hashes protect manual content: unknown/manual material outside owned blocks is preserved, and a changed unversioned legacy body is refused rather than blindly replaced. PublicationGuard controls lifecycle publication eligibility.
Governance requires central registration of field/presentation changes, appropriate profiles and verification in all three engines and affected consumers. The detailed checks and reviewed KB-diff procedure remain in audit/indi-central-presentation/GOVERNANCE.md. Business-rule changes require their own approved contract change.
Known inconsistencies / technical debt
- Package and plugin headers still describe earlier isolated/read-only stages despite the later deployed runtime. They are dated descriptions, not evidence that canonical intake is unavailable.
- Earlier OFT planning describes future/local-only behavior that does not describe the deployed enrollment and synchronization path.
- Legacy form configuration, enrichment scripts and location mirrors remain discoverable. Their continued existence must not create parallel field definitions or processing ownership.
Related documentation
See Plants in the Field Entry Guidelines, Plant Individual Types, Plant Propagation Methods and Agenti Roles & Editorial Architecture. Operator guidance and dated planning are useful context; the executable contract and its governance remain the detailed sources and responsibilities.
Species icons in OFT reference data
The stored defining source for a Species icon is wp_plant_species.plant_emoji. OFT reference capture includes this optional value by stable Species ID. The bundled snapshot is a derived representation; installing an APK does not change the stored icon.
OFT displays the recorded icon beside the Species name. When the stored value is empty or absent, including in older draft snapshots, it shows a neutral seedling (🌱). This fallback is a visual aid, not a botanical identification or a value written to the database. Banana (Species 65) and Cocoa (Species 66) had empty stored icons in the 8 October 2026 snapshot and therefore use the fallback. No separate Cultivar icon model is introduced.
The central executable presentation definition specifies presentation.naming.species_icon_fallback; the existing Dart presentation interpreter supplies the display decoration. Species names, stable IDs, alphabetical ordering and existing draft associations remain unchanged. Regression checks cover recorded, empty and missing icons and phone-width dropdown rendering.
OFT 0.2.11 (build 2017) includes the complete reference snapshot captured on 8 October 2026 at 13:35:41 America/Costa_Rica: 56 Species and 2 Cultivars. It uses the existing package and signing identity for installation over the previous app, retaining local drafts, queued Intakes and device enrollment. Automatic reference updating remains deferred.
The shared online DatabaseReferenceCatalog query has a matching local preparation to include plant_emoji; that server change has not been deployed. This release updates the APK only, with no schema, domain-data or permission change. Detailed implementation documentation: apps/OFT-CLIENT-ARCHITECTURE.md, section “Species icons in reference snapshots”.