12 KiB
name, description
| name | description |
|---|---|
| process-future-map-insights | Prepare, enrich, validate, review, and publish Future Map Insights Hub records as corpus-grounded public signal artifacts. Use when an agent must process exact-tag Future Map source JSON, reason about a signal against the curated Future Map corpus, classify it, link it to core documents, update pending or stale enrichment records, validate connected media and links, or operate the contained data/insights-hub workflow. |
Process Future Map Insights
Skill Shape
system: coordinate deterministic preparation with corpus-grounded reasoning and validated publication.
Contract
Preserve source facts, distinguish reasoning from source content, enrich each signal against the Future Map corpus, publish connected files under the repository owner's declared policy, and leave schema-valid outputs and a durable receipt.
Requires
- Read access to the private source hrecords and files for deterministic preparation.
- Read access to
content-index.jsonand relevant files undercore-docs/for enrichment. - Write access only within
data/insights-hub/unless separately authorized. - Human authority for changing publication policy, taxonomy, schema, or core documents.
Ensures
- Source JSON remains unchanged.
- Public hrecords conform to
../../schemas/future-map-signal.schema.json. - Original summary and normalized notes remain labeled as source content.
- Source sufficiency and each connected media item's inspection state remain explicit.
- Analysis, implications, claims, classifications, and relationships remain labeled as reasoning.
- Pending, stale, failed, and complete states remain explicit.
- Connected files and links remain attached when available.
- Related document-section and signal IDs resolve into validated audience-facing links.
- Every public signal has a readable Markdown page, and incoming signal references remain visible as backlinks.
- Validation and a run receipt complete before reporting success.
Inputs
- Exact-tag source records selected by deterministic scripts.
review/pending.jsonlor user-selected record IDs.- Repository
content-index.jsonand relevant core documents. references/readiness-rubric.md,references/reasoning-rubric.md, andreferences/publication-policy.md.- The authoritative
C:\projects\productivity\ES-authoring-skills\social-posts-curation-lens.mdwhen available, for audience, decision, point-of-view, and action framing.
Outputs
- Readiness patch JSON and, only when eligible, enrichment patch JSON for each processed record.
- Updated readiness state through
scripts/future_map_pipeline.py apply-readiness. - Updated derivative hrecord through
scripts/future_map_pipeline.py apply-reasoning. - Refreshed digest, per-signal Markdown pages, connection/backlink index, signal index, review queues, manifest, and receipt.
- A validated handoff to
author-future-map-derivativeswhen reasoning is complete.
Capabilities And State
- Use deterministic scripts for selection, extraction, copying, merging, rendering, and validation.
- Use model reasoning only for interpretation and cross-corpus relationships.
- Use project-scoped state under
data/insights-hub/. - Do not publish, commit, push, edit private source data, or modify
core-docs/without separate authorization.
Workflow
1. Verify Intake And Prepare Public Records
Confirm today's 6:00 AM Windows log reports a successful exact-tag intake copy. Then run:
Run:
python data/insights-hub/scripts/future_map_pipeline.py sync --source-hrecords data/insights-hub/runtime/intake/hrecords --source-files data/insights-hub/runtime/intake/files
Confirm intake availability, copied media, pending/stale counts, and the public validation result. Stop if the current-date intake did not succeed, the intake folders are unavailable, or deterministic public preparation fails.
2. Select A Bounded Batch
Read review/pending.jsonl. Process a small explicit batch. Do not load all records and all core documents into one prompt.
3. Assess Source And Media Readiness
Follow references/readiness-rubric.md. Inspect source fields, links, and any connected media needed to understand the signal. Create a patch matching ../../schemas/readiness-patch.schema.json, then apply it through:
python data/insights-hub/scripts/future_map_pipeline.py apply-readiness --record-id fm-signal-ID --patch PATH
Do not proceed to enrichment unless the source assessment is sufficient or partial and every media item marked required is inspected. A partial assessment must identify missing elements and constrain confidence.
4. Retrieve Corpus Context
Read repository content-index.json. Always consider foundational methodologies when relevant, then load only core documents whose titles, descriptions, concepts, or sections plausibly relate to the signal. Record which documents were consulted.
5. Enrich
Follow references/reasoning-rubric.md. Create a patch matching ../../schemas/reasoning-patch.schema.json.
Keep these boundaries:
summaryandnotesare source-derived.analysis,implications,claims,classification,related_documents, andrelated_signalsare reasoned.- Related-signal links must name an existing
fm-signal-*record and describe whether it supports, challenges, updates, illustrates, warns about, contradicts, or supersedes the current signal. - Never invent source, rights, dates, authors, publishers, URLs, or media provenance.
- Use
unknown, an empty list, or a lower confidence when evidence is insufficient.
Add a reader-facing core connection when one is materially useful:
- Treat
reasoning.analysisas the Future Map contextual summary; never rewritesource_record.summaryor source notes. - Apply the social-post curation lens to identify a specific audience, the decision or behavior the signal may change, and Eddie's practical point of view.
- Choose one strongest core section that extends the source with useful explanation, a framework, a tool, or a next action. Prefer practical sections over generic or empty headings.
- End the analysis with a concise
Core connection:sentence that names the core document and section and explains how the reader can use it. - Include that exact
document_id + section_idinrelated_documents, normally as the highest-relevance core relationship, so the deterministic renderer provides the validated clickable path. - Do not place a hand-built repository path or URL in
analysis; the connection resolver owns links. - Omit the core-connection sentence when no section materially helps the intended audience. Never force a generic corpus reference.
6. Apply And Validate
Apply each patch through the deterministic merge command:
python data/insights-hub/scripts/future_map_pipeline.py apply-reasoning --record-id fm-signal-ID --patch PATH
Then run:
python data/insights-hub/scripts/future_map_pipeline.py validate
Confirm that signals/ contains one fm-signal-*.md page per public hrecord, indexes/connections.json contains only resolved targets, and review/connection-issues.jsonl is empty. Core-section references must resolve through indexes/core-document-sections.json; related signals must resolve to existing public hrecords and signal pages. Do not hand-edit generated pages, indexes, queues, manifest, or digest.
When an analysis names a core connection, inspect the rendered signal page and confirm the named document-section appears as a resolved link under Connected Future Map context.
7. Review The Structured Signal
Inspect validation warnings and the affected Markdown entry. Publication means writing local generated artifacts only. Git commit, push, external publication, and core-document promotion require separate authorization.
Write a receipt under runtime/receipts/ using ../../templates/run-receipt.json as the shape. Do not include private absolute source paths, credentials, or raw protected content in receipts.
8. Hand Off New Signals For Channel Authoring
For a newly reasoning-complete signal, read ../author-future-map-derivatives/SKILL.md. Unless the owner requests a different assignment, create five draft derivatives: LinkedIn social post, email response, article section, presentation slide, and webinar talking point.
Apply each authored patch through:
python data/insights-hub/scripts/future_map_pipeline.py apply-derivative --record-id fm-signal-ID --patch PATH
Confirm that every derivative is draft, not-published, and current; that selected claim indexes and connection IDs resolve; that the signal page backlinks to each derivative; and that all drafts appear in review/derivatives.jsonl. Do not repeat this step for historical records unless the owner explicitly requests it.
9. Human Review And Optional External Use
The owner reviews new channel drafts. If revisions are requested, preserve the original and apply a replacement draft or a new superseding version. Git commit, push, copying into an external channel, and external publication remain separate authorized actions.
Test Surface
- Static: skill validation and unresolved-placeholder scan.
- Schema: public signals, readiness patches, reasoning patches, derivative patches, final derivatives, manifest, and receipt.
- Invariants: exact tag, stable ID, source hash, source/reasoning separation, local media existence, readiness before enrichment.
- Connections: stable connection IDs, existing source/target signals, valid core document-section targets, exact relative links, and reciprocal signal backlinks.
- Fixtures: missing title, HTML notes, remote links, duplicate media, uninspected required media, stale reasoning, malformed JSON.
- Behavioral: use deterministic merging; report uncertainty; never overwrite source facts with inference.
- Routing: deterministic preparation first, model reasoning for enrichment and derivative authoring only, human authority for review, publication policy, core-document changes, Git operations, and external use.
Edge Cases
- Preserve complete reasoning when the source fingerprint is unchanged.
- Preserve assessed readiness and media inspection when source and media fingerprints are unchanged.
- Reset readiness to
unassessedwhen source JSON or connected media changes. - Mark reasoning
stalewhen source JSON or connected media changes. - Keep missing media as a warning and explicit media status.
- Normalize legacy control characters without changing the private source file.
- Treat absent rights data as
unknown; apply the declared publish-with-attribution policy without inventing permission. - Exclude raw contact identifiers from public output; retain only a deterministic reference count.
Anti-Patterns
Do not:
- Copy raw source JSON into public hrecords.
- Treat source notes as AI analysis.
- Replace original summaries with generated summaries.
- Infer redistribution rights from payment, access, or availability.
- classify a record without consulting relevant corpus context.
- enrich a record before source readiness is sufficient or partial, or while required media remains uninspected.
- edit generated output indexes manually.
- call a model from the unattended daily deterministic task.
Ratchet And Regression Rules
Convert every important failure into a fixture, validator, schema rule, routing case, or explicit STOP gate. Rerun deterministic tests and skill validation after changing a guardrail.
Validation
Before finishing:
- Run the pipeline test suite.
- Validate the skill folder.
- Run pipeline validation.
- Run the repository audit and
git diff --check. - Report pending/stale/complete counts and anything not tested.
Final Report
Report records prepared or enriched, files copied or missing, validation results, receipts written, unresolved review items, and whether Git or external publication occurred.