Skip to content

core: make flow snapshot cost semantics explicit - #17

Merged
pzhin merged 1 commit into
mainfrom
codex/unify-flow-snapshot-cost-vocabulary
Aug 22, 2026
Merged

core: make flow snapshot cost semantics explicit#17
pzhin merged 1 commit into
mainfrom
codex/unify-flow-snapshot-cost-vocabulary

Conversation

@pzhin

@pzhin pzhin commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • rename all six FlowSnapshot cost accessors to the explicit ...SuppliedCost() vocabulary
  • align field names, toString(), Javadoc, README, and the formal specification with caller-supplied scheduling-cost semantics
  • assert that the pre-publication API no longer exposes the four short ...Cost() aliases

Testing

  • ./mvnw --batch-mode --no-transfer-progress clean verify
  • 110 core tests and 5 example integration tests passed
  • Checkstyle, SpotBugs, JaCoCo, Javadoc, and published-artifact verification passed

Name every per-flow cost accessor as supplied cost so composition with an
estimator cannot confuse scheduling estimates with actual resource service.

Align the observable representation and contract documentation before
publication.
@pzhin
pzhin force-pushed the codex/unify-flow-snapshot-cost-vocabulary branch from 6043ede to 84f5fd9 Compare August 22, 2026 20:36
@pzhin
pzhin merged commit be87b4d into main Aug 22, 2026
12 checks passed
@pzhin
pzhin deleted the codex/unify-flow-snapshot-cost-vocabulary branch August 22, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant