First Principles Review
Purpose
Use this as a lightweight decision review before another Aegis workflow makes a
directional choice. It is a compositional skill, not a standalone workflow.
Do not replace brainstorming, systematic-debugging, writing-plans,
requesting-code-review, or verification-before-completion. Use it to clean
the decision surface those skills will act on.
Use When
- The user asks for first principles, first-principles thinking, or Occam's
razor.
- A design, plan, or fix has multiple plausible paths and unclear selection
criteria.
- The task has ambiguous goals, competing constraints, or product/architecture
direction risk.
- Debugging is drifting into repeated fixes, fallback growth, duplicate owners,
consumer-side patches, or "just add another branch" reasoning.
- A review finds that the implementation may be locally correct but directionally
wrong.
Do Not Use
- Simple Q&A, status checks, tiny wording/config edits, or clearly bounded
single-owner changes.
- Mechanical execution of an approved plan unless a new directional conflict
appears.
- As a required step for every task, every turn, or every TDD cycle.
Five-Line Review
Answer only what is needed, usually in five short lines:
First Principle: What irreducible outcome must this satisfy?
Non-negotiables: What constraints cannot be broken?
Assumptions to Drop: What is habit, inherited shape, or unproven preference?
Smallest Sufficient Path: What is the least complex path that satisfies the first principle?
Escalation Signal: What finding would require spec/design/architecture review?
For repair choices, "smallest" means smallest sufficient stable repair, not the
smallest textual diff:
Minimality Check:
- Smallest textual diff:
- Correct owner:
- Bug class fixed:
- New branch/fallback added:
- Old path retired or scheduled:
- Verdict: sufficient repair | local patch | needs first-principles review
Decision Hygiene Review
Use this escalation only when a design, fix, or plan needs endorsement before it
is written into a spec or implementation plan.
Escalate from the five-line review when any of these risk signals appear:
- multiple plausible paths and no clear selection criteria
- a new owner, duplicate owner, fallback, adapter, or compat-only carrier
- an old path that may need delete-first handling or a retirement trigger
- an unverified assumption that the proposal depends on
- user language such as "more elegant", "long-term stable", "first
principles", or "Occam"
- a plan could encode the wrong owner, abstraction, compatibility boundary, or
retirement schedule
Use this compact shape:
First-principles invariants:
- Non-negotiable goal:
- Non-negotiable constraints:
- Historical assumptions to delete:
Owner / retirement matrix:
- New canonical owner:
- Old owner:
- Compat-only carrier:
- Delete-first / retirement trigger:
Falsification matrix:
- Dependency-removal test:
- Counterexample scenario:
- Must fail / degrade / remain correct cases:
Verdict:
- Adopt / revise / reject / needs evidence:
- Blocking gaps:
- Next evidence:
Architecture Integrity Lens
Use this narrower lens when a proposal is executable but may still encode the
wrong owner, abstraction, contract boundary, or retirement path. It is advisory
method-pack output and may be embedded inside Decision Hygiene Review when
that is enough.
Trigger it when any of these appear before approach selection, task
decomposition, review, or completion-risk reporting:
- responsibilities may overlap or a canonical owner is unclear
- the smallest diff adds a caller-side fallback, guard, adapter, or compat-only
carrier
- an existing source-of-truth or contract could solve the class of problem at a
higher level
- a stale owner, fallback, or old path may keep carrying real logic
- the work makes a long-term stability, "cleaner architecture", or
higher-level simplification claim
Use this compact shape:
Architecture Integrity Lens:
- Invariant: What must remain true for the system to be coherent?
- Canonical owner / contract: Which owner, contract, or source-of-truth should carry the behavior?
- Responsibility overlap: What duplicate owner, caller-side patch, fallback, or stale path might still carry real logic?
- Higher-level simplification: Can the problem be solved at the owner / contract / source-of-truth layer instead of by another local branch?
- Retirement / falsifier: What old path retires, or what evidence would disprove this architecture judgment?
- Verdict: proceed | revise design | split owner | return to baseline | needs ADR/baseline sync
Do not run this lens for every low-risk task. If it does not change the
decision surface, return to the active workflow immediately.
Composition
- With
brainstorming: run before approach selection when the request is broad,
ambiguous, likely to inherit a poor product shape, or involves owner /
retirement / fallback / adapter risk. Use Decision Hygiene Review or the
narrower Architecture Integrity Lens before recommending or selecting an
approach when those signals appear.
- With
systematic-debugging: run after evidence shows repeated fixes, fallback
growth, duplicate owners, or consumer-side patching.
- With
writing-plans: run before task decomposition when the plan could encode
the wrong owner, abstraction, compatibility boundary, fallback, adapter, or
retirement schedule. If the approved spec did not already cover this, use
Decision Hygiene Review or the Architecture Integrity Lens before writing
tasks.
- With
requesting-code-review: run when review should check direction and
owner integrity, not just code quality.
- With
verification-before-completion: use only to name residual directional
risk. It does not grant completion authority.
Boundaries
- Prefer evidence from current project files, baseline docs, tests, logs, and
user requirements. If evidence is missing, mark the line as unknown rather
than inventing a principle.
- Keep the result advisory. This skill may recommend escalation, but it does
not create authoritative
GateDecision, PolicySnapshot, or completion
authority.
- If the five-line review does not change the decision surface, return to the
active workflow immediately.
1---2name: first-principles-review3description: Use when the user explicitly asks for first principles, first-principles review, Occam's razor, or when a complex decision has ambiguous goals, competing constraints, repeated fixes, fallback growth, duplicate owners, or architecture/product direction risk.4---56# First Principles Review78## Purpose910Use this as a lightweight decision review before another Aegis workflow makes a11directional choice. It is a compositional skill, not a standalone workflow.1213Do not replace `brainstorming`, `systematic-debugging`, `writing-plans`,14`requesting-code-review`, or `verification-before-completion`. Use it to clean15the decision surface those skills will act on.1617## Use When1819- The user asks for first principles, first-principles thinking, or Occam's20 razor.21- A design, plan, or fix has multiple plausible paths and unclear selection22 criteria.23- The task has ambiguous goals, competing constraints, or product/architecture24 direction risk.25- Debugging is drifting into repeated fixes, fallback growth, duplicate owners,26 consumer-side patches, or "just add another branch" reasoning.27- A review finds that the implementation may be locally correct but directionally28 wrong.2930## Do Not Use3132- Simple Q&A, status checks, tiny wording/config edits, or clearly bounded33 single-owner changes.34- Mechanical execution of an approved plan unless a new directional conflict35 appears.36- As a required step for every task, every turn, or every TDD cycle.3738## Five-Line Review3940Answer only what is needed, usually in five short lines:4142```text43First Principle: What irreducible outcome must this satisfy?44Non-negotiables: What constraints cannot be broken?45Assumptions to Drop: What is habit, inherited shape, or unproven preference?46Smallest Sufficient Path: What is the least complex path that satisfies the first principle?47Escalation Signal: What finding would require spec/design/architecture review?48```4950For repair choices, "smallest" means smallest sufficient stable repair, not the51smallest textual diff:5253```text54Minimality Check:55- Smallest textual diff:56- Correct owner:57- Bug class fixed:58- New branch/fallback added:59- Old path retired or scheduled:60- Verdict: sufficient repair | local patch | needs first-principles review61```6263## Decision Hygiene Review6465Use this escalation only when a design, fix, or plan needs endorsement before it66is written into a spec or implementation plan.6768Escalate from the five-line review when any of these risk signals appear:6970- multiple plausible paths and no clear selection criteria71- a new owner, duplicate owner, fallback, adapter, or compat-only carrier72- an old path that may need delete-first handling or a retirement trigger73- an unverified assumption that the proposal depends on74- user language such as "more elegant", "long-term stable", "first75 principles", or "Occam"76- a plan could encode the wrong owner, abstraction, compatibility boundary, or77 retirement schedule7879Use this compact shape:8081```text82First-principles invariants:83- Non-negotiable goal:84- Non-negotiable constraints:85- Historical assumptions to delete:8687Owner / retirement matrix:88- New canonical owner:89- Old owner:90- Compat-only carrier:91- Delete-first / retirement trigger:9293Falsification matrix:94- Dependency-removal test:95- Counterexample scenario:96- Must fail / degrade / remain correct cases:9798Verdict:99- Adopt / revise / reject / needs evidence:100- Blocking gaps:101- Next evidence:102```103104## Architecture Integrity Lens105106Use this narrower lens when a proposal is executable but may still encode the107wrong owner, abstraction, contract boundary, or retirement path. It is advisory108method-pack output and may be embedded inside `Decision Hygiene Review` when109that is enough.110111Trigger it when any of these appear before approach selection, task112decomposition, review, or completion-risk reporting:113114- responsibilities may overlap or a canonical owner is unclear115- the smallest diff adds a caller-side fallback, guard, adapter, or compat-only116 carrier117- an existing source-of-truth or contract could solve the class of problem at a118 higher level119- a stale owner, fallback, or old path may keep carrying real logic120- the work makes a long-term stability, "cleaner architecture", or121 higher-level simplification claim122123Use this compact shape:124125```text126Architecture Integrity Lens:127- Invariant: What must remain true for the system to be coherent?128- Canonical owner / contract: Which owner, contract, or source-of-truth should carry the behavior?129- Responsibility overlap: What duplicate owner, caller-side patch, fallback, or stale path might still carry real logic?130- Higher-level simplification: Can the problem be solved at the owner / contract / source-of-truth layer instead of by another local branch?131- Retirement / falsifier: What old path retires, or what evidence would disprove this architecture judgment?132- Verdict: proceed | revise design | split owner | return to baseline | needs ADR/baseline sync133```134135Do not run this lens for every low-risk task. If it does not change the136decision surface, return to the active workflow immediately.137138## Composition139140- With `brainstorming`: run before approach selection when the request is broad,141 ambiguous, likely to inherit a poor product shape, or involves owner /142 retirement / fallback / adapter risk. Use `Decision Hygiene Review` or the143 narrower `Architecture Integrity Lens` before recommending or selecting an144 approach when those signals appear.145- With `systematic-debugging`: run after evidence shows repeated fixes, fallback146 growth, duplicate owners, or consumer-side patching.147- With `writing-plans`: run before task decomposition when the plan could encode148 the wrong owner, abstraction, compatibility boundary, fallback, adapter, or149 retirement schedule. If the approved spec did not already cover this, use150 `Decision Hygiene Review` or the `Architecture Integrity Lens` before writing151 tasks.152- With `requesting-code-review`: run when review should check direction and153 owner integrity, not just code quality.154- With `verification-before-completion`: use only to name residual directional155 risk. It does not grant completion authority.156157## Boundaries158159- Prefer evidence from current project files, baseline docs, tests, logs, and160 user requirements. If evidence is missing, mark the line as unknown rather161 than inventing a principle.162- Keep the result advisory. This skill may recommend escalation, but it does163 not create authoritative `GateDecision`, `PolicySnapshot`, or completion164 authority.165- If the five-line review does not change the decision surface, return to the166 active workflow immediately.