Files
cleveragents-core/features/project_context_phase_analysis.feature

32 lines
1.6 KiB
Gherkin

Feature: Project context phase analysis summaries
As a developer
I want per-phase ACMS context analysis summaries
So that strategize/execute/apply scope narrowing is visible and actionable
Scenario: Empty context still produces per-phase summaries
Given a phase analysis policy with narrowing limits
And no tiered fragments for phase analysis
When I compute project context phase analysis with budget 2000
Then each phase summary should include resource and size metrics
And phase analysis should report monotonic narrowing
Scenario: Single resource context produces human-readable summaries
Given a phase analysis policy with narrowing limits
And a single resource fragment for phase analysis
When I compute project context phase analysis with budget 2000
Then each phase summary should include human-readable text
And strategize phase should include at least one fragment
Scenario: Multiple resources are counted in summaries
Given a phase analysis policy with narrowing limits
And multiple resource fragments for phase analysis
When I compute project context phase analysis with budget 2000
Then strategize phase resource count should be 2
Scenario: Budget constraints reduce execute and apply scope
Given a phase analysis policy with narrowing limits
And budget constrained fragments for phase analysis
When I compute project context phase analysis with budget 1000
Then execute phase should have fewer tokens than strategize phase
And apply phase should have fewer or equal tokens than execute phase