Dungeon: the table may record regard; seeds are told prejudice exists
PLAY_TOOLS gains adjust_attitude, declare_attitude and declare_trait, with one line saying what they record. The seed and elaboration instructions name the trait and prejudice vocabulary as something a person can carry. The ontology document states the Attitude and Trait components and the three operations. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c87676c4a1
commit
174ecfef20
3 changed files with 33 additions and 4 deletions
|
|
@ -130,6 +130,9 @@ const PLAY_TOOLS: &[&str] = &[
|
|||
"discharge_commitment",
|
||||
"advance_pressure",
|
||||
"reduce_pressure",
|
||||
"adjust_attitude",
|
||||
"declare_attitude",
|
||||
"declare_trait",
|
||||
"open_route",
|
||||
"close_route",
|
||||
"declare_place",
|
||||
|
|
@ -182,6 +185,9 @@ are not furniture. When the player speaks to someone, give that person their own
|
|||
one `react` call. A person's turn comes back as prose that is only a draft: it is in the world, and so \
|
||||
heard by the player, only once you commit what they said and did through their own `<handle>__speak` \
|
||||
tool, each `text` an exact quote from their prose. Commit every answer before you end the turn.\n\
|
||||
- A deed that changes how someone regards another is state: record it with `adjust_attitude`, so the regard is \
|
||||
carried into every later meeting. A regard held with no deed behind it is `declare_attitude`, and the trait it turns \
|
||||
on is `declare_trait`.\n\
|
||||
- Call `end_turn` when the round's consequences are settled.";
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
|
|
@ -11378,6 +11384,9 @@ pub(crate) mod tests {
|
|||
"discharge_commitment",
|
||||
"advance_pressure",
|
||||
"reduce_pressure",
|
||||
"adjust_attitude",
|
||||
"declare_attitude",
|
||||
"declare_trait",
|
||||
"open_route",
|
||||
"close_route",
|
||||
"declare_place",
|
||||
|
|
@ -11391,7 +11400,7 @@ pub(crate) mod tests {
|
|||
"revoke_affordance",
|
||||
];
|
||||
assert_eq!(PLAY_TOOLS, EXPECTED);
|
||||
assert_eq!(PLAY_TOOLS.len(), 24);
|
||||
assert_eq!(PLAY_TOOLS.len(), 27);
|
||||
assert!(!PLAY_TOOLS.contains(&"communicate"));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1763,7 +1763,7 @@ const SEED_NAMESPACE: &str = "ghostlight.command.seed.v1";
|
|||
/// seeded out of goals alone therefore activates with nothing for the Active
|
||||
/// elaborator to answer, so this instruction requires an obligation, not a
|
||||
/// goal alone, from every subject it authors.
|
||||
const SEED_INSTRUCTIONS: &str = "Use only the supplied tools to author living structure inside your jurisdiction. A subject counts only when it has a controller, at least one affordance grant, and holds a goal commitment. A goal alone is not enough structure: every person and institution you author must also hold at least one obligation commitment with a counterparty, because a goal carries no counterparty and derives no boundary for the world's Active elaborator to answer. Author the shortfall you were given in as few responses as you can, making several tool calls per response, and finish with submit_patch as your last call; a session that ends without it keeps only what was authored. Recording a gap changes nothing. Every promise carries a statement of what is promised; both parties will read it. Give every person material with set_persona_material: how they speak, what they hold to, what they remember, and how they read each subject they are bound to. A person with no material has no rendered inner life and will say nothing.";
|
||||
const SEED_INSTRUCTIONS: &str = "Use only the supplied tools to author living structure inside your jurisdiction. A subject counts only when it has a controller, at least one affordance grant, and holds a goal commitment. A goal alone is not enough structure: every person and institution you author must also hold at least one obligation commitment with a counterparty, because a goal carries no counterparty and derives no boundary for the world's Active elaborator to answer. Author the shortfall you were given in as few responses as you can, making several tool calls per response, and finish with submit_patch as your last call; a session that ends without it keeps only what was authored. Recording a gap changes nothing. Every promise carries a statement of what is promised; both parties will read it. Give every person material with set_persona_material: how they speak, what they hold to, what they remember, and how they read each subject they are bound to. A person with no material has no rendered inner life and will say nothing. People hold regards of their own: where a person or an institution distrusts a kind of person (a species, a faction, a look, a rumoured sin), declare the trait on those who carry it with declare_trait, evidenced by a fact, and the prejudice with declare_attitude; it reaches only those who come to know the trait.";
|
||||
|
||||
/// The row a session answers, plus the ancestry it was built against. There is
|
||||
/// no `PatchAnswer` here: a seed answers nothing, and giving this session an
|
||||
|
|
@ -2432,7 +2432,7 @@ fn build_seed_prompt(
|
|||
}
|
||||
prompt.push_str(&render_clock(snapshot));
|
||||
prompt.push_str(
|
||||
"\nA subject qualifies only when it has a controller, at least one affordance grant, and holds a goal commitment. Declare people, institutions, and populations who want something; give each a controller, grants, a position, and a goal. Give them the rest of a life: routines and obligations that recur, counterparties, channels they speak on and who controls them, authority and the offices that lend it, holdings and the dependencies those holdings serve, routes between the places they move through. A goal that nobody can hold the subject to is allowed and expected; the world's elaborator answers that gap later, so do not write it into a promise.\nEvery promise states what is promised, in the promisor's own words. Every person carries material (set_persona_material): a voice, two or three values, a few memories, and a read of each counterparty, all distinct from every other person's; without it the person has no inner life to speak from.\nYou may not declare a human-controlled subject: only the world's first person is human, and that was genesis.\n\n",
|
||||
"\nA subject qualifies only when it has a controller, at least one affordance grant, and holds a goal commitment. Declare people, institutions, and populations who want something; give each a controller, grants, a position, and a goal. Give them the rest of a life: routines and obligations that recur, counterparties, channels they speak on and who controls them, authority and the offices that lend it, holdings and the dependencies those holdings serve, routes between the places they move through. A goal that nobody can hold the subject to is allowed and expected; the world's elaborator answers that gap later, so do not write it into a promise.\nEvery promise states what is promised, in the promisor's own words. Every person carries material (set_persona_material): a voice, two or three values, a few memories, and a read of each counterparty, all distinct from every other person's; without it the person has no inner life to speak from.\nPeople also carry regards no deed explains: a prejudice against a kind of person (declare_trait on those who carry it, evidenced by a fact; declare_attitude for the prejudice) reaches only those who come to know the trait.\nYou may not declare a human-controlled subject: only the world's first person is human, and that was genesis.\n\n",
|
||||
);
|
||||
prompt.push_str(&super::table::render_world_structure(snapshot));
|
||||
prompt.push('\n');
|
||||
|
|
|
|||
|
|
@ -442,6 +442,8 @@ which noun a component is; it cares what it constrains.
|
|||
| `Channel` | channel: reach set, controller (latency arrives with the clock, pass 7) | how facts travel; who can be silenced |
|
||||
| `Commitment` | subject → counterparty: kind (`Routine`, `Obligation`, `Goal`), due, period, statement | obligation with a clock; autonomous motion |
|
||||
| `Pressure` | source → target: magnitude | the causal boundary trigger |
|
||||
| `Attitude` | holder → subject or trait: signed delta, cause, since, decay | how one subject regards another; sourced modifiers, never a stored opinion |
|
||||
| `Trait` | subject → trait name: the facts that evidence it | what a prejudice may reach, once the holder knows one of them |
|
||||
| `PersonaMaterial` | subject: values, voice, memories, reads | lived meaning; never authority |
|
||||
|
||||
A `Fact` carries a `standing` (`FactStanding`, three variants): `Canonical`
|
||||
|
|
@ -451,6 +453,23 @@ belief. Deception is a subject asserting a claim while holding a contradicting
|
|||
canonical fact; misread is a listener acquiring a claim the speaker did not
|
||||
intend. Both are ordinary typed states, not narrator judgments.
|
||||
|
||||
Attitude is a sum of sourced terms, in the manner of Crusader Kings opinion
|
||||
modifiers. A modifier points at a subject or at a trait, carries a delta in
|
||||
`-100..=100`, a cause (`Prejudice`, `Grievance` or `Favor` named for the command
|
||||
that did the deed, or a `Rumour` over a fact), the clock at its last write, and an
|
||||
optional fade. `attitude::opinion(holder, subject)` derives the regard on demand:
|
||||
the direct modifiers, plus each trait modifier whose trait the subject carries
|
||||
*and* whose evidencing fact the holder knows at `Believed` or better, summed and
|
||||
clamped. A prejudice against outlanders does nothing to a stranger the holder
|
||||
has not learned is one. `Trait` rows are declared by the world, never inferred.
|
||||
The regard is projected to every reader from that one derivation: each subject's
|
||||
snapshot, the table view the Dungeon Master reads, the Persona's own view, and
|
||||
the narrator's account of who stands with the player. Only the reducer writes it,
|
||||
through `AdjustAttitude` (a deed, or an affordance effect, whose regarded party is
|
||||
fixed to the actor), `DeclareAttitude` (prejudice or rumour, authored without a
|
||||
deed) and `DeclareTrait`. The three are additive on the state: a world with no
|
||||
attitude serializes as it did before, so the state schema tag did not move.
|
||||
|
||||
Civic order is the `Authority` + `Selection` + `Redress` + `Custody` subgraph.
|
||||
It is not a prose manifest and needs no civic verdict. `Dependency` is the
|
||||
crisis transmitter: it is what makes a failed pump in one realm a political
|
||||
|
|
@ -460,7 +479,7 @@ problem in another without anyone deciding that it should be.
|
|||
|
||||
This is the closed operation set. Every mutation the kernel applies is one of
|
||||
these, and every model-facing tool is a projection of one of these. The type is
|
||||
`ComponentOp` in `crates/ghostlight/src/patch.rs`: 34 variants, named here by
|
||||
`ComponentOp` in `crates/ghostlight/src/patch.rs`: 37 variants, named here by
|
||||
the component they act on. Declarations are the six `Declaration` variants.
|
||||
|
||||
```text
|
||||
|
|
@ -478,6 +497,7 @@ Knowledge AcquireKnowledge, Communicate, Witness, Forget
|
|||
Channel SetReach, SetController
|
||||
Commitment CreateCommitment, DischargeCommitment
|
||||
Pressure AdvancePressure, ReducePressure, ResolvePressure
|
||||
Attitude AdjustAttitude, DeclareAttitude, DeclareTrait
|
||||
PersonaMaterial SetPersonaMaterial
|
||||
Retirement Retire
|
||||
Affordance GrantAffordance, RevokeAffordance
|
||||
|
|
|
|||
Loading…
Reference in a new issue