# Future Map Insights Hub This folder contains the workflow that turns private, exact-tag source records into structured, corpus-grounded public Future Map signals and, after review, into channel-specific authored derivatives. The workflow has two layers: 1. A corpus foundation that establishes the documents, taxonomy, schemas, and reasoning instructions. 2. A repeatable process that prepares, assesses, enriches, connects, reviews, and optionally authors from each incoming JSON record. The private source database remains authoritative and is never modified. Files under `hrecords/`, `files/`, and `review/`, along with the manifest, indexes, and Markdown digest, are generated publication artifacts. ## End-to-End Architecture ```text Private source hrecords and connected files | v capture -> prepare -> assess source/media -> enrich -> connect -> review | | | deterministic scripts AI + Future Map corpus human authority | | | +--------------------> approved structured signal | v author channel derivative ``` The deterministic portion prepares and validates source material. The reasoning portion interprets each signal against Eddie Soehnel's Future Map taxonomy, core documents, indexed sections, and related signals. A connection resolver turns approved stable IDs into audience-facing links. The portions are deliberately separated so AI reasoning cannot silently overwrite source facts or publish unreviewed copy. ## Contained Structure | Path | Purpose | | --- | --- | | `hrecords/` | Public derivative JSON signals. Source facts and AI reasoning are explicitly separated. | | `files/` | Connected files copied under the owner-approved publish-with-attribution policy. | | `future-map-insights.md` | Generated human-readable digest. | | `signals/` | Generated readable page for every public signal, including resolved outgoing references and incoming signal backlinks. | | `signal-index.jsonl` | Compact AI retrieval index, one signal per line. | | `derivatives/` | Separate versioned JSON and Markdown drafts authored from reasoning-complete signals. | | `derivative-index.jsonl` | Compact machine-readable index of authored derivatives and computed lineage state. | | `manifest.json` | Counts, freshness, pipeline version, and reasoning-state summary. | | `review/pending.jsonl` | Pending, stale, failed, or warning-bearing records requiring attention. | | `indexes/core-document-sections.json` | Stable document, Markdown-section, chapter, and slide identities with resolvable locators. | | `indexes/connections.json` | Resolved signal-to-section and signal-to-signal connections, public URLs, and reverse backlink indexes. | | `review/relationship-target-issues.jsonl` | Invalid, imprecise, or ambiguous relationship targets requiring review. | | `review/connection-issues.jsonl` | Relationships that could not be resolved into publishable references; any entry fails pipeline validation. | | `review/derivatives.jsonl` | Draft, human-reviewed, stale, broken-reference, or source-unavailable derivatives requiring attention. | | `scripts/` | Deterministic ingest, sanitize, merge, validate, render, scheduling, and test code. | | `skills/` | Repository-local AI workflow skill built from the agent-design template. | | `schemas/` | Public signal, readiness-patch, and reasoning-patch contracts. | | `config/` | Controlled taxonomy, tracked example config, and ignored local source paths. | | `evals/` | Versioned evaluation contract and development cases. | | `tests/` | Deterministic fixtures and regression tests. | | `templates/` | Run-receipt shape. | | `runtime/` | Ignored local logs, reasoning patches, receipts, and temporary state. | ## Part A: Corpus Foundation The corpus foundation establishes the material against which every signal is reasoned. ```text 1. Core Future Map documents | 2. Core-document catalog: content-index.json | 3. Controlled interpretation guide: taxonomy.json | 4. Validation contracts: JSON schemas | 5. Processing skill and reasoning rubric | Ready to enrich signals ``` ### 1. Core Future Map Documents Location: [`../../core-docs/`](../../core-docs/) These are the authoritative sources for the Future Map frameworks, theses, predictions, strategies, and methodologies. Examples include: - Critical States. - Tipping Points. - Reckoning and Resurgence. - Exponential Growth Strategies. - People Are the New Brands. - Skills and Jobs of a Future with AI Dominating. - Agentic Commerce. The core documents provide substantive reasoning context. The Insights Hub workflow does not automatically change them. ### 2. Core-Document Catalog File: [`../../content-index.json`](../../content-index.json) The content index gives each core document a stable identity: ```json { "content_id": "exponential-growth-strategies", "title": "Exponential Growth Strategies", "path": "core-docs/Exponential-Growth-Strategies.md", "topics": [ "exponential-growth", "growth-strategy", "network-effects", "platforms" ] } ``` The reasoning process uses this index to: - Discover potentially relevant documents. - Resolve a stable `document_id`. - Find the physical Markdown file. - Understand the document's high-level topics. - Follow relationships to other core documents. Section-level identity is maintained separately in [`indexes/core-document-sections.json`](indexes/core-document-sections.json). It catalogs 27 current core documents and 1,063 addressable Markdown sections and presentation slides. Stable `document_id + section_id` pairs resolve to Markdown anchors or presentation slide locators and are validated before signal relationships are accepted. ### 3. Future Map Taxonomy File: [`config/taxonomy.json`](config/taxonomy.json) The taxonomy defines controlled terms used during classification, including: - Signal types. - Future Map concepts. - Topics. - Time horizons. - Direction. - Maturity. - Audiences. The taxonomy should evolve from a list of permitted terms into an authoritative interpretation guide containing: - Definitions. - Inclusion and exclusion rules. - Positive and negative examples. - Aliases and equivalent language. - Parent and child concepts. - Distinctions between commonly confused classifications. - Document- and signal-relationship definitions. - Relevance-scoring guidance. For example, a comprehensive entry could explain that an `acceleration-signal` is evidence that an existing shift is moving faster, spreading further, or becoming more capable. It should also distinguish acceleration from a genuinely new `structural-shift` and from a `tipping-point`, where adoption may have become self-sustaining. The current controlled vocabulary contains 78 Future Map concepts and 143 core topics. Monthly vocabulary maintenance is governed by [`skills/review-future-map-taxonomy/SKILL.md`](skills/review-future-map-taxonomy/SKILL.md). Its default proposal mode discovers evidence-backed candidates without mutating the taxonomy; apply mode requires explicit human approval. ### 4. Validation Schemas Files: - [`schemas/future-map-signal.schema.json`](schemas/future-map-signal.schema.json) - [`schemas/readiness-patch.schema.json`](schemas/readiness-patch.schema.json) - [`schemas/reasoning-patch.schema.json`](schemas/reasoning-patch.schema.json) - [`schemas/derivative-patch.schema.json`](schemas/derivative-patch.schema.json) - [`schemas/future-map-derivative.schema.json`](schemas/future-map-derivative.schema.json) The taxonomy explains what controlled terms mean. The schemas enforce which values and structures are permitted. The current public signal contract is schema version `1.2`. It preserves legacy records while accepting the v2 capture fields, representing source/media readiness, and blocking publication when a source record contains an explicit publication restriction. ```text Taxonomy: "acceleration-signal" means evidence that an existing shift is speeding up. Schema: "acceleration-signal" is an allowed value in signal_types. ``` When a new controlled classification is added to the taxonomy, its applicable schema enumeration must also be updated so a valid new term is not rejected. ### 5. Processing Skill and Reasoning Rubric Main workflow: [`skills/process-future-map-insights/SKILL.md`](skills/process-future-map-insights/SKILL.md) The skill tells the reasoning agent: - Which order to follow. - Which files are authoritative. - What is deterministic and what is reasoned. - What must not be invented. - How to select a bounded batch. - How to create enrichment patches. - How to validate outputs. - How to leave a durable processing receipt. Approved voice and classification guidance may also be used to keep analysis direct, practical, systems-oriented, and actionable. The repository-local skill remains the governing operational workflow. ## Part B: Process for Each Incoming JSON Record ```text 1. Source JSON arrives | 2. Deterministic sync | 3. Pending public derivative record | 4. Assess source sufficiency and material media | 5. Select relevant core sections and signals | 6. Reason, classify and propose connections | 7. Create and apply bounded reasoning patch | 8. Resolve validated publishable references | 9. Render indexes, backlinks and Markdown views | 10. Validate, review and write local receipt ``` ### 1. Source JSON Arrives The authoritative private source location is configured locally and is not committed to this public repository. A source JSON record may contain: - Title. - Summary. - Notes. - Tags. - Links. - Connected images or other media. - Companies. - Source metadata. - Capture type and capture context. - Intended use. - Publication restrictions. The private template supports multiple hubs. Only records whose tags contain the exact `Future Map` value are selected by this workflow. ### 2. Deterministic Intake And Preparation Code: [`scripts/copy_future_map_tagged_files.py`](scripts/copy_future_map_tagged_files.py) and [`scripts/future_map_pipeline.py`](scripts/future_map_pipeline.py) The 6:00 AM Windows task copies exact-tag, unrestricted source JSON and referenced local media byte-for-byte into ignored `runtime/intake/` folders. It performs no public transformation or corpus validation. The 6:30 AM processing automation calls the pipeline's `sync` operation against that intake snapshot. This preparation stage: - Finds records tagged exactly `Future Map`. - Reads deterministic source fields. - Sanitizes protected information. - Normalizes dates. - Extracts links. - Copies connected media. - Calculates source fingerprints. - Detects new or changed records. - Preserves completed reasoning when the source is unchanged. - Marks completed reasoning `stale` when its source changes. - Creates a pending derivative record when enrichment is needed. This stage performs no AI reasoning and consumes no model tokens. ### 3. A Pending Derivative Record Is Created Destination: [`hrecords/`](hrecords/) The initial public derivative preserves source content while leaving reasoning explicitly pending: ```json { "source_record": { "title": "...", "summary": "...", "notes": {}, "hub_tags": ["Future Map"] }, "links": [], "media": [], "reasoning": { "status": "pending", "analysis": null, "classification": {}, "related_documents": [], "related_signals": [] } } ``` It also appears in [`review/pending.jsonl`](review/pending.jsonl). That file is the enrichment work queue, not the corpus catalog. ### 3A. Source Sufficiency and Media Inspection Gate Before AI enrichment, the completion workflow assesses whether the record contains enough evidence to support meaningful reasoning and whether any connected media carries material evidence that must be inspected. Implemented source-sufficiency states are: - `unassessed` — no sufficiency decision has been made. - `sufficient` — enough source-owned material exists for normal enrichment. - `partial` — useful reasoning is possible, but limitations must be retained. - `insufficient` — enrichment would require unsupported assumptions. - `unavailable` — the material source cannot be retrieved or opened. - `needs-human-context` — only the repository owner can supply the missing meaning. Implemented media-inspection states are: - `not-required` — media is decorative or not material to the signal. - `pending` — material media has not been inspected. - `inspected` — relevant visual or textual evidence was examined. - `missing`, `unreadable`, `unsupported`, `needs-ocr`, or `failed` — inspection cannot yet support normal enrichment. Source sufficiency is not a credibility score. It measures whether enough material is available to reason without inventing context. New and migrated records begin as `unassessed`; assessment and media inspection occur in bounded enrichment batches rather than through an indiscriminate full-corpus media pass. The completion workflow creates a bounded patch conforming to [`schemas/readiness-patch.schema.json`](schemas/readiness-patch.schema.json), then applies it with: ```text python data/insights-hub/scripts/future_map_pipeline.py apply-readiness --record-id fm-signal-ID --patch PATH ``` Enrichment is permitted only when readiness is `sufficient` or `partial` and every media item marked `required` has been inspected. A `partial` record remains review-required and must preserve its limitations. ### 4. Relevant Context Is Selected The reasoning agent loads, in order: 1. The pending JSON record. 2. [`config/taxonomy.json`](config/taxonomy.json). 3. [`../../content-index.json`](../../content-index.json). 4. [`indexes/core-document-sections.json`](indexes/core-document-sections.json). 5. [`signal-index.jsonl`](signal-index.jsonl). 6. Relevant core-document sections. 7. Relevant existing signal records. The record's title, summary, notes, tags, links, and media metadata are used to identify likely topics. The content index then identifies candidate core documents. For example: ```text Computer-use agents | artificial intelligence + automation + agents | Exponential Growth Strategies | Automation & Autonomous Agents section ``` The reasoning agent reads relevant core-document sections before proposing a relationship. Existing signals are searched for similar topics, supporting evidence, counter-signals, earlier predictions, newer updates, and examples of the same mechanism. ### 5. External Sources and Connected Media Links are always preserved, but linked webpages are not automatically ingested by the deterministic daily process. There are three common source conditions: #### Rich local record If the JSON contains a useful summary or notes, those source-authored fields can support enrichment directly. #### Sparse record with a link The agent may make a limited connection from the title and corpus, but confidence must remain low unless the linked source is retrieved and read. #### Sparse record with important connected media The media should be visually inspected before making claims based on its contents. The production reasoning rule is: ```text If the local record lacks sufficient context: retrieve the external source or inspect connected media; otherwise: limit the analysis and mark confidence low. ``` If a paywall, missing file, or access restriction prevents retrieval, the record should retain a warning describing that limitation. Source access never justifies inventing provenance or presenting an inference as a reported fact. ### 6. Reasoning and Classification The AI creates: - `analysis`. - `implications`. - `claims`. - `classification`. - `related_documents`. - `related_signals`. - `confidence`. - `novelty`. - `corpus_documents_consulted`. The source/reasoning boundary is: | Field | Origin | | --- | --- | | Title, summary, notes, and tags | Source JSON | | Links and media paths | Source JSON and deterministic preparation | | Analysis and implications | AI reasoning | | Claims | AI separation of reported facts, interpretations, predictions, opinions, and recommendations | | Classification | AI application of the controlled Future Map taxonomy | | Related documents | AI comparison against the indexed core corpus | | Related signals | AI comparison against existing signal records | | Confidence | AI assessment of the available evidence | | Novelty | AI comparison against the existing corpus | #### Related-document associations A related-document record contains: ```json { "document_id": "exponential-growth-strategies", "section_id": "automation-autonomous-agents", "relationship": "illustrates", "relevance": 0.95, "review_status": "machine-proposed" } ``` - `document_id` is the stable ID in `content-index.json`. - `section_id` is the normalized Markdown heading or anchor inside that document. - `relationship` explains how the signal connects to the document. - `relevance` is a reasoned estimate of semantic strength from zero to one, not currently a deterministic similarity score. - `review_status` remains `machine-proposed` until a person reviews and approves it. Relationship meanings include: | Relationship | Meaning | | --- | --- | | `supports` | Adds evidence for a claim or thesis. | | `challenges` | Introduces evidence or reasoning against it. | | `updates` | Adds newer information that changes or extends it. | | `illustrates` | Provides a concrete example of a general concept. | | `early-warning` | May indicate that a predicted shift is beginning. | | `contradicts` | Directly conflicts with a claim. | | `supersedes` | Replaces an older conclusion or signal. | A practical relevance rubric is: | Score | Interpretation | | ---: | --- | | 0.90–1.00 | Direct, explicit connection. | | 0.75–0.89 | Strong conceptual connection. | | 0.50–0.74 | Useful but indirect connection. | | 0.25–0.49 | Weak or exploratory connection. | | Below 0.25 | Usually omit. | ### 6A. Connection Resolution and Publishable References Enrichment stores semantic relationships using stable IDs. It does not treat repository URLs as the identity of a relationship. ```text signal_id -> related signal_id signal_id -> document_id + section_id ``` After enrichment, a deterministic connection resolver will: 1. Validate every related signal, document, and section target. 2. Resolve `document_id + section_id` through the section index. 3. Derive the repository path, Markdown anchor, presentation slide locator, and configured public URL. 4. Exclude restricted, missing, retired, or unresolved targets from publishable references. 5. Generate reverse lookups so a core section can identify its related signals without editing the core document itself. 6. Make approved links available to derivative authoring. The planned lightweight outputs are: - A generated connection/backlink index. - One compact, human-readable Markdown page per public signal. - Resolved relative and public links for related signals and core-document sections. This is an index and link-resolution layer, not a graph database. Core documents remain stable; generated indexes carry high-frequency backlinks. ### 7. A Reasoning Patch Is Created The AI does not directly rewrite arbitrary parts of the public record. It creates a bounded patch: ```json { "record_id": "fm-signal-7052", "analysis": "...", "implications": [], "claims": [], "classification": {}, "related_documents": [], "related_signals": [], "confidence": "medium", "novelty": "reinforcing", "corpus_documents_consulted": [], "generated_by": "..." } ``` The patch must conform to `schemas/reasoning-patch.schema.json`. This boundary protects source facts from accidental rewriting. ### 8. The Deterministic Merge Runs The pipeline applies a patch with: ```text python data/insights-hub/scripts/future_map_pipeline.py apply-reasoning --record-id fm-signal-7052 --patch PATH ``` The code: - Confirms the patch ID matches the record ID. - Refuses enrichment unless source and required-media readiness gates pass. - Validates required fields and structures. - Validates controlled classifications. - Merges only the reasoning block. - Marks reasoning `complete`. - Records when and how the enrichment was generated. - Regenerates the indexes, queue, manifest, and digest. ### 9. Published Artifacts Are Regenerated The pipeline updates: - [`future-map-insights.md`](future-map-insights.md). - [`signal-index.jsonl`](signal-index.jsonl). - [`review/pending.jsonl`](review/pending.jsonl). - [`manifest.json`](manifest.json). A sufficiently assessed and successfully enriched record disappears from `pending.jsonl` when no other warnings remain. Partial or otherwise review-required records stay queued. The human-readable digest displays source readiness, analysis, implications, taxonomy classifications, confidence, core-document connections, related signals, source links, and connected media. The implemented connection layer also regenerates compact per-signal Markdown pages, stable signal-to-signal and signal-to-core-section links, reciprocal backlinks, and [`indexes/connections.json`](indexes/connections.json). These views are derived from authoritative signal relationships and are never manually maintained sources of truth. ### 10. Validation and Testing Run The pipeline validates: - Required fields. - Allowed taxonomy values. - Signal IDs. - Document- and signal-relationship structures. - Media paths. - Privacy rules. - Reasoning completion. - Generated-output consistency. Regression tests confirm that: - Source fields are preserved. - Protected data is removed. - Media copying works. - Unassessed records cannot be enriched. - Sufficient readiness cannot be applied while required media remains uninspected. - Readiness and media inspection survive an unchanged synchronization. - Enrichment survives an unchanged synchronization. - Relationship structures remain valid. ### 11. A Local Run Receipt Is Written Location: `runtime/receipts/` The receipt records: - Signals processed. - Core documents consulted. - Outputs changed. - Validation results. - Warnings. - Whether any external actions occurred. The entire `runtime/` directory is intentionally excluded from Git. ## Operating Playbook for Every New Future Map Record The historical corpus is complete for the current scope. From now on, operate the system incrementally. A new private JSON record enters this workflow only when its tags contain the exact value `Future Map`. ```text Private JSON tagged Future Map | exact-tag intake copy at 6:00 AM | deterministic public preparation at 6:30 AM | public pending signal + copied media | source/media readiness assessment | corpus-grounded enrichment | resolved core-section and signal connections | validated signal JSON + readable signal page | five draft channel derivatives | Eddie reviews, revises, approves, rejects or ignores | optional external use only by separate human action ``` For each new or changed record: 1. `FutureMap-InsightsHub-Daily` runs `scripts/run_daily.ps1`, which calls `copy_future_map_tagged_files.py` and mirrors exact-tag, unrestricted source JSON and referenced local media into ignored `runtime/intake/` folders. 2. The 6:30 AM processing automation runs deterministic sync against that intake snapshot. Sync sanitizes source fields, publishes connected media, computes fingerprints, creates or refreshes the public signal, and adds new or stale work to `review/pending.jsonl`. Malformed source JSON is skipped and reported in the run log rather than being silently imported; correct the private source file and let the next sync retry it. 3. Run [`skills/process-future-map-insights/SKILL.md`](skills/process-future-map-insights/SKILL.md) for the new signal. It assesses source sufficiency, retrieves any material source or media evidence, reads the relevant taxonomy, core sections and related signals, and creates readiness and reasoning patches. 4. The pipeline applies those patches, resolves relationship IDs through the section and signal indexes, regenerates the signal page and backlinks, and validates the corpus. Insufficient records remain evidence-gated rather than being filled with invented context. 5. When reasoning is complete, run [`skills/author-future-map-derivatives/SKILL.md`](skills/author-future-map-derivatives/SKILL.md). Unless a different assignment is requested, the standard forward pilot creates five drafts: LinkedIn social post, email response, article section, presentation slide and webinar talking point. 6. Each derivative is stored as JSON and readable Markdown under `derivatives/SOURCEID/`, indexed in `derivative-index.jsonl`, linked from its signal page, and queued in `review/derivatives.jsonl`. It remains `draft` and `not-published`. 7. Eddie reviews the outputs. If changes are wanted, rerun the authoring skill with the feedback and preserve the correction as a replacement draft or a new superseding version. If no output is useful, it can remain a draft or be rejected; no further action is required. 8. Copying a draft into social media, email, an article, a presentation or a webinar is a separate human-controlled action. This repository never posts externally on its own. 9. Write the Future Map run receipt and, for a serious authoring run, the ES authoring receipt. Then run tests, pipeline validation, the repository audit and `git diff --check`. The Windows task is a deterministic file-copy boundary by design. Public transformation, AI readiness assessment, enrichment, derivative authoring, human review, Git commit/push and external publication remain explicit follow-on actions. ### Skills and when to use them | Order | Skill | Use | | --- | --- | --- | | 1 | [`process-future-map-insights`](skills/process-future-map-insights/SKILL.md) | Process each new or stale signal: readiness, evidence inspection, enrichment, classification, relationships and validation. | | 2 | [`author-future-map-derivatives`](skills/author-future-map-derivatives/SKILL.md) | Turn a reasoning-complete signal into traceable channel drafts using the ES authoring skill. | | Maintenance | [`index-future-map-sections`](skills/index-future-map-sections/SKILL.md) | Rerun when a core document or presentation is added, changed, renamed, moved or removed. | | Monthly maintenance | [`review-future-map-taxonomy`](skills/review-future-map-taxonomy/SKILL.md) | Review recent records for evidence-backed taxonomy additions; apply only human-approved changes. | ## Daily Automation Versus AI Enrichment The scheduled Windows task performs only deterministic intake: ```text Exact-tag source JSON and connected media | copy byte-for-byte into ignored runtime/intake | 6:30 AM processing automation performs public preparation ``` It does not automatically invoke AI reasoning. Each daily run can safely bring new records into the repository, but new or changed records remain pending until an enrichment batch runs. The completed operating rhythm is: 1. Run the daily exact-tag intake copy. 2. Run deterministic public preparation and detect new or stale records. 3. Assess source sufficiency and inspect material media in a bounded batch. 4. Run AI enrichment against relevant core sections and existing signals. 5. Validate and resolve proposed signal and core-document connections. 6. Review classifications, claims, implications, and relationships. 7. Mark accepted connections as human-approved where appropriate. 8. Author the standard five draft channel derivatives for each new reasoning-complete signal and route them to Eddie for review. 9. Publish approved repository artifacts through the normal Git workflow. The first corpus pass requires substantial reasoning because historical relationships are still being discovered. Subsequent artifacts should process faster because the taxonomy, document catalog, section summaries, and enriched signal network can be reused. ## Source and Reasoning Boundary Deterministic fields include Hub ID, original title and summary, normalized notes, dates, tags, company references, links, connected files, hashes, and explicit source or rights metadata when available. Reasoned fields include analysis, implications, claims, classification, confidence, novelty, relationships to core Future Map documents, and relationships to other signals. A daily deterministic run never fabricates or overwrites these fields. Changed source content marks completed reasoning as `stale`. ## Publication Policy Connected files are copied even when redistribution rights are absent or unknown, according to the repository owner's explicit `publish-with-attribution` decision. Unknown rights remain labeled unknown. Security, privacy, confidentiality, malware, and explicit do-not-publish findings remain blocking gates. ## Local Configuration Copy `config/pipeline.example.json` to ignored `config/local.json` and set: ```json { "source_hrecords": "PATH TO PRIVATE HRECORDS", "source_files": "PATH TO PRIVATE FILES", "required_tag": "Future Map", "publish_connected_files": true, "publication_policy": "publish-with-attribution", "include_normalized_notes": true } ``` Environment variables `FUTURE_MAP_SOURCE_HRECORDS` and `FUTURE_MAP_SOURCE_FILES` may be used instead. Private absolute paths must not be committed. ## Deterministic Operation From the repository root: ```text python data/insights-hub/scripts/future_map_pipeline.py sync python data/insights-hub/scripts/future_map_pipeline.py validate python -m unittest discover -s data/insights-hub/tests -v ``` The compatibility command remains: ```text python data/insights-hub/scripts/publish_future_map_insights.py ``` ## AI Enrichment Operation Read [`skills/process-future-map-insights/SKILL.md`](skills/process-future-map-insights/SKILL.md). The skill selects a bounded batch from `review/pending.jsonl`, consults the taxonomy, repository content index, relevant core-document sections, and existing signals, creates reasoning patches, and applies them through the deterministic merge command. The skill does not directly change `core-docs/`, commit, push, or publish externally without separate authorization. ## Derivative Authoring Operation Read [`skills/author-future-map-derivatives/SKILL.md`](skills/author-future-map-derivatives/SKILL.md). It uses the authoritative ES writing skill for voice and the Future Map derivative contract for claim selection, validated references, lineage and review state. Apply an authored patch with: ```text python data/insights-hub/scripts/future_map_pipeline.py apply-derivative --record-id fm-signal-ID --patch PATH ``` Generated drafts appear under `derivatives/SOURCEID/`. They are automatically indexed and linked but never automatically approved or externally published. ## Daily Task `FutureMap-InsightsHub-Daily` runs `scripts/run_daily.ps1` at 6:00 AM local time. It only mirrors exact-tag, unrestricted JSON and referenced local media into ignored `runtime/intake/` folders and writes ignored logs under `runtime/logs/`. Install or update the task with: ```text powershell -NoProfile -ExecutionPolicy Bypass -File data/insights-hub/scripts/install_daily_task.ps1 ``` The Codex app automation `Daily Future Map AI Processing` runs separately at 6:30 AM local time using `gpt-5.6-sol` with medium reasoning. It verifies the current-day intake log, runs deterministic public preparation against `runtime/intake/`, reads only new or stale queue entries, processes at most 20 records, runs the processing and derivative-authoring skills in order, creates the standard five draft channels for each newly completed signal, validates the outputs, and writes receipts. It exits as a no-op when the queue is empty and never commits, pushes, approves, or publishes externally. These are deliberately separate jobs: | Time | Automation | Responsibility | | --- | --- | --- | | 6:00 AM | Windows task `FutureMap-InsightsHub-Daily` | Exact-tag JSON and connected-media copy into ignored local intake. | | 6:30 AM | Codex automation `Daily Future Map AI Processing` | Deterministic public preparation, readiness, enrichment, connection validation, five-channel draft authoring, validation and receipts. | ## Framework Provenance The local skill design uses `ai-prompt-skill-agent-design-template-OPEN` version `0.3.1`, specifically its OSDR, ratchet-based skill, routing, evaluation, and receipt patterns. The implementation remains local to this folder. ## Current Operating State The present project scope is complete. Historical enrichment, connection resolution, derivative infrastructure and the initial five-channel pilot are finished. New exact-tag records now move through the operating playbook above. Human approval and corrections are intentionally owner-driven: drafts wait in `review/derivatives.jsonl`; feedback can be applied as a replacement draft or a new superseding version. No additional historical channel pilots are planned. Graph databases, embeddings, vector retrieval, RAG, MCP, pricing and access-control infrastructure remain deferred and are not required to operate the current system. ## Part C: Estimated Token Spend The following figures are planning estimates for the current process, not measured API billing totals. Actual token consumption varies with source length, linked-source access, connected media, the number and length of corpus sections consulted, the number of related signals compared, and the amount of context reused across a batch. ### Deterministic Work The following operations use normal local code and consume no AI model tokens: - Finding JSON records tagged exactly `Future Map`. - Reading and normalizing deterministic source fields. - Sanitizing protected information. - Extracting and preserving links. - Copying connected media. - Calculating hashes and fingerprints. - Detecting new, changed, unchanged, and stale records. - Creating pending derivative records. - Applying a completed reasoning patch. - Regenerating the digest, indexes, queue, and manifest. - Running schema validation and deterministic regression tests. - Writing local logs and receipts. These steps still use local computing time, storage, and file operations, but they do not require model inference. ### AI Enrichment by Record Type | Record condition | Estimated total AI tokens | Typical work required | | --- | ---: | --- | | Short record with a useful local summary | 3,000–6,000 | Read the record, retrieve a few relevant corpus sections, classify it, and produce the reasoning patch. | | Detailed record with several corpus connections | 6,000–12,000 | Interpret a longer source, compare several documents and signals, and create multiple grounded relationships. | | Sparse record requiring external article retrieval | 10,000–25,000 | Retrieve and read the linked source, establish provenance, then perform normal corpus reasoning. | | Complex record requiring several long documents | 15,000–40,000 | Read substantial source material, compare multiple frameworks, resolve conflicting evidence, and create deeper relationships. | The final structured output is usually much smaller—approximately 500–1,500 tokens. Most consumption comes from reading source material, retrieving relevant corpus context, comparing related signals, and validating the reasoning before the patch is written. ### Current Pilot Estimate The first ten-record enrichment pilot likely averaged approximately 5,000–10,000 tokens per signal because taxonomy and corpus context could be reused across the batch. This implies an estimated batch total of approximately 50,000–100,000 tokens. This is an inferred planning range. The workflow did not capture exact per-record input, cached-input, reasoning, and output-token telemetry during that pilot. ### Estimated First-Pass Corpus Cost After the current ten-record pilot, 985 historical records remain pending. A straightforward first pass at approximately 5,000–10,000 tokens per record would therefore require roughly: ```text 985 records × 5,000 tokens = 4,925,000 tokens 985 records × 10,000 tokens = 9,850,000 tokens ``` The practical planning range is therefore approximately **5–10 million AI tokens** for the remaining initial corpus pass. Sparse records that require external retrieval or substantial media inspection could push the total higher. Batching, retrieval indexes, concise section summaries, and cached context could reduce it. This first pass is the most expensive stage because the system is simultaneously: - Interpreting historical records. - Establishing initial classifications. - Discovering relationships to core documents. - Discovering relationships among signals. - Building examples that later records can reuse. - Revealing gaps in the taxonomy and corpus indexes. ### Expected Cost for Subsequent New Records Once the initial corpus is enriched and the taxonomy and section index are mature, a typical new signal should require approximately **3,000–8,000 tokens**. Subsequent records should be less expensive because the workflow can reuse: - Stable taxonomy definitions and examples. - Core-document summaries. - Section-level indexes and anchors. - Existing related-signal classifications. - Previously established document relationships. - Smaller, more targeted retrieval context. Sparse records, inaccessible paywalled sources, large attachments, and records spanning several Future Map domains will remain more expensive. ### Batch Planning Bounded batches make cost and quality easier to control: | Batch size | Estimated range at 5,000–10,000 tokens per record | | ---: | ---: | | 10 records | 50,000–100,000 tokens | | 25 records | 125,000–250,000 tokens | | 50 records | 250,000–500,000 tokens | | 100 records | 500,000–1,000,000 tokens | Batches of 10–25 are recommended while the taxonomy and relationship rules are still being refined. This provides enough material to identify patterns without allowing a weak classification decision to propagate across hundreds of records. ### Main Token-Cost Drivers Token consumption rises when: - The source record is long. - The local record lacks a useful summary. - A linked webpage must be retrieved and read. - A connected image or document requires inspection or extraction. - Several long core documents must be consulted. - Many existing signals must be compared. - Source evidence is conflicting or ambiguous. - The record spans several Future Map concepts or industries. - The reasoning patch requires revision after review. Token consumption falls when: - The source contains a concise, useful summary. - The taxonomy provides clear selection rules and examples. - The content and section indexes identify precise context. - Relevant document sections have concise reusable summaries. - Related enriched signals are easy to retrieve. - Multiple records in a batch share the same corpus context. - Previously read context can be cached or reused. ### Recommended Token-Efficiency Improvements 1. Generate a section-level index rather than repeatedly loading entire core documents. 2. Create concise, versioned summaries for every core document and major section. 3. Expand the taxonomy with definitions, examples, exclusions, and decision rules. 4. Retrieve only the highest-relevance document sections and related signals. 5. Group enrichment batches by topic so records reuse the same context. 6. Track exact input, cached-input, reasoning, and output tokens in each run receipt when the execution environment exposes them. 7. Reserve external webpage retrieval and attachment extraction for records whose local context is insufficient. 8. Use human review of early batches to prevent systematic misclassification and costly reprocessing. The objective is not simply to minimize tokens. It is to spend them where they improve grounding, classification consistency, relationship quality, and the long-term usefulness of the Future Map corpus. ## Part D: Agreed Completion Architecture Your high-level model is sound. The central idea is: > Raw observations become structured evidence, structured evidence becomes corpus-grounded meaning, and that meaning becomes publishable work. The completion target is a clear lifecycle separating source material, interpretation, connections, authored derivatives, approval, and optional external use. Advanced retrieval and monetization infrastructure is outside the current scope. ### Recommended high-level architecture ```mermaid flowchart TD A["Human capture
raw thoughts, research, notes"] --> B["Deterministic preparation"] B --> C["Source sufficiency
and media inspection"] C --> D["Corpus-grounded enrichment"] D --> E["Connection resolution
signals + core sections"] E --> F["Validation and human review"] F --> G["Approved structured signal"] G --> H["Derivative authoring"] H --> I["Channel pilot and review"] I --> J["Human approval and corrections"] J --> K["Copy or publish externally
only when authorized"] ``` ### Two connected pipelines It will be cleaner to think of this as two pipelines rather than one long pipeline. #### Pipeline A: Knowledge creation ```text Capture → prepare → assess source and media → enrich → resolve connections → validate → review → approve structured signal ``` The result is an authoritative, enriched Future Map knowledge artifact. #### Pipeline B: Knowledge expression ```text Approved signal → author derivative → adapt for channel → review → approve or correct → copy or publish when authorized ``` The result might be: - A social post. - An email response. - An article section. - A presentation slide. - A webinar talking point. - A prediction. - A recommendation. - A document update. - A new standalone document. This distinction matters because one enriched signal may produce many published derivatives. ### Step 6B: Connection Resolution, Backlinks, and Publishable References Enrichment gives each public signal reasoned outgoing relationships: ```text signal -> related signal signal -> core document section signal -> taxonomy concept or topic ``` The existing authoritative registries are: ```text hrecords/*.json -> signal identities and outgoing relationships indexes/core-document-sections.json -> document and section identities, paths, anchors and slide locators config/taxonomy.json -> controlled concept and topic identities ``` The connection layer will resolve those IDs into validated audience-facing references. It should store stable IDs as relationship identity and derive URLs from repository configuration and indexes. This prevents a filename, branch, domain, or Markdown-anchor change from becoming a silent identity change. Implementation status: complete. Pipeline version 1.3 generates one readable page per signal, exact core-section links, reciprocal signal backlinks, stable connection IDs, repository-relative links, configured public Gitea URLs, and a machine-readable connection index. Unresolved targets are omitted from publishable references, written to `review/connection-issues.jsonl`, and treated as validation errors. A related core-section reference can therefore resolve to: ```json { "target_type": "core-section", "document_id": "exponential-growth-strategies", "section_id": "automation-autonomous-agents", "relationship": "illustrates", "label": "Automation and Autonomous Agents", "repository_path": "core-docs/Exponential-Growth-Strategies.md", "locator": "#automation-autonomous-agents", "relative_url": "...", "public_url": "..." } ``` A related signal reference can resolve to a compact generated Markdown page rather than forcing an audience to read raw JSON. The planned generated view is: ```text data/insights-hub/signals/fm-signal-ID.md ``` It will display the source-owned summary and context, Future Map analysis, implications, related signals, related core sections, source links, and connected media while linking back to the authoritative structured JSON. A lightweight generated connection index will provide reverse lookups: ```text core section <- supported, illustrated, challenged or updated by signals signal <- supported, challenged, updated or superseded by other signals ``` Core documents should not be edited every time a signal arrives. Generated indexes and views carry these high-frequency backlinks. Only validated, public, nonrestricted targets may become publishable references. ### Step 7: Derivative Authoring and Channel Adaptation Step 7 is implemented in pipeline version `1.4`. It never overwrites the source-owned `summary`, notes, capture context, enrichment, or connections. Instead, it creates separate versioned artifacts under `derivatives/SOURCEID/` from a reasoning-complete signal. The authoring workflow can use: - Your original title, notes, thoughts, and summary. - Retrieved source material. - Analysis and implications. - Claims and confidence. - Future Map classifications. - Related core documents. - Related signals. - Resolved publishable references and backlinks. - The authoritative Eddie authoring skill in `ES-authoring-skills`. - The intended audience, purpose, format, and channel. The contained routing skill is [`skills/author-future-map-derivatives/SKILL.md`](skills/author-future-map-derivatives/SKILL.md). It uses the external Eddie skill when available and carries a portable snapshot for reproducibility. The Eddie skill controls voice and expression; the Future Map skill controls source boundaries, claims, references, lineage, review state, and repository placement. The workflow creates a small authoring patch containing the draft plus zero-based claim indexes and validated Step 6B connection IDs. Apply it with: ```text python data/insights-hub/scripts/future_map_pipeline.py apply-derivative --record-id fm-signal-ID --patch PATH ``` The deterministic command resolves the chosen claims and references, records source, reasoning, connection, and patch hashes, and writes both JSON and copy-friendly Markdown: ```text data/insights-hub/ ├── hrecords/7052.json ├── derivatives/ └── 7052/ ├── fm-derivative-7052-social-001.json └── fm-derivative-7052-social-001.md ├── derivative-index.jsonl └── review/derivatives.jsonl ``` Every render computes lineage without rewriting the derivative. A draft is `current` when its source record, reasoning, and selected connections still match. Changed source or reasoning becomes `stale`; removed or changed selected connections become `broken-reference`; an absent or no-longer-complete source becomes `source-unavailable`. Drafts and every non-current derivative enter the derivative review queue. Signal pages backlink to their derivatives. New artifacts begin as `draft` and `not-published`. Applying a derivative does not approve it or publish it externally. Reapplying an identical patch is idempotent. A changed patch with the same ID is rejected unless `--replace` is intentional, and approved or published artifacts cannot be replaced in place. ### Step 8: Pilot Channel-Specific Derivatives Implementation status: the initial five-channel pilot is complete for signal `fm-signal-7073`. It produced current, draft-only social, email, article, presentation-slide, and webinar derivatives. The comparison and validation notes are recorded in [`derivatives/7073/PILOT-REVIEW.md`](derivatives/7073/PILOT-REVIEW.md). Human approval or correction remains Step 9; nothing was published externally. Step 8 tests the authoring system on a small representative set before broad use. The pilot should generate and compare formats such as: - Short and long social posts. - Email responses. - Article sections. - Presentation slides. - Webinar talking points. The pilot evaluates whether each derivative sounds like Eddie, preserves source and reasoning boundaries, uses links appropriately, distinguishes facts from interpretation, fits the audience and channel, and produces a practical call to action. It does not automatically publish externally. Channel link guidance should remain selective: | Output | Typical references | | --- | --- | | Short social post | One primary Future Map link. | | Long social post | One core section and optionally one related signal. | | Email response | Two or three contextual links. | | Article | Claims, source links, related signals, and deeper core-section links. | | Presentation slide | Short source line, linked learn-more reference, or QR code. | ### Step 9: Human Approval and Correction Capture AI-generated reasoning, relationships, and copy remain proposals until reviewed. Derivatives should move through explicit states: ```text draft → human-reviewed → approved or rejected → published when separately authorized → deprecated or superseded when necessary ``` Corrections should preserve both the generated version and the approved revision. Review metadata should capture the decision, concise feedback, reviewer, timestamp, and source reasoning version. These corrections become durable examples for future classification, relationship selection, relevance scoring, and authoring in Eddie's voice. ### Revisiting the source JSON template The private capture template was redesigned before automating Step 7. Version 2 keeps routine capture light while adding optional source-owned fields for `CaptureType`, `SourceURL`, `CaptureContext`, `IntendedUse`, and `PublicationRestrictions`. The template should capture information only you can provide reliably: - Raw thoughts. - Why you saved the signal. - What caught your attention. - Your initial interpretation. - Questions the signal raises. - Whether you agree, disagree, or are uncertain. - Intended use. - Intended audience. - Desired output formats. - Desired call to action. - Personal experience or knowledge that informs your interpretation. - Important counterarguments. - Source and media. - Sensitivity or publication restrictions. Fields that AI can infer remain optional. The template is deliberately not a burdensome metadata exercise. A useful separation would be: ```text Human-supplied intent and context versus Deterministically extracted facts versus AI-inferred interpretation ``` Every field should identify which category it belongs to. ### Missing high-level controls #### 1. Stable identity, versioning, and lineage Every stage should preserve where an artifact came from: ```text source record → enriched signal v1 → social derivative v1 → revised social derivative v2 → published post ``` If the source changes, the reasoning becomes stale. If the reasoning changes, derivatives based on it may also become stale. This aligns with the identity and lineage principles in [ai-knowledge-structure-OPEN](C:/projects/productivity/ai-knowledge-structure-OPEN/README.md). #### 2. Explicit approval states AI-generated work should move through clear states: ```text pending → machine-proposed → human-reviewed → human-approved → published → deprecated or superseded ``` A completed AI enrichment should not be treated as equivalent to your approval. #### 3. Source-sufficiency gate Before reasoning, the process should determine whether it has enough evidence: - Sufficient local summary. - Source webpage successfully retrieved. - Connected image inspected. - Attachment text extracted. - Paywall prevented retrieval. - Source unavailable. - Source credibility uncertain. This prevents polished analysis from hiding weak input. #### 4. Claim and citation traceability A publishable derivative should identify which claims it uses and where those claims originated. That allows the system to answer: - Which statements came from the external source? - Which came from your original thoughts? - Which were AI interpretations? - Which are predictions? - Which core documents informed the conclusion? #### 5. Human corrections as reusable training examples When you change a classification, relationship, or piece of copy, the correction should be retained. Over time, your corrections become the best examples for: - Taxonomy decisions. - Relevance scoring. - Your writing style. - What you consider meaningful. - Which relationships you reject. - How you distinguish a signal from noise. This is how the system becomes more aligned with you. #### 6. Publication feedback Where practical, connect published derivatives to results: - Published URL. - Date. - Channel. - Engagement. - Replies. - Questions generated. - Whether it led to a document update. - Whether it proved useful. - Whether later evidence supported or contradicted it. This is more valuable than engagement metrics alone. It measures whether an artifact improved understanding or decisions. ### Integrating artifacts across the repository The repository needs an explicit discovery chain: ```text Main README → content-index.json → core-document index → section index → signal index → connection/backlink index → human-readable signal pages → derivative index → individual structured artifacts ``` The main README should point to major human-readable collections. Machine-readable indexes should provide the complete routing layer. The current completion scope adds or maintains: - `indexes/core-document-sections.json` — stable sections and slides within core documents. - `indexes/connections.json` — resolved forward links and reverse backlinks. - `signals/fm-signal-ID.md` — compact public pages generated from authoritative signal JSON. - `derivative-index.jsonl` — authored outputs derived from signals. - Backlinks from indexed core sections to related signals without rewriting core documents. - Backlinks from signals to derivatives and published outputs. The content graph would become: ```text Core document section ↔ enriched signal → approved derivative → optional publication ``` ## Deferred Future Extensions The following capabilities remain useful possible extensions but are explicitly outside the current repository-completion scope. The present process stops after connection resolution, derivative pilots, and human approval/correction capture. ### Relationship to the AI Knowledge Structure architecture The Future Map workflow currently addresses: - Creation. - Structured capture. - Enrichment. - Interpretation. - Initial discovery. Step 7 adds the derivative-output layer. The later work in [ai-knowledge-structure-OPEN](C:/projects/productivity/ai-knowledge-structure-OPEN/README.md) then adds: - Stable chunks. - Chunk Intelligence Signatures. - Q&A materialization. - Knowledge graph relationships. - Version lineage. - Machine discovery. - Policy overlays. - Serving interfaces. - Economic access. Its [control-plane.md](C:/projects/productivity/ai-knowledge-structure-OPEN/control-plane.md) correctly separates immutable content from mutable policy such as: - Access level. - Pricing. - Permissions. - Publication status. - Usage. - Reputation. That separation should be preserved here. Prices and access policy should not be embedded as mutable truth throughout the knowledge artifacts. ### Chunking, vectors, RAG, and MCP The logical order should be: 1. Stabilize the source and enrichment schemas. 2. Establish stable document, section, signal, claim, and derivative IDs. 3. Build reliable relationships and lineage. 4. Chunk stable content. 5. Add CIS metadata and provenance. 6. Build keyword and graph retrieval. 7. Add embeddings and vector retrieval. 8. Combine keyword, graph, and vector search. 9. Expose retrieval and tools through MCP. 10. Add control-plane policy and paid access. Vectors should not come first. Otherwise, you can retrieve similar text but still lack identity, provenance, relationships, approval state, and lifecycle. MCP is an interface to the knowledge and tools; it is not the knowledge model itself. ## Current Completion Checklist and Stop Boundary - **1 — Workflow:** Review and refine the operating workflow. **Complete.** - **2 — Taxonomy:** Expand taxonomy and relationship rules; maintain them through human-approved monthly review. **Complete for the current foundation.** - **3 — Corpus indexing:** Add stable section indexing and relationship-target validation. **Complete; issue review remains operational maintenance.** - **4 — Private capture:** Redesign the private JSON capture template and update pipeline/schema mappings. **Complete.** - **5 — Readiness:** Add source-sufficiency and media-inspection states. **Complete.** - **6 — Enrichment:** Complete reviewed historical enrichment in bounded batches and establish the incremental enrichment rhythm. **Complete for the current corpus: 982 records have complete reasoning and 13 evidence-gated records are retained as excluded.** - **6B — Connections:** Add connection resolution, lightweight backlinks, per-signal Markdown pages, and publishable references. **Complete.** - **7 — Authoring:** **Complete.** Separate derivative schemas, the Eddie-authoring routing skill, deterministic claim/reference resolution, lineage and stale detection, JSON and Markdown views, backlinking, indexing, and review routing are implemented without overwriting source-owned fields. - **8 — Pilots:** **Initial pilot complete for record 7073.** Social, email, article, slide, and webinar derivatives are current drafts awaiting Step 9 human review. - **9 — Approval:** **Operational as a human review loop.** New derivatives remain drafts until Eddie reviews them; requested corrections become replacement or superseding versions, and external publication remains separate. - **10 — Operate:** **Complete for the current scope.** Stop expanding the architecture and process new exact-tag records through the documented incremental workflow. Deferred unless separately authorized: - Stable chunk identity and CIS. - Graph databases and knowledge-graph materialization. - Embeddings, vectors, RAG, and MCP. - Control-plane access, pricing, previews, x402, and MPP. The most important principle is: > Preserve what you observed, separate how it was interpreted, record what you approved, and track everything created from it. That gives you a compounding Future Map knowledge system rather than a one-way content-generation pipeline. ## Ongoing Maintenance - Run the [taxonomy-review skill](skills/review-future-map-taxonomy/SKILL.md) monthly in proposal mode; apply only explicitly approved changes. - Run the [section-indexing skill](skills/index-future-map-sections/SKILL.md) when files under `core-docs/` are added, changed, renamed, moved, or removed. - Keep the 6:00 AM deterministic intake and 6:30 AM AI-processing automation enabled and separate; neither automation commits, pushes, approves drafts, or publishes externally. - Monitor the active 6:30 AM Codex automation `Daily Future Map AI Processing`, which processes up to 20 new or stale records after verifying the 6:00 AM intake succeeded. - Review `review/pending.jsonl`, `review/derivatives.jsonl`, automation results, and malformed-source warnings on the cadence that works best for you. - After taxonomy, core-document, schema, skill, or pipeline changes, rerun the applicable skill plus pipeline tests, pipeline validation, the repository audit, and `git diff --check`. - Do not run additional historical channel pilots. Create the standard five draft channels only for new reasoning-complete records unless Eddie requests a different assignment.