systemic-ingestion-normalization
Phase 4 of the pentaphase structural-overhaul protocol. Purges redundancies, enriches and aligns legacy entities to the new schema, executes phased ingestion into the new environment, and audits integrity. Use when the user invokes phase 4 of an overhaul, asks to "migrate the data" or "ingest into the new system", or has a configured environment ready to accept legacy entities. Consumes phase-3-environment-spec.md; produces phase-4-ingestion-report.md.
Best use case
systemic-ingestion-normalization is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Phase 4 of the pentaphase structural-overhaul protocol. Purges redundancies, enriches and aligns legacy entities to the new schema, executes phased ingestion into the new environment, and audits integrity. Use when the user invokes phase 4 of an overhaul, asks to "migrate the data" or "ingest into the new system", or has a configured environment ready to accept legacy entities. Consumes phase-3-environment-spec.md; produces phase-4-ingestion-report.md.
Teams using systemic-ingestion-normalization should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/systemic-ingestion-normalization/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How systemic-ingestion-normalization Compares
| Feature / Agent | systemic-ingestion-normalization | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Phase 4 of the pentaphase structural-overhaul protocol. Purges redundancies, enriches and aligns legacy entities to the new schema, executes phased ingestion into the new environment, and audits integrity. Use when the user invokes phase 4 of an overhaul, asks to "migrate the data" or "ingest into the new system", or has a configured environment ready to accept legacy entities. Consumes phase-3-environment-spec.md; produces phase-4-ingestion-report.md.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Phase 4: Normalization & Systemic Ingestion You are migrating legacy entities into the configured environment. The `phase-3-environment-spec.md` describes the destination; your job is to clean, normalize, and load the existing substrate into it without corrupting either side. ## Preconditions - `<working-dir>/substrate-context.md` exists. - `<working-dir>/phase-1-landscape-report.md` exists (for the source-side asset inventory). - `<working-dir>/phase-2-taxonomy-model.md` exists (for the target schema). - `<working-dir>/phase-3-environment-spec.md` exists and has passed gate 3. - The environment described by phase 3 is actually instantiated and reachable. If it is not, stop and tell the user — ingestion against a non-existent environment is not the protocol. - Read all four files in full before starting. ## Four work streams ### Stream 1 — Purge Redundancies Filter out duplicate, obsolete, or non-standard system inputs from the legacy substrate. For each pass: - **Pass name** — what's being filtered (exact duplicates / fuzzy duplicates / obsolete / non-standard / corrupted) - **Detection method** — how items are identified (hash equality, fuzzy match with threshold, age beyond N days, schema-conformance check, manual review) - **Action** — delete / archive / quarantine / merge / preserve-with-flag - **Counts** — items examined, items matched, items actioned - **Sample** — 3–5 example items that were actioned, for spot-checking Always preserve a record of what was purged. Append-only purge logs prevent unrecoverable mistakes; never hard-delete without an archive. ### Stream 2 — Enrich & Align Apply the mandatory attributes to all legacy entities before migration. For each enrichment pass: - **Target attribute** — which phase-2 attribute is being filled - **Source** — where the value comes from (existing legacy field, derivation, lookup, default, manual) - **Coverage** — what fraction of legacy entities can be enriched automatically - **Manual queue** — what fraction needs human input, and how it's surfaced Critical enrichments that almost always need attention: - Universal-schema attributes added in phase 2 that didn't exist in legacy (e.g., `owner` if the legacy substrate didn't track ownership) - Status/state normalization (legacy free-text status → new enum) - Identifier reconciliation (legacy IDs → new id space, with a mapping table preserved) - Relationship rebuilding (legacy implicit links → explicit relationships) For every enrichment that touches data, retain a "before/after" record so the audit can verify no value was changed silently. ### Stream 3 — Execute Ingestion Transfer items into the new environment using structured, phased batches. Phase the ingestion explicitly: - **Phase 4a — Pilot batch**: small, representative slice (1–5% of items). Run through the full validation pipeline. Inspect for errors. Adjust enrichment / validation rules if needed. - **Phase 4b — Bulk batches**: remainder, in batches sized to fit memory and to allow rollback on per-batch errors. Document batch size and concurrency. - **Phase 4c — Tail / edge cases**: items that failed earlier batches and were surfaced for manual handling. For each batch, log: - Batch ID - Item count attempted - Item count succeeded - Item count rejected (with rejection reason categories) - Wall-clock duration - Any rollback or remediation taken Ingestion runs MUST be idempotent — if a batch fails halfway, re-running it must not duplicate already-ingested items. ### Stream 4 — Audit Integrity Run automated and manual checks to ensure zero data corruption. Automated checks: - **Count parity** — legacy items in scope vs. new items present (allowing for purge counts) - **Identifier mapping completeness** — every legacy ID maps to a new ID (or is documented as intentionally dropped) - **Schema conformance** — every new entity passes phase-3 validation rules - **Relationship integrity** — every relationship has both endpoints present; no orphans - **Sample fidelity** — random sample of N items, deep-compared between legacy and new Manual checks: - **Stakeholder spot-check** — operational role(s) named in `substrate-context.md` review a small sample and confirm fidelity - **Edge-case review** — any item that required special handling during enrichment is reviewed by a human Integrity audit must produce a verdict: PASS / PASS-WITH-CAVEATS / FAIL. A FAIL verdict means ingestion is rolled back to the pre-ingestion snapshot. ## Composing phase-4-ingestion-report.md Combine the four streams into a single file at `<working-dir>/phase-4-ingestion-report.md`. Structure: ```markdown # Phase 4 — Ingestion Report **Substrate:** <name> **Date range:** YYYY-MM-DD to YYYY-MM-DD **Preconditions:** Read substrate-context.md, phase-1, phase-2, phase-3 **Postconditions:** Ready for Phase 5 (governance-evolution-protocol) ## 1. Purge passes [per-pass summaries with counts] ## 2. Enrichment passes [per-pass summaries with coverage] ## 3. Ingestion batches ### 3.1 Pilot [batch log] ### 3.2 Bulk [per-batch logs] ### 3.3 Tail / edge cases [per-item or per-category log] ## 4. Integrity audit ### 4.1 Automated checks [results table] ### 4.2 Manual checks [stakeholder sign-offs, edge-case reviews] ### 4.3 Verdict PASS | PASS-WITH-CAVEATS | FAIL — with reasoning ## 5. Open questions for Phase 5 [explicit list of operational concerns or governance gaps surfaced during ingestion] ``` ## Gate criteria (auditor will check) The report passes Phase 4's gate iff: 1. **At least one purge pass** is documented (even if zero items matched — the pass establishes that the question was asked). 2. **Universal-schema attributes are enriched on 100% of ingested entities** — no entity missing a required field. 3. **Pilot batch was run before bulk batches** — explicit, in that order, with errors from the pilot triggering enrichment/validation adjustments before bulk. 4. **Count parity holds** — legacy_in_scope − purged = new_present (within a documented tolerance, ideally 0). 5. **Integrity audit verdict is present and is PASS or PASS-WITH-CAVEATS** — a FAIL verdict means ingestion did not complete; the report should not exist in its final form yet. 6. **Open questions for Phase 5 section is present**. ## Anti-patterns - **Don't skip the pilot batch.** Bulk-loading without piloting is how silent corruption enters the new environment at scale. - **Don't enrich destructively.** Every enrichment must be reversible from the audit log; if you can't reverse it, you can't safely re-run it. - **Don't silently drop items that fail validation.** They go to a quarantine queue with a reason code, not /dev/null. - **Don't declare PASS before stakeholder spot-check.** Automated checks verify schema conformance; humans verify semantic fidelity. Both are required. ## See also - `references/deduplication-strategies.md` — exact, fuzzy, and semantic duplicate detection - `references/integrity-audits.md` — count parity, mapping completeness, sample fidelity patterns
Related Skills
systemic-product-analyst
A rigorous protocol for auditing projects ("The Thing") and their market fit ("The World"). Uses parallel analysis lanes, friction mapping, and outcome testing to create actionable 30/60/90 day plans.
data-ingestion-pipeline
Build data ingestion pipelines for batch and streaming data from multiple sources. Covers extraction strategies, format normalization, deduplication, validation gates, and staging patterns. Triggers on data ingestion, ETL pipeline, or data import architecture requests.
taxonomy-modeling-design
Phase 2 of the pentaphase structural-overhaul protocol. Classifies entities, standardizes attributes, establishes relationships, and designs the access framework. Use when the user invokes phase 2 of an overhaul, asks to "design the taxonomy" or "model the structure", or has completed a landscape audit and is ready to redesign. Consumes phase-1-landscape-report.md; produces phase-2-taxonomy-model.md.
system-environment-configuration
Phase 3 of the pentaphase structural-overhaul protocol. Translates the taxonomy model into objective technical criteria, evaluates candidate mechanisms or frameworks, instantiates the chosen architecture, and programs validation rules. Use when the user invokes phase 3 of an overhaul, asks to "select a system" or "configure the environment", or has a taxonomy model and is ready to choose technology. Consumes phase-2-taxonomy-model.md; produces phase-3-environment-spec.md.
pentaphase-orchestrator
Threads the full five-phase structural-overhaul protocol — landscape discovery, taxonomy design, environment configuration, systemic ingestion, governance evolution — for any substrate the user names. Use when the user requests a structural overhaul, system redesign, or end-to-end restructuring of a documentation system, asset registry, code monorepo, knowledge base, or operational workflow; or when they explicitly invoke the pentaphase methodology. Coordinates handoffs between phase-skills and seats validation gates between phases.
landscape-discovery-audit
Phase 1 of the pentaphase structural-overhaul protocol. Inventories assets, maps current flow, identifies friction, and defines value metrics for any substrate. Use when the user invokes phase 1 of an overhaul, requests a baseline audit, asks to "discover the landscape" of a system, or wants to understand current state before redesigning. Produces phase-1-landscape-report.md.
governance-evolution-protocol
Phase 5 of the pentaphase structural-overhaul protocol. Codifies operational protocols, onboards the ecosystem of participants, programs behavior monitoring, and establishes an iteration cadence so the substrate evolves rather than calcifies. Use when the user invokes phase 5 of an overhaul, asks to "establish governance" or "lock in the protocols", or has completed ingestion and is ready to declare the substrate operational. Consumes phase-4-ingestion-report.md; produces phase-5-governance-charter.md, which closes the protocol.
dimension-surfacing
Surfaces the parallel domain dimensions implicit in a dense or minimal prompt. Use when a user prompt is small on the surface but plainly implies multiple independent domains needing different expertise; when explicitly invoked by the coliseum-orchestrator skill as Phase 1; or when the user asks "what dimensions does this prompt encode" or "what axes does this break into." Produces a named dimension set where each dimension is independently executable and not a paraphrase of another.
coliseum-dispatch
Dispatches a composed set of assignment envelopes to domain-expert subagents in parallel, in a single message with multiple Agent tool calls. Enforces the no-pingpong gate via the pingpong-detector agent before any dispatch fires. Use when invoked by the coliseum-orchestrator as Phase 3; when envelopes are already composed and the next step is parallel execution; or when the user asks to "fan out" or "dispatch in parallel." Produces a dispatch log capturing what was sent, when, and where returns land.
assignment-composition
Wraps each surfaced dimension as a self-contained 9-section autonomous-work-assignment envelope — scope, context, success criteria, allowed tools, return format, handoff — all the recipient subagent needs to execute without coming back. Use when invoked by coliseum-orchestrator as Phase 2; when dimensions are named and the next step is to make each independently dispatchable; or when the user asks "compose this as an assignment." The no-pingpong gate validates each envelope before dispatch.
workspace-autopsy-governance
Conducts a full automated autopsy of the current workspace directory to map files, identifies structural issues, proposes a restructuring plan (the signal), and establishes unified governance using templates. Use this skill when a user asks to map, restructure, reorganize, or apply new governance to an existing messy repository.
workshop-presentation-design
Design engaging workshops, conference talks, and educational presentations. Covers learning objectives, activity design, slide craft, and facilitation techniques. Triggers on workshop design, presentation prep, talk structure, or training session requests.