SemText

Reference · NPL

<npl-vos>

NPL element

PromptLingo reference ↗

You write each part of the state. The element shows them as labelled parts of one bracket. An optional collective part covers group personas.

Shows a persona's inner state: id, ego, superego, and mood, before a reply. You write each part of the state. The element shows them as labelled parts of one bracket. An optional collective part covers group personas. One of `entry`, `exit`; rendered as the bracket label and mirrored to data-phase (dual-form contract; the mirror is deferred past parse via afterParse so a sem-source snapshot never sees runtime writes). per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Example

npl-vos.html
source
1 <npl-vos phase="entry">
2 <p data-vos="id">raw impulse — what the first instinct wants to do</p>
3 <p data-vos="ego">reality-tested approach — what is actually done and why</p>
4 <p data-vos="mood">🔥 — energized by the profiling work</p>
5 <p data-vos="super-ego">internalized standards — what should be upheld here</p>
6 <p data-vos="collective">system-level observation from outside the persona</p>
7 </npl-vos>
render

Live render boots with JavaScript — the authored source is alongside.

variant: phase="exit"

The exit half of the bracket: same five parts, the leading label now reads exit. One component renders one half; author both halves when the vector-of-self brackets a whole response.

variant: phase="exit"
npl-vos-phase-exit.html
source
1 <npl-vos phase="exit">
2 <p data-vos="id">raw impulse — what the first instinct wanted to do</p>
3 <p data-vos="ego">reality-tested approach — what was actually done and why</p>
4 <p data-vos="mood">🔥 — energized by the profiling work</p>
5 <p data-vos="super-ego">internalized standards — what was upheld here</p>
6 </npl-vos>
render

Live render boots with JavaScript — the authored source is alongside.

variant: no phase — the label is absent, never empty

With no phase authored the bracket renders the part rows only. No empty phase mark is fabricated, and the element carries no data-phase for the `.npl-vos[data-phase]` alias to match.

variant: no phase — the label is absent, never empty
npl-vos-no-phase.html
source
1 <npl-vos>
2 <p data-vos="id">raw impulse — what the first instinct wants to do</p>
3 <p data-vos="ego">reality-tested approach — what is actually done and why</p>
4 <p data-vos="collective">system-level observation from outside the persona</p>
5 </npl-vos>
render

Live render boots with JavaScript — the authored source is alongside.

Source: spec/schema/npl/npl-vos.md