Ghostlight/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 7d40393bcd Add the table module: one consumer-neutral vocabulary for the play agent (Cut 7)
Dungeon's play agent needs to build tools, decode calls, and read inference
output without ever touching a pub(crate) kernel type. crates/ghostlight/src/table.rs
is now the library's one owner of that vocabulary:

- authoring_tools/decode_authoring_call wrap PATCH_TOOLS. apply_tool_call in
  elaboration.rs now calls decode_authoring_call for its Declare/Operate arms
  instead of carrying a second copy of the same decode.
- actor_tools/decode_actor_call wrap catalog_tools/decode_catalog_call
  (decode_catalog_call widened controllers.rs-crate-private to pub(super) so
  the table module can reuse it). decode_actor_call resolves the subject's own
  currently issued opportunity from the snapshot, never a value a caller
  supplies (PA.f41's rule, applied here).
- describe_refusal renders ActionRejected by precondition/slot/role and
  PatchRejected by the offending tool call's site; every other KernelError
  falls back to Display.
- InferenceRequest::play and InferenceOutput::events/receipt_digest are the
  two inference seams Dungeon needs to run and read a Play-purpose inference.
- table_view is the play agent's own richer renderer (ids, occupants,
  holdings, granted names, retired flag, facts with standing and knowers,
  clock, brief) and does not share text with render_world_structure, which
  moved here unchanged so the seed prompt's bytes did not move with it.

Known gap: FactStanding::Ruled collapses to FactStandingView::Canonical at
snapshot construction (lib.rs), so table_view cannot yet distinguish a ruled
fact from an ordinarily canonical one. Widening that is a lib.rs change
outside this cut.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 10:42:44 +02:00
..
ghostlight Add the table module: one consumer-neutral vocabulary for the play agent (Cut 7) 2026-09-22 10:42:44 +02:00
ghostlight-dungeon Pin P1.1/P1.2 with a source scan and cover submit_receipt's two kinds (PA.f11, PA.f12) 2026-09-22 02:24:01 +02:00
ghostlight-persona-projection Take a turn's address as its spans in prose order 2026-09-11 14:20:27 +02:00