Skip to content

Commit d4fa3f4

Browse files
acn-ericlawclaude
andcommitted
docs(agent-question): the app is the backend in both packs, the React UI the one front-end (Eric)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 375c2a6 commit d4fa3f4

4 files changed

Lines changed: 17 additions & 12 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,11 @@
159159
person's name and the count of open cards (also in the tab's title); *Waiting for you* lists the cases with an open
160160
card - a wait to decide or an advice to read - newest activity first; *History* is a scrollable panel with the closed
161161
cases, newest first, that keeps its scroll position while new cards arrive, so the whole inbox stays in reach without
162-
pushing the open work away. The page is one vanilla HTML file still, byte-identical in the Node.js twin. Its successor,
163-
a small React app, is on the Node.js pack's backlog (Eric: one app to maintain in one place, mercury-nodejs
164-
`extensions/agent-question`); this pack will point to it and keep the vanilla page as the fallback.
162+
pushing the open work away. The page is one vanilla HTML file still, byte-identical in the Node.js twin. The
163+
agent-question app of each pack is the backend - the inbox, the endpoints, the stream - and the front-end that will
164+
replace this page, a small React app pointed at either backend, is on the Node.js pack's backlog (Eric: one front-end
165+
to maintain in one place, mercury-nodejs `extensions/agent-question`); this pack points to it and keeps the vanilla
166+
page as the fallback.
165167

166168
2. **`web.crawl` accepts a relative `include`.** A prefix that does not start with `/` now matches anywhere in a link's path,
167169
since a model names a section as `guides/` as often as `/guides/`: the live drive of the Playground's `site-notes` graph

‎extensions/agent-question/README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ application is one of those routes. It is a standalone application on the packag
2727
never overwrites it (the live drive of 2026-11-19). Rows are never deleted here; `schema/purge.sql` is the
2828
installation's.
2929

30-
A richer person's side - a small React app over the same three endpoints and the same stream - is planned in the
31-
Node.js pack only, so there is one app to maintain in one place (Eric, 2026-11-19): use it from mercury-nodejs
32-
`extensions/agent-question` against this app's inbox when it lands; the vanilla page here stays as the fallback.
30+
This app is the backend - the inbox, the endpoints, the stream; the page is its vanilla front-end. The front-end that
31+
will replace it, a small React app pointed at either pack's backend, is built and maintained in the Node.js pack only, so
32+
there is one app to maintain in one place (Eric, 2026-11-19): use it from mercury-nodejs `extensions/agent-question`
33+
against this backend when it lands; the vanilla page here stays as the fallback.
3334

3435
The Node.js twin (mercury-nodejs `extensions/agent-question`) serves the same route, the same page and the same
3536
schema, pinned by the same vector file.

‎memory/continuity.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,10 @@
286286
packs; a wait decided elsewhere stays open on a card until a device tries it (410 → expired) or it expires - the
287287
acknowledgement advice beside it tells the person.
288288
**The person's side (Eric, 2026-11-19):** the page is one vanilla file, byte-identical in both packs - since 2026-11-19
289-
a sticky header with the count of open cards, *Waiting for you* and a scrollable *History* panel; its successor, a
290-
small React app, is built and maintained in the Node pack only (mercury-nodejs thread `agent-question-react-ui`) for
291-
both packs' inboxes, and this pack points to it - never a second UI here.
289+
a sticky header with the count of open cards, *Waiting for you* and a scrollable *History* panel. This app is the
290+
backend in both packs; the front-end that replaces the page, a small React app pointed at either backend, is built and
291+
maintained in the Node pack only (mercury-nodejs thread `agent-question-react-ui`), and this pack points to it - never a
292+
second front-end here.
292293
<!-- id: agent-question-app | created: 2026-11-19 | last_used: 2026-11-19 | uses: 1 | tier: working | origin: 2026-11-19-071444 -->
293294

294295
## Conventions

‎memory/sessions/2026-11-19-094736.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
panel (45vh) with the closed cases, newest first, that keeps its scroll position across the re-render every event
1313
causes. Checked under a minimal DOM shim run on Node: two open cards and one closed case from five rows landed where
1414
they belong, the title read "(2) Agent questions", the panel's scroll position survived a render.
15-
- **The React UI is the Node pack's** (Eric's ruling: one app to maintain in one place): the backlog thread is
16-
mercury-nodejs `agent-question-react-ui`; this pack's README and CHANGELOG point there, the fact
17-
[[agent-question-app]] records the rule - never a second UI here - and the vanilla page stays as the fallback.
15+
- **The React UI is the Node pack's** (Eric's rulings: the agent-question app is the backend in both packs, the React UI
16+
the one front-end, pointed at either backend; one app to maintain in one place): the backlog thread is mercury-nodejs
17+
`agent-question-react-ui`; this pack's README and CHANGELOG point there, the fact [[agent-question-app]] records the
18+
rule - never a second front-end here - and the vanilla page stays as the fallback.
1819
- **Gates:** ruff OK, basedpyright 0 errors, the agent-question suite 48 passed (the page test now checks the two
1920
sections). CHANGELOG Unreleased/Changed 1; README.
2021
- Opened as PR #72.

0 commit comments

Comments
 (0)