239 lines
11 KiB
Markdown
239 lines
11 KiB
Markdown
# Future Map Intelligence Architecture and Schema 1.1
|
|
|
|
## Task Control
|
|
|
|
- Date: `2026-08-19`
|
|
- Repository: `C:\projects\future-map\future-map-OPEN`
|
|
- Branch: `main`
|
|
- Status: Complete
|
|
- Scope: Taxonomy expansion, taxonomy governance, core-document section indexing, private capture-template redesign, pipeline/schema upgrade, derivative migration, and validation
|
|
- Publication boundary: No commit, push, release, scheduler change, or external publication was performed
|
|
|
|
## Objective
|
|
|
|
Strengthen the Future Map Insights Hub before enriching the historical JSON corpus. The work focused on making the vocabulary more representative of the Future Map corpus and Eddie Soehnel's interests, giving every core-document section a stable machine-readable address, improving the private intelligence-capture template without making routine entry burdensome, and teaching the deterministic pipeline to preserve and publish the new source-owned metadata safely.
|
|
|
|
## Work Completed Today
|
|
|
|
### 1. Expanded the Future Map taxonomy
|
|
|
|
Reviewed the complete `core-docs/` corpus for recurring concepts and subject domains, then used the Interest and Focus section of the portable identity document as an additional attention map.
|
|
|
|
The controlled taxonomy now contains:
|
|
|
|
- 12 signal types.
|
|
- 78 Future Map concepts.
|
|
- 143 core topics.
|
|
- 4 time horizons.
|
|
- 5 directions.
|
|
- 6 maturity states.
|
|
|
|
The identity-document interests were treated as durable context rather than automatic evidence that every keyword should become a canonical taxonomy term.
|
|
|
|
Primary artifact:
|
|
|
|
- `data/insights-hub/config/taxonomy.json`
|
|
|
|
### 2. Created the monthly taxonomy-review skill
|
|
|
|
Created a contained skill for reviewing records added since the most recent successful taxonomy-review receipt or, with explicit approval, running a full-corpus bootstrap.
|
|
|
|
The skill supports two modes:
|
|
|
|
- `proposal`: the default mode; discovers and evaluates candidates but does not mutate the taxonomy.
|
|
- `apply`: requires explicit approval of exact recommendations before changing the taxonomy or schema.
|
|
|
|
Approved initial evidence thresholds:
|
|
|
|
- One independent record: retain as a candidate.
|
|
- Three independent records: present for monthly review.
|
|
- Five or more independent records: mark as a strong addition candidate.
|
|
- Strategically important terms may be proposed below the threshold when the reason is documented.
|
|
|
|
The skill separates concepts, topics, aliases, merges, deferrals, and rejections; preserves prior decisions; and requires synchronization between `future_map_concepts` and the public schema.
|
|
|
|
Primary artifacts:
|
|
|
|
- `data/insights-hub/skills/review-future-map-taxonomy/SKILL.md`
|
|
- `data/insights-hub/skills/review-future-map-taxonomy/agents/openai.yaml`
|
|
|
|
No monthly automation was created or scheduled. The user intends to add that separately.
|
|
|
|
### 3. Created and ran the core-document section-indexing skill
|
|
|
|
Created a skill that builds a stable address book for every core document, Markdown section, presentation chapter, and slide. The skill also validates `reasoning.related_documents` targets without silently repairing ambiguous relationships.
|
|
|
|
The initial bootstrap indexed:
|
|
|
|
- 27 core documents.
|
|
- 25 Markdown documents containing 856 addressable sections.
|
|
- 2 PowerPoint presentations containing 207 addressable slides.
|
|
- 1,063 total sections and slides.
|
|
|
|
Relationship validation results from the bootstrap:
|
|
|
|
- 993 derivative records read at the time of the run.
|
|
- 25 related-document relationships checked.
|
|
- 17 valid relationships.
|
|
- 6 warnings.
|
|
- 2 invalid relationships.
|
|
- 8 unresolved decisions requiring review.
|
|
- 0 automatic relationship repairs.
|
|
|
|
Primary artifacts:
|
|
|
|
- `data/insights-hub/skills/index-future-map-sections/SKILL.md`
|
|
- `data/insights-hub/skills/index-future-map-sections/agents/openai.yaml`
|
|
- `data/insights-hub/indexes/core-document-sections.json`
|
|
- `data/insights-hub/review/section-index-changes.json`
|
|
- `data/insights-hub/review/relationship-target-issues.jsonl`
|
|
- Ignored local receipt: `data/insights-hub/runtime/receipts/section-index-20260819T215448Z.json`
|
|
|
|
The section-indexing skill is manual by design and should be rerun when core documents are added, changed, renamed, moved, or removed.
|
|
|
|
### 4. Redesigned the private JSON capture template
|
|
|
|
Created a compact v2 private capture template and preserved the original template. The user subsequently renamed the approved review copy to `hub_template_v2.json` and moved tag/reference notes into a separate reference file.
|
|
|
|
The design keeps routine entry lightweight. The familiar fields remain, while the following optional source-owned fields improve downstream reasoning and authoring:
|
|
|
|
- `TemplateVersion`
|
|
- `CaptureType`
|
|
- `SourceURL`
|
|
- `CaptureContext`
|
|
- `IntendedUse`
|
|
- `PublicationRestrictions`
|
|
|
|
The intended capture boundary is:
|
|
|
|
```text
|
|
Human-supplied facts, intent, and context
|
|
versus
|
|
Deterministically extracted and normalized facts
|
|
versus
|
|
AI-inferred analysis, implications, and relationships
|
|
```
|
|
|
|
The template is used for multiple hubs, so `HubTags` is not permanently set to `Future Map`. The Future Map pipeline continues selecting only records containing the exact `Future Map` tag.
|
|
|
|
### 5. Upgraded the deterministic pipeline and public schema
|
|
|
|
Upgraded the Insights Hub pipeline to version `1.1.0` and the public signal schema to version `1.1`.
|
|
|
|
New field behavior:
|
|
|
|
- `TemplateVersion` becomes `source_record.capture_schema_version`.
|
|
- Missing version information on historical records becomes `legacy`.
|
|
- `CaptureType` becomes a normalized source-owned capture classification.
|
|
- Unsupported capture types become `other` and create a review warning.
|
|
- `SourceURL` is sanitized, stripped of common tracking parameters, deduplicated, and preferred as the canonical source URL.
|
|
- `CaptureContext` is sanitized, preserved as human-supplied context, and explicitly marked as usable for reasoning.
|
|
- `IntendedUse` is normalized to a list and included in structured indexes for future derivative authoring.
|
|
- A nonempty `PublicationRestrictions` value prevents creation of the public derivative.
|
|
- Restriction text is never copied into the open repository; only a non-sensitive ignored local quarantine receipt is created.
|
|
- Template and reference files whose names begin with `hub_template` are ignored before JSON parsing.
|
|
|
|
The generated Markdown digest now displays capture type, capture context, and intended use when present. The JSONL signal index includes the same retrieval fields.
|
|
|
|
Primary artifacts:
|
|
|
|
- `data/insights-hub/scripts/future_map_pipeline.py`
|
|
- `data/insights-hub/schemas/future-map-signal.schema.json`
|
|
- `data/insights-hub/future-map-insights.md`
|
|
- `data/insights-hub/signal-index.jsonl`
|
|
- `data/insights-hub/manifest.json`
|
|
- `data/insights-hub/review/pending.jsonl`
|
|
|
|
### 6. Added regression coverage
|
|
|
|
Added fixtures and test assertions covering:
|
|
|
|
- Backward-compatible legacy records.
|
|
- A valid v2 record.
|
|
- Source URL sanitization and deduplication.
|
|
- Capture-context privacy sanitization.
|
|
- Intended-use preservation.
|
|
- Unsupported capture-type normalization.
|
|
- Invalid source URL warnings.
|
|
- Publication-restriction quarantine behavior.
|
|
- Redaction of restriction text from the quarantine receipt.
|
|
- Ignoring invalid template/reference files before parsing.
|
|
- Preservation of completed reasoning across unchanged syncs.
|
|
|
|
Primary artifacts:
|
|
|
|
- `data/insights-hub/tests/test_pipeline.py`
|
|
- `data/insights-hub/tests/fixtures/source/hrecords/1004.json`
|
|
- `data/insights-hub/tests/fixtures/source/hrecords/1005.json`
|
|
- `data/insights-hub/tests/fixtures/source/hrecords/1006.json`
|
|
- `data/insights-hub/tests/fixtures/source/hrecords/hub_template_reference.json`
|
|
|
|
## Schema Migration Results
|
|
|
|
The deterministic sync migrated the complete exact-tag public derivative collection:
|
|
|
|
- 995 `Future Map` records matched.
|
|
- 995 public records migrated to schema 1.1.
|
|
- 10 previously enriched records remained complete.
|
|
- 985 records remain pending AI enrichment.
|
|
- 0 records were marked stale.
|
|
- 0 records were excluded.
|
|
- 0 records were quarantined by publication restrictions in this run.
|
|
- 0 validation errors.
|
|
- 0 review warnings in published derivatives.
|
|
- 3 template/reference files were intentionally ignored.
|
|
- A second sync changed 0 derivative records, confirming idempotence.
|
|
|
|
This migration was deterministic preparation, not full-corpus AI enrichment. No new reasoning was generated for the 985 pending records.
|
|
|
|
## Validation Results
|
|
|
|
- Python compilation: Passed.
|
|
- Insights Hub unit tests: 2 passed.
|
|
- Public derivative schema validation: 995 records, 0 errors.
|
|
- Repository structural audit using the `documentation-guide` profile: Passed with no findings.
|
|
- Scoped `git diff --check` for implementation and generated artifacts: Passed.
|
|
- Generated runtime/quarantine artifacts remain ignored by Git.
|
|
|
|
The repository-wide whitespace check still reports trailing spaces in the existing `UPDATES.md` and `data/insights-hub/UPDATES.md` edits. Those unrelated user edits were preserved.
|
|
|
|
Ignored local migration receipt:
|
|
|
|
- `data/insights-hub/runtime/receipts/20260819-223207-schema-v1.1-migration.json`
|
|
|
|
## Known Issue
|
|
|
|
Private source record `7072.json` remains malformed and is skipped by the pipeline. The parser reported a missing comma or equivalent JSON delimiter at line 12, column 159. No private source record was edited during this work.
|
|
|
|
## Operating Rules Established
|
|
|
|
- Exact `Future Map` tag membership controls inclusion.
|
|
- Private source JSON remains authoritative and unchanged by the public pipeline.
|
|
- Human context remains separate from AI reasoning.
|
|
- AI reasoning remains separate from reported facts and original notes.
|
|
- Completed reasoning is preserved during pipeline/schema upgrades when the source fingerprint is unchanged.
|
|
- Actual source or connected-media changes mark completed reasoning stale.
|
|
- Any publication restriction blocks the public derivative until reviewed.
|
|
- Taxonomy changes require explicit human approval.
|
|
- Ambiguous relationship repairs require explicit human approval.
|
|
- Daily deterministic sync must not invoke unattended model reasoning.
|
|
|
|
## Recommended Next Steps
|
|
|
|
1. Review and resolve the eight section-index relationship issues; apply only approved target repairs.
|
|
2. Add explicit source-sufficiency and media-inspection states.
|
|
3. Process a bounded, reviewed historical enrichment batch from the 985 pending records.
|
|
4. Design the derivative-output schema and Step 7 authoring skill.
|
|
5. Pilot social-post, email-response, article, and presentation-slide derivatives.
|
|
6. Add human approval and correction capture for generated reasoning and derivatives.
|
|
7. Add repository-wide discovery and backlink indexes.
|
|
8. Run taxonomy review monthly in proposal mode, with human-approved apply mode as a separate action.
|
|
9. Rerun the section index manually whenever `core-docs/` changes.
|
|
|
|
## Recovery and Rebuild
|
|
|
|
- Public hrecords, indexes, the digest, manifest, and review queue are generated derivatives and can be rebuilt from the authoritative private source collection.
|
|
- The deterministic pipeline is idempotent when source records, media, configuration, and pipeline version are unchanged.
|
|
- Runtime receipts and quarantine state are intentionally excluded from Git.
|
|
- No Git history was rewritten and no remote state changed during this work.
|