You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(docs): meta docs surfaces prompt text + a prompt data-flow view
`meta docs --site` now shows the actual prompt TEXT and a directional data-flow
diagram of the prompt-construction pipeline.
- --prompts <dir>: the site's prompt-source search now includes <root>/templates/
and an explicit --prompts dir, so a project whose .mustache sources live outside
metaobjects/ or templates/ (e.g. data/templates/) renders the real prompt text on
each prompt page (each {{var}} linked to its payload field) instead of a
"source missing" note.
- Prompt data-flow diagram on the site index: request payload VO --input--> prompt,
prompt/output --produces/parses--> response VO, and (where a VO references an entity)
the DB-entity --source/persists-- bookends. Derived from template.prompt
@payloadRef/@responseRef + template.output/toolcall @payloadRef + each VO's entity
refs. A new @responseRef graph edge completes the pipeline.
Additive. Gated by the docs-site golden (AI fixture now exercises the full pipeline
incl. @responseRef) + a link-graph unit test; docs-site 44 + cli 406 green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014xy8powhHYJ6gfFt9Ut8dL
-**`--prompts <dir>`** — the `--site` prompt-source search now includes `<root>/templates/`
16
+
and an explicit `--prompts` dir, so a project whose prompt `.mustache` sources live
17
+
outside `metaobjects/` or `templates/` (e.g. `data/templates/`) renders the actual
18
+
prompt TEXT on each prompt page (with every `{{var}}` linked to its payload field)
19
+
instead of a "source missing" note.
20
+
-**Prompt data-flow diagram** on the site index — a directional Mermaid flowchart of the
21
+
pipeline: request payload VO ──input──▶ prompt, prompt/output ──produces/parses──▶
22
+
response VO, and (where a VO references an entity) the DB-entity ──source/persists──
23
+
bookends. Derived structurally from `template.prompt @payloadRef`/`@responseRef` and
24
+
`template.output`/`template.toolcall @payloadRef`, plus each VO's entity references. A
25
+
new `@responseRef` graph edge (prompt → response VO) completes the pipeline.
26
+
27
+
Additive: markdown surfaces and non-pipeline site output are unchanged. Gated by the
28
+
`docs-site` golden (its AI fixture now exercises the full pipeline) + a link-graph unit test.
29
+
10
30
## [0.20.2] — 2026-07-25
11
31
12
32
**npm `0.20.2` only** (NuGet `0.19.3` / PyPI `0.19.5` / Maven Central `7.11.3` unchanged — no changed product file; D1 is a TS-only dialect). A bug-fix patch, no API or vocabulary change.
<divclass="text-xs opacity-50 mt-1">The prompt-construction pipeline: request payload VOs flow <spanclass="font-mono">input</span>→ prompts; tool-calls/outputs <spanclass="font-mono">parse/produce</span>→ response VOs. A VO that references an entity adds the DB <spanclass="font-mono">source</span>/<spanclass="font-mono">persists</span> hops (entity → payload VO … response VO → entity).</div>
0 commit comments