Skip to content

Implement Adaptive Gating in the egm-lite skill - #459

Merged
njeunje merged 0 commit into
feat/egm-lite-corefrom
feat/egm-lite-adaptive-gating
Nov 17, 2026
Merged

njeunje merged 0 commit into
feat/egm-lite-corefrom
feat/egm-lite-adaptive-gating

Conversation

@njeunje

@njeunje njeunje commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary of Key Changes

Implements the Adaptive Gating design from docs/designs/lite.md in the egm-lite skill. It builds on the core skill and adds a spec review of the checklist before any file is edited, which the user can skip. Direct execution remains available for routine changes.

  • Splits Section 2 of skills/egm-lite/SKILL.md into 2A (checklist with a spec review recommendation) and 2B (spec review by a fresh-context subagent), and adds state transition rules with a state advisory for out-of-order commands.
  • Extends Section 5 to resolve both spec review and diff review responses.
  • Expresses the halting rules with a Model Rule marker that is defined once.
  • Shortens the wording of the skill.
  • At the checklist gate, names the commands and offers both in every case; the criteria decide whether the spec review is recommended. exec from the Critique Pause returns a state advisory.
  • Adds nine scenarios to test_scenarios.yaml (two multi-turn gate halts and seven for Adaptive Gating), removes exec_protocol_adherence (its prompt names a checklist that does not exist in the test, and gate_halt_after_exec runs a real execution), rewords four prompts to fit their checks, and updates TEST.md and the site page.

Stacked on #438.

Closes #461

Contribution Type

Track: Feature / Architectural Change -- Stage 2: Implementation PR

Verification

  • pytest tests/unit: 387 passed, 2 skipped.
  • Behavioral scenarios (28): live model run of this file not run.

Human Accountability Affirmation

@njeunje njeunje self-assigned this Nov 16, 2026
@njeunje njeunje added skills Changes to the skill(s) site Changes to the project website labels Nov 16, 2026
@njeunje
njeunje requested a review from eewing314 November 16, 2026 19:00
Base automatically changed from docs/egm-lite-adaptive-gating to feat/egm-lite-core November 16, 2026 23:56
@n3wth
n3wth added this pull request to stack #441 November 17, 2026 00:34
eewing314
eewing314 previously approved these changes Nov 17, 2026
eewing314
eewing314 previously approved these changes Nov 17, 2026
njeunje added a commit that referenced this pull request Nov 17, 2026
Implements the Adaptive Gating design from docs/designs/lite.md in the egm-lite skill.
- Splits Section 2 of skills/egm-lite/SKILL.md into 2A (checklist with a spec review recommendation) and 2B (spec review by a fresh-context subagent), with state advisory for out-of-order commands.
- Extends Section 5 to resolve both spec review and diff review responses.
- Expresses the halting rules with a Model Rule marker that is defined once.
- Shortens the wording of the skill.
- At the checklist gate, names the commands and offers both in every case; the criteria decide whether the spec review is recommended. exec from the Critique Pause returns a state advisory.
- Adds nine scenarios to test_scenarios.yaml, removes exec_protocol_adherence, rewords four prompts, and updates TEST.md and docs.

Closes #461
@njeunje

njeunje commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

Consolidated and squashed into #438 in commit 11a10e4.

@njeunje njeunje closed this Nov 17, 2026
@njeunje njeunje reopened this Nov 17, 2026
@njeunje
njeunje merged commit 38e5b35 into main Nov 17, 2026
43 of 54 checks passed
@njeunje
njeunje deleted the feat/egm-lite-adaptive-gating branch November 17, 2026 23:37
An error occurred while trying to automatically change base from feat/egm-lite-core to main November 18, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

site Changes to the project website skills Changes to the skill(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Adaptive Gating to EGM Lite

2 participants