This commit is contained in:
eddiesoehnel committed 2026-08-20 15:08:07 -06:00
1 parent c04ca92c13
commit 31253e14c1
1008 files changed
+46154 -10432

No files matched your search

@@ -25,6 +25,7 @@ Preserve source facts, distinguish reasoning from source content, enrich each si
- 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.
@@ -35,11 +36,12 @@ Preserve source facts, distinguish reasoning from source content, enrich each si
- Exact-tag source records selected by deterministic scripts.
- `review/pending.jsonl` or user-selected record IDs.
- Repository `content-index.json` and relevant core documents.
- `references/reasoning-rubric.md` and `references/publication-policy.md`.
- `references/readiness-rubric.md`, `references/reasoning-rubric.md`, and `references/publication-policy.md`.
## Outputs
- Enrichment patch JSON for each processed record.
- 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, indexes, review queue, manifest, and receipt.
@@ -66,11 +68,21 @@ Confirm the exact `Future Map` tag filter, source availability, copied media, pe
Read `review/pending.jsonl`. Process a small explicit batch. Do not load all records and all core documents into one prompt.
### 3. Retrieve Corpus Context
### 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:
```text
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.
### 4. Enrich
### 5. Enrich
Follow `references/reasoning-rubric.md`. Create a patch matching `../../schemas/reasoning-patch.schema.json`.
@@ -82,7 +94,7 @@ Keep these boundaries:
- Never invent source, rights, dates, authors, publishers, URLs, or media provenance.
- Use `unknown`, an empty list, or a lower confidence when evidence is insufficient.
### 5. Apply And Validate
### 6. Apply And Validate
Apply each patch through the deterministic merge command:
@@ -98,7 +110,7 @@ python data/insights-hub/scripts/future_map_pipeline.py validate
Do not hand-edit generated indexes, queues, manifest, or digest.
### 6. Review And Publish
### 7. Review And Publish
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.
@@ -107,15 +119,17 @@ Write a receipt under `runtime/receipts/` using `../../templates/run-receipt.jso
## Test Surface
- Static: skill validation and unresolved-placeholder scan.
- Schema: public signals, reasoning patches, manifest, and receipt.
- Invariants: exact tag, stable ID, source hash, source/reasoning separation, local media existence.
- Fixtures: missing title, HTML notes, remote links, duplicate media, stale reasoning, malformed JSON.
- Schema: public signals, readiness patches, reasoning patches, manifest, and receipt.
- Invariants: exact tag, stable ID, source hash, source/reasoning separation, local media existence, readiness before enrichment.
- 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 only for enrichment, human authority for publication-policy and core-document changes.
## 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 `unassessed` when source JSON or connected media changes.
- Mark reasoning `stale` when 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.
@@ -131,6 +145,7 @@ Do not:
- 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.
@@ -0,0 +1,35 @@
# Future Map Source And Media Readiness Rubric
## Purpose
Assess whether a derivative record contains enough understandable source material for bounded Future Map enrichment. This is not an assessment of truth, credibility, or redistribution rights.
## Required sequence
1. Read the source summary, notes, capture context, source link metadata, and connected-media metadata.
2. Identify which source elements actually carry meaning for the signal.
3. Decide whether each media item must be inspected to understand the record.
4. Inspect required media using an appropriate visual, OCR, text-extraction, metadata, multimodal, or manual method.
5. Record missing elements and assign one source-assessment status.
## Source-assessment statuses
- `sufficient`: the available source content supports bounded enrichment, and all required media is inspected.
- `partial`: useful enrichment is possible, but named context is missing; reasoning must state limitations and use low or medium confidence.
- `insufficient`: available content does not support responsible interpretation.
- `unavailable`: the material needed to understand the signal cannot be accessed.
- `needs-human-context`: source material exists, but its intended meaning depends on context only the owner can provide.
`unassessed` is a pipeline state and is not valid in an applied readiness patch.
## Media rules
- Set `requirement` to `required` only when the media may materially change the meaning, claims, or classification of the signal.
- Set `requirement` and `status` to `not-required` when source text is independently sufficient and the media is merely illustrative or duplicative.
- Use `inspected` only after actually reading or viewing the content; include the method and inspector.
- Use `missing`, `unreadable`, `unsupported`, `needs-ocr`, or `failed` to preserve the actual failure state.
- Put a concise source-grounded description in `description`; put extracted words in `extracted_text`. Do not add interpretation to either field.
## Stop conditions
Do not enrich when the source assessment is `unassessed`, `insufficient`, `unavailable`, or `needs-human-context`, or when any required media is not `inspected`.
@@ -2,13 +2,14 @@
## Required reasoning sequence
1. Read the complete derivative signal, including original summary, normalized notes, links, and media metadata.
2. Read `content-index.json` and retrieve relevant complete core documents.
3. State what the source record directly provides before interpreting it.
4. Explain why the signal matters in the context of the Future Map corpus.
5. Produce practical implications at the individual, family, career, company, industry, or policy level only when supported.
6. Classify with the controlled taxonomy and link to specific core documents when a real relationship exists.
7. Assign confidence based on evidence and fit, not rhetorical certainty.
1. Confirm source readiness is `sufficient` or `partial` and all required media is `inspected`.
2. Read the complete derivative signal, including original summary, normalized notes, links, inspected media descriptions, and extracted text.
3. Read `content-index.json` and retrieve relevant complete core documents.
4. State what the source record directly provides before interpreting it.
5. Explain why the signal matters in the context of the Future Map corpus.
6. Produce practical implications at the individual, family, career, company, industry, or policy level only when supported.
7. Classify with the controlled taxonomy and link to specific core documents when a real relationship exists.
8. Assign confidence based on evidence and fit, not rhetorical certainty. A `partial` assessment cannot produce high confidence.
## Field rules
@@ -32,7 +33,8 @@
Do not complete enrichment when:
- the record has no understandable source content;
- source readiness is not `sufficient` or `partial`;
- required media has not been inspected;
- relevant corpus documents cannot be accessed;
- source and inference cannot be separated;
- the proposed patch fails schema or invariant validation.