Skip to content

Commit b243d2d

Browse files
acn-ericlawclaude
andcommitted
memory: #147 merged - the first adopters on main, the Python twins' shape noted
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 387a15d commit b243d2d

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

‎memory/open-threads/thread-bp-rest-automation-nodejs.md‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,20 @@
3131
multipart body past the bound plus 1 MiB is a 413 before parsing; the `yaml` package reads `rest.yaml` as
3232
YAML 1.1 with duplicate keys tolerated, PyYAML's reading.
3333
- **First adopters BUILT 2026-11-25 (Eric: "please refactor the hand-mounted routes with rest.yaml"; branch
34-
`feat/rest-first-adopters`, raised as PR #147):** the ask-person reply page and endpoint and the agent-question
34+
`feat/rest-first-adopters`, raised as PR #147 and MERGED 2026-11-25, merge `387a15d`):** the ask-person reply page and endpoint and the agent-question
3535
browser side are `rest.yaml` entries of their applications, each a private function reading the `AsyncHttpRequest`
3636
map; `Platform.addRoutes` is no longer used by either. The stream is an interceptor behind `stream: true` with a
3737
no-body heartbeat segment (the edge writes nothing for it, renews its idle allowance, and its drop closes the
3838
writer - a core change in `EventStreamWriter`). Defaults set without a ruling: the functions reply with the exact
3939
bytes as text with a content type (a map body would be pretty-printed with its nulls omitted, and the React UI
4040
reads nulls); the SSE `id:` line is gone (the UI keeps its cursor from the row's `seq`); the stream's instances
41-
200 bound the devices; the entries' timeouts exceed the apps' engine and reply timeouts. The Python twins still
42-
mount their routes and follow from these entries.
41+
200 bound the devices; the entries' timeouts exceed the apps' engine and reply timeouts. The Python twins' refactor
42+
was in flight the same hour with a shape of its own - route names `ask.config`/`ask.page`/`ask.wait`/`ask.reply`
43+
and `question.config`/`question.list`/`question.events`/`question.decide`/`transcript.list`/`transcript.show`,
44+
`authentication` functions (`ask.identity`, `ask.reply.identity`, `question.identity`) leaving `who`/`via` in the
45+
session map, `EventStreamWriter.connected` over `bus.has_sink` for a gone device, a day's idle allowance and an
46+
`X-Accel-Buffering: no` header block - so the twins need one shape once it lands (a Node alignment PR, or the
47+
Python one following these entries; Eric's call).
4348
- **Next:** a live drive of the Node edge through an engine with the trace lineage checked; the engines' polyglot
4449
guide; the Python twins' first adopters.
4550
→ proposal: RFC-0018 (mercury-composable)

‎memory/sessions/2026-11-25-025102.md‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
**Agent:** Claude Code
44
**Title:** The first adopters of REST automation - the ask-person reply page and endpoint and the agent-question
5-
browser side as `rest.yaml` entries (branch `feat/rest-first-adopters`, raised as PR #147)
5+
browser side as `rest.yaml` entries (branch `feat/rest-first-adopters`, raised as PR #147 and MERGED 2026-11-25,
6+
merge `387a15d`)
67
**User:** Eric - "please refactor the hand-mounted routes with rest.yaml", after #146 merged.
78

89
## Context
@@ -46,8 +47,12 @@ still mount theirs.
4647

4748
## Verification
4849

49-
- `node --test` on the two extension files: 120 and 41 passed, the live-database tests skipped; the full `npm test`
50-
run is recorded below in the pull request. No live drive of a browser against the refactored backend yet.
50+
- `node --test` on the two extension files: 120 and 41 passed, the live-database tests skipped; `npm test` 882 tests,
51+
806 passed, 0 failed, 76 skipped. No live drive of a browser against the refactored backend yet.
52+
- **MERGED 2026-11-25** by the maintainer as PR #147 (merge `387a15d`). The Python twins' refactor was in flight at the
53+
time with a shape of its own (route names, `authentication` functions with the session map, a `connected` check on
54+
the writer, a day's idle allowance, an `X-Accel-Buffering` header block) - the divergence is on the thread and in a
55+
hand-over note for the Python session; the twins converge on one shape once it lands.
5156

5257
## Memory References
5358

0 commit comments

Comments
 (0)