Repository navigation
fix/issues/07 wire renames - #264
Merged
Merged
Conversation
…e on the wire The procedure `knowledge.graph` becomes `knowledge.map`. The client, the web contract type, the glossary and the tests call the new name. No alias stays. - knowledge.graph → knowledge.map: red "No procedure at knowledge.map" in procedures.test.ts, router.test.ts and changes.test.ts; green after the rename. Closes #242 Refs #227 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: sander boer <mail@sanderboer.nl>
NIGHT_RANGES and NightRange counted days, not nights. They become DAY_RANGES and DayRange, NightsRange becomes DayRangeSummary, and the API schemas follow (dayRangeSchema, dayRangeSummarySchema). On the wire, the key that holds the range is `range`, and a list of ranges is `ranges`: dashboard.summary, dashboard.spend, dashboard.changes (input and reply) and ProjectRuns. The web, the client, the daemon and the steering docs read the new keys. `lastNight` keeps its name. - day ranges: red "no range of 7 days" and failed key/shape assertions in the engine dashboard, run-views, api dashboard/contract/procedures and client dashboard tests (40 + 8 + 2 fail); green after the rename. Refs #245 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: sander boer <mail@sanderboer.nl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Test plan
Related