diff --git a/docs/architecture/sequential-agent-runtime.md b/docs/architecture/sequential-agent-runtime.md index f85dd32..1e54500 100644 --- a/docs/architecture/sequential-agent-runtime.md +++ b/docs/architecture/sequential-agent-runtime.md @@ -55,33 +55,66 @@ problem into projection. The action model must allow more than speech. -Actions can include: +Keep the action vocabulary small and concrete. Do not turn every possible +speech act into a separate tool. `ask`, `refuse`, `offer`, `reveal`, `conceal`, +and `request authority action` are usually communicative intentions carried by +`speak`, `gesture`, `show_object`, `withhold_object`, or `use_interface`. -- speak -- stay silent -- ask a question -- refuse -- leave -- follow -- touch or block a control surface -- comfort -- threaten -- attack -- conceal evidence -- reveal evidence -- spend a resource -- call for help -- change topic -- make a promise -- break a promise -- update a public record -- create a private obligation +Initial action primitives: + +- `speak` +- `silence` +- `move` +- `gesture` +- `touch_object` +- `block_object` +- `use_object` +- `show_object` +- `withhold_object` +- `transfer_object` +- `spend_resource` +- `attack` +- `wait` The agent should choose from affordances produced by the interaction of state, scene, role, resources, relationship, and pressure. The action should not be commanded by a prompt label. If a character hits someone, it should fall out of proximity, inhibition, grievance, fear, role permission, and exhausted trust. +An action proposal may include intended function: + +- ask +- refuse +- offer +- threaten +- comfort +- reveal +- conceal +- request +- promise +- accuse +- redirect + +That intention is not guaranteed truth. A listener can misread it. A character +can claim they were offering help while the listener perceives a threat. A +character can intend restraint and still be read as contempt. The event should +store observable action separately from actor intent and participant-local +interpretation. + +Example: + +```json +{ + "action_type": "speak", + "spoken_text": "Name the cost before you call it caution.", + "actor_intent": "force_cost_acknowledgment", + "observable_cues": ["calm voice", "still posture", "public challenge"] +} +``` + +Isdra may perceive that as procedural intimidation. Maer may experience it as +stewardship. The classifier/appraiser later learns from those differences. + ## Mutation Authority Characters should only mutate what their action can actually affect. @@ -124,6 +157,25 @@ The first implementation can be conservative and partly deterministic. A bad resolver will build narrative sludge faster than a bad line of dialogue will. No pressure. Tiny little bear trap. +The fuzzy parts should stay manual at first. + +Do not invent a fragile rule-based social psychology engine just to feel +automated. Early runtime passes should manually review or author: + +- participant appraisals +- relationship deltas +- belief updates +- memory writes +- activation changes +- ambiguous intent classification +- whether a listener misread or correctly read a move + +Those manual decisions are the training data. Save the observed action, actor +intent, listener perception, accepted mutation, rejected mutation, and reviewer +notes. Later, train classifiers and appraisers on that corpus. The prototype +should automate mechanical legality and visibility first, not pretend it has +already learned human interpretation from twelve examples and a strong coffee. + ## Projection's Narrower Job Projection still matters. @@ -167,10 +219,13 @@ Prototype one tiny loop: 7. Save the response as an event proposal. 8. Apply a small deterministic mutation: - append event + - apply only mechanical world/resource/object deltas the resolver can prove +9. Manually review fuzzy state effects: - add one memory or belief update - adjust one or two `current_activation` values - update one relationship stance if justified -9. Validate the resulting fixture. + - record the rationale as training data +10. Validate the resulting fixture. The goal is not literary quality. The goal is to prove that a character can act from local state and leave the world slightly different behind them. diff --git a/notes/ghostlight-implementation-plan.md b/notes/ghostlight-implementation-plan.md index 0c21753..b478829 100644 --- a/notes/ghostlight-implementation-plan.md +++ b/notes/ghostlight-implementation-plan.md @@ -40,13 +40,20 @@ contract. - Build local awareness from scene state, agent state, relationships, memories, resources, affordances, and known constraints. - - Let the acting agent choose speech, silence, movement, resource use, - concealment, revelation, violence, refusal, or other available action. + - Keep action primitives concrete: speech, silence, movement, gesture, + object use, object transfer, object blocking, resource spending, waiting, + and attack. Treat ask/refuse/offer/reveal/conceal/request as intended + communicative functions, not separate reality-mutating tools. + - Preserve the gap between actor intent and listener interpretation; a + listener is free to misread what the actor thought they were doing. - Treat generated action as an event proposal, not direct truth mutation. - Resolve the event against world state and mutation authority. - - Apply bounded state changes: event append, memory/belief updates, - relationship movement, current activation deltas, resource/object changes, - and opened or closed options. + - Automate only mechanical legality, visibility, world/resource/object + deltas, and event append in the first prototype. + - Keep fuzzy updates manual at first: appraisals, relationship movement, + belief changes, memory writes, intent classification, misreads, and + activation deltas. Save those reviewed decisions as future classifier and + appraiser training data. - Keep author control at stage-setting and high-level constraints; do not require the author to script every beat. - First prototype: rerun one Cold Wake story-lab beat through a deterministic diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 6c5ba6a..1b35cd6 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -29,3 +29,4 @@ {"ts": "2026-05-01T21:22:33+00:00", "type": "experiment", "status": "accepted", "note": "Cold Wake Maer/Veyr projection now has useful rejected v1/v2 captures and accepted v3 Qwen output. Lesson: unresolved personhood pressure needs explicit noun fencing; claimant-status, provenance, and chain-of-custody language preserved ambiguity while still allowing controlled terminal-blocking action."} {"ts": "2026-05-01T21:32:34+00:00", "type": "experiment", "status": "accepted", "note": "Completed first Cold Wake short story from Ghostlight projection receipts. Architectural lesson: repeated Qwen failures were not just prompt wording issues; projection needs first-class controls for frame ownership, authority boundaries, object custody, required semantics, and forbidden resolutions. Added capture validation so accepted/rejected outputs remain accountable training data."} {"ts": "2026-05-01T21:59:49+00:00", "type": "design", "status": "accepted", "note": "Reframed Ghostlight target from specific dialogue projection toward sequential character agents: each acting agent gets local awareness, options, objectives, and mutation authority; generated action becomes an event proposal resolved into bounded state changes. Single-turn projection remains a debug/training seam, not the procedural-generation endpoint."} +{"ts": "2026-05-01T22:18:59+00:00", "type": "design", "status": "accepted", "note": "Sequential runtime prototype should keep fuzzy interpretation manual at first. Action tools should be concrete primitives; ask/refuse/offer/reveal/conceal/request are intended communicative functions on actions, while listener appraisal may misread them. Manual appraisal and mutation review becomes training data for future classifiers."} diff --git a/state/map.yaml b/state/map.yaml index e0bbf50..90156e1 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -101,6 +101,8 @@ accepted_design: - The first complete Cold Wake short story, The Narrowest Possible Margin, is assembled from Ghostlight projection receipts plus in-session connective narration. - Single-turn projection is a debug and training seam, not the final procedural-generation shape; the target runtime is sequential agents acting from local awareness, producing event proposals, and mutating bounded state. - Generated action should become an event proposal resolved by mutation authority, not direct unrestricted edits to world or other-agent private state. + - Sequential runtime action primitives should stay concrete; ask, refuse, offer, reveal, conceal, and request are communicative intentions carried by actions, while listener interpretation remains separate and may be wrong. + - Early fuzzy social updates should be manual reviewed training data, not brittle rule-based appraisals pretending to understand relationships before the corpus exists. current_status: summary: Ghostlight now has the Epiphany-style persistence spine, the first architecture payload, the v0 canonical agent-state schema seam, prompt projection docs, immediate schema fixes from evaluation, first reviewed Cat/Oz projection examples, a revised Aetheria lore-grounding architecture, a lore grounding digest schema, the first draft Cold Wake historical grounding digest, a Cold Wake story-lab fixture, projection controls, validated Qwen capture receipts, and a complete Cold Wake short story assembled from accepted projection outputs.