Skip to content

fix/issues/07 wire renames - #264

Merged
xiduzo merged 2 commits into
fix/issues/06-knowledge-actorfrom
fix/issues/07-wire-renames
Dec 2, 2026
Merged

xiduzo merged 2 commits into
fix/issues/06-knowledge-actorfrom
fix/issues/07-wire-renames

Conversation

@xiduzo

@xiduzo xiduzo commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

Changes

Test plan

  • [ ]

Related

xiduzo and others added 2 commits December 1, 2026 23:37
…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>
@xiduzo
xiduzo added this pull request to stack #270 December 2, 2026 09:17
@xiduzo
xiduzo marked this pull request as ready for review December 2, 2026 10:21
@xiduzo
xiduzo merged commit bc03e59 into main Dec 2, 2026
24 checks passed
@xiduzo
xiduzo deleted the fix/issues/07-wire-renames branch December 2, 2026 10:23
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