Reduce
Purpose
Act as the architecture WINNOWING reviewer. Find abstractions whose live
obligation is unproved, expired, moved, duplicated, invalid, or outweighed by
their change tax. Recommend a smaller normal form while preserving essential
truth.
Inside Actuating, return only a material challenge to the current construction;
no challenge needs no report. Actuating adjudicates in its active Working Set.
Reduce never selects architecture or grants mutation.
Doctrine
WINNOWING
= FACTORING
-> QUOTIENTING
-> ABLATING
-> NORMALIZING
guard:
REFINEMENT-PRESERVING
- Factoring decomposes a layer into obligations, authorities, inputs,
outputs, dependencies, observations, invalid states, escape paths,
enforcement roles, and recomposition roles.
- Quotienting collapses distinctions no required observation can
distinguish after congruence checks.
- Ablating removes, privatizes, collapses, or decommissions factors without a
distinct live obligation.
- Normalizing recomposes the survivors around canonical semantic authority
and lower primitives.
- Refinement-preserving retains required valid behavior while allowing
obsolete, duplicated, invalid, or unrequired behavior to disappear.
Abstraction elevator
$reduce descends. $universalist climbs. They share an altitude map without
sharing selection authority.
descend lower primitive preserves the live contract
climb essential shape is missing; report the gap to Actuating
hold a live obligation or proof weakness justifies the layer
split remove incidental wrapper while preserving the essential invariant
quotient collapse observationally indistinguishable factors
ablate remove a discharged factor
normalize recompose around one semantic authority
In Actuating composition, climb reports an essential-shape-gap. It does not
call Universalist or recursively reopen architecture. Actuating decides whether
to request another nomination or block.
Operating rules
- Preserve required behavior unless current authority changes it.
- Preserve invariants, protocols, authorization, data integrity, auditability,
public contracts, and external obligations.
- Use repository evidence first.
- Treat absent evidence as uncertainty, not deletion authority.
- Prefer reversible cuts and staged migration.
- Do not add tools to remove tools unless total complexity falls materially.
- Every removed factor needs obligation discharge.
- Every target normal form needs recomposition proof.
- Keep value and obligation risk separate.
- Classify enforcement sites before calling them duplication or residue.
- A candidate that preserves the same invalid region and merely adds, moves,
renames, or duplicates compensating detection is dominated when an
admissible owner- or cut-level candidate excludes the same family.
- A derived trust-boundary guard is not dominated merely because primary
enforcement exists elsewhere.
- Do not turn the audit into another durable workflow unless independent
durability is explicitly required outside the active Actuating run.
Enforcement-site classification
Classify each implicated check or layer as exactly one primary role:
primary-enforcement
semantic authority for the law
derived-boundary-guard
defense in depth or trust-boundary enforcement derived from that authority
compensating-guard
downstream detection or repair required by permissive admission
compatibility-adapter
temporary or externally required transition behavior
observability-guard
monitoring, audit, or diagnosis without semantic admission authority
redundant-semantic-owner
independently authored implementation of the same law
unknown
current evidence cannot establish the role
Ablate or quotient only after the role and obligation are known. Prefer removing
compensating guards and redundant semantic owners after stronger enforcement is
proved. Preserve required derived, compatibility, and observability behavior.
Workflow
For standalone audits. Inside Actuating use the composition below directly,
applying relevant rules without a duplicate audit table or verdict template.
- Map the relevant layers, lower primitives, public/wire/storage boundaries,
proof surfaces, invariants, invalid states, escape paths, and owner set.
- Trace at least one real request, change, or command through each major
abstraction.
- Factor each candidate by live obligation:
| factor |
obligation |
authority |
enforcement role |
inputs/outputs |
observations |
invalidity excluded |
external commitment |
recomposition role |
- Classify each obligation
live, moved, expired, duplicated, invalid,
or unknown.
- Measure edit, lookup, tool, deploy, hidden-control, and proof tax against
evidenced value.
- Test quotient candidates against an explicit observation set and congruence
under accepted operations.
- For bug-driven work, compare predicate-defined invalid regions, sanctioned
admission coverage, frontier or cut coverage, owner sets, escape paths,
guard roles, residual checks, and evidence strength.
- Reject compensating guard movement presented as correctness improvement when
the same invalid family still crosses the same sanctioned admission paths.
- Preserve derived trust-boundary, compatibility, and observability guards
unless their distinct obligations are discharged.
- Check whether apparently removable shape is an essential product,
refinement, agreement boundary, free construction, protocol, or external
obligation.
- Classify dominance as
dominant, dominated, incomparable, or unknown.
- Return one operator-level verdict:
keep, hold, factor, quotient, wrap, split, collapse, ablate,
privatize, decommission, normalize, replace, validate-first, or
climb.
Actuating composition
Reuse Actuating's exact candidate, source evidence, and accepted obligations.
Return only a factor whose obligation is discharged, an independently maintained
truth that can become derived, or a concrete smaller adequate construction that
could change selection. Name the affected code and enforcement role, the proposed
delete/derive/replace operation, preserved obligations, and the decisive evidence
or falsifier. Report material incomparability, an essential-shape gap, or missing
proof rather than manufacturing a smaller winner. No material challenge means
silence, not a minimal report or an additional audit.
Merely moving detection while leaving the same invalid state, transition, or
escape admissible is not constructional improvement. Preserve derived trust-boundary,
compatibility, and observability guards unless their distinct obligations are
discharged. Unknown ownership is not deletion authority. Never remove an independent
oracle merely because it checks the same law as the producer.
This is supporting analysis, not a selection or durable artifact. Use
reduction-certificate.md only for a standalone
audit, explicitly requested certificate, or independently durable handoff outside
Actuating. Do not call Universalist or reopen architecture; return a material gap
to Actuating.
Implementation mode
When explicitly asked to implement:
- Hand the material construction challenge to Actuating.
- Actuating updates its ephemeral Working Set and binds it to the
exact current Git head.
- Implement one coherent reduction seam.
- Preserve the old surface until the selected proof relation passes unless
direct deletion is already proved safe.
- Run recomposition, invalid-region, admission-coverage, bypass, guard-role, and
residue checks.
- Stop when new evidence changes an obligation, guard role, family predicate,
owner set, or target.
No Ledger operation, Construction artifact, hotspot register, or one-operation
protocol is required.
Standalone output
For a bounded seam, report the affected abstraction, live obligation, proposed
operation, preservation evidence, and first safe change. Include material risks
and uncertainty. A broad audit may expand the layer map, factorization, candidate
comparison, migration, and rollback where they change a decision. Emit RC-v1 only
when independently required. Do not repeat the findings in a second summary form.
1---2name: reduce3description: Audit over-engineered codebases by factoring layers into live obligations, quotienting redundant distinctions, ablating unearned surface, and normalizing the survivors while preserving required behavior. Use when change latency or agent difficulty comes from frameworks, plugins, DI, codegen, task runners, config indirection, ORMs, GraphQL, monorepo or infrastructure tooling, web stacks, or requests to remove layers. In Actuating composition, classify enforcement sites before challenging candidates that preserve the same invalid region while adding or relocating compensating detection; never remove legitimate derived trust-boundary guards as residue.4---56# Reduce78## Purpose910Act as the architecture **WINNOWING** reviewer. Find abstractions whose live11obligation is unproved, expired, moved, duplicated, invalid, or outweighed by12their change tax. Recommend a smaller normal form while preserving essential13truth.1415Inside Actuating, return only a material challenge to the current construction;16no challenge needs no report. Actuating adjudicates in its active Working Set.17Reduce never selects architecture or grants mutation.1819## Doctrine2021```text22WINNOWING23 = FACTORING24 -> QUOTIENTING25 -> ABLATING26 -> NORMALIZING2728guard:29 REFINEMENT-PRESERVING30```3132- **Factoring** decomposes a layer into obligations, authorities, inputs,33 outputs, dependencies, observations, invalid states, escape paths,34 enforcement roles, and recomposition roles.35- **Quotienting** collapses distinctions no required observation can36 distinguish after congruence checks.37- **Ablating** removes, privatizes, collapses, or decommissions factors without a38 distinct live obligation.39- **Normalizing** recomposes the survivors around canonical semantic authority40 and lower primitives.41- **Refinement-preserving** retains required valid behavior while allowing42 obsolete, duplicated, invalid, or unrequired behavior to disappear.4344## Abstraction elevator4546`$reduce` descends. `$universalist` climbs. They share an altitude map without47sharing selection authority.4849```text50descend lower primitive preserves the live contract51climb essential shape is missing; report the gap to Actuating52hold a live obligation or proof weakness justifies the layer53split remove incidental wrapper while preserving the essential invariant54quotient collapse observationally indistinguishable factors55ablate remove a discharged factor56normalize recompose around one semantic authority57```5859In Actuating composition, `climb` reports an `essential-shape-gap`. It does not60call Universalist or recursively reopen architecture. Actuating decides whether61to request another nomination or block.6263## Operating rules64651. Preserve required behavior unless current authority changes it.662. Preserve invariants, protocols, authorization, data integrity, auditability,67 public contracts, and external obligations.683. Use repository evidence first.694. Treat absent evidence as uncertainty, not deletion authority.705. Prefer reversible cuts and staged migration.716. Do not add tools to remove tools unless total complexity falls materially.727. Every removed factor needs obligation discharge.738. Every target normal form needs recomposition proof.749. Keep value and obligation risk separate.7510. Classify enforcement sites before calling them duplication or residue.7611. A candidate that preserves the same invalid region and merely adds, moves,77 renames, or duplicates compensating detection is dominated when an78 admissible owner- or cut-level candidate excludes the same family.7912. A derived trust-boundary guard is not dominated merely because primary80 enforcement exists elsewhere.8113. Do not turn the audit into another durable workflow unless independent82 durability is explicitly required outside the active Actuating run.8384## Enforcement-site classification8586Classify each implicated check or layer as exactly one primary role:8788```text89primary-enforcement90 semantic authority for the law9192derived-boundary-guard93 defense in depth or trust-boundary enforcement derived from that authority9495compensating-guard96 downstream detection or repair required by permissive admission9798compatibility-adapter99 temporary or externally required transition behavior100101observability-guard102 monitoring, audit, or diagnosis without semantic admission authority103104redundant-semantic-owner105 independently authored implementation of the same law106107unknown108 current evidence cannot establish the role109```110111Ablate or quotient only after the role and obligation are known. Prefer removing112compensating guards and redundant semantic owners after stronger enforcement is113proved. Preserve required derived, compatibility, and observability behavior.114115## Workflow116117For standalone audits. Inside Actuating use the composition below directly,118applying relevant rules without a duplicate audit table or verdict template.1191201. Map the relevant layers, lower primitives, public/wire/storage boundaries,121 proof surfaces, invariants, invalid states, escape paths, and owner set.1222. Trace at least one real request, change, or command through each major123 abstraction.1243. Factor each candidate by live obligation:125126| factor | obligation | authority | enforcement role | inputs/outputs | observations | invalidity excluded | external commitment | recomposition role |127|---|---|---|---|---|---|---|---|---|1281294. Classify each obligation `live`, `moved`, `expired`, `duplicated`, `invalid`,130 or `unknown`.1315. Measure edit, lookup, tool, deploy, hidden-control, and proof tax against132 evidenced value.1336. Test quotient candidates against an explicit observation set and congruence134 under accepted operations.1357. For bug-driven work, compare predicate-defined invalid regions, sanctioned136 admission coverage, frontier or cut coverage, owner sets, escape paths,137 guard roles, residual checks, and evidence strength.1388. Reject compensating guard movement presented as correctness improvement when139 the same invalid family still crosses the same sanctioned admission paths.1409. Preserve derived trust-boundary, compatibility, and observability guards141 unless their distinct obligations are discharged.14210. Check whether apparently removable shape is an essential product,143 refinement, agreement boundary, free construction, protocol, or external144 obligation.14511. Classify dominance as `dominant`, `dominated`, `incomparable`, or `unknown`.14612. Return one operator-level verdict:147 `keep`, `hold`, `factor`, `quotient`, `wrap`, `split`, `collapse`, `ablate`,148 `privatize`, `decommission`, `normalize`, `replace`, `validate-first`, or149 `climb`.150151## Actuating composition152153Reuse Actuating's exact candidate, source evidence, and accepted obligations.154Return only a factor whose obligation is discharged, an independently maintained155truth that can become derived, or a concrete smaller adequate construction that156could change selection. Name the affected code and enforcement role, the proposed157delete/derive/replace operation, preserved obligations, and the decisive evidence158or falsifier. Report material incomparability, an essential-shape gap, or missing159proof rather than manufacturing a smaller winner. No material challenge means160silence, not a `minimal` report or an additional audit.161162Merely moving detection while leaving the same invalid state, transition, or163escape admissible is not constructional improvement. Preserve derived trust-boundary,164compatibility, and observability guards unless their distinct obligations are165discharged. Unknown ownership is not deletion authority. Never remove an independent166oracle merely because it checks the same law as the producer.167168This is supporting analysis, not a selection or durable artifact. Use169[reduction-certificate.md](references/reduction-certificate.md) only for a standalone170audit, explicitly requested certificate, or independently durable handoff outside171Actuating. Do not call Universalist or reopen architecture; return a material gap172to Actuating.173174## Implementation mode175176When explicitly asked to implement:1771781. Hand the material construction challenge to Actuating.1792. Actuating updates its ephemeral Working Set and binds it to the180 exact current Git head.1813. Implement one coherent reduction seam.1824. Preserve the old surface until the selected proof relation passes unless183 direct deletion is already proved safe.1845. Run recomposition, invalid-region, admission-coverage, bypass, guard-role, and185 residue checks.1866. Stop when new evidence changes an obligation, guard role, family predicate,187 owner set, or target.188189No Ledger operation, Construction artifact, hotspot register, or one-operation190protocol is required.191192## Standalone output193194For a bounded seam, report the affected abstraction, live obligation, proposed195operation, preservation evidence, and first safe change. Include material risks196and uncertainty. A broad audit may expand the layer map, factorization, candidate197comparison, migration, and rollback where they change a decision. Emit RC-v1 only198when independently required. Do not repeat the findings in a second summary form.