Repository navigation
Closed
Labels
area:coreBuild pipeline, discovery, fold, components, CLIarea:workspacechant workspace epic (#2525)designDesign or research note, no deliverable yetlevel:1workspace opt-in level 1 (#2525)
Description
| Level | Design | Driver |
|---|---|---|
| 1 | #2524 D8, D15, D18; #2650 | #2525 |
The owner wants the boundary between what chant provides with the repository specification and what belongs in hud to be easy to identify and to stay correct. This records it and makes it mechanical.
The boundary
chant provides the repository specification and nothing that faces a person; hud renders and interacts; domain record kinds and joins are a plugin.
| chant | hud | plugin |
|---|---|---|
declaration, kinds, members, links, lineage, migrations, init --from, upgrade |
rendering | domain record kinds (contracts, units, evidence, drivers, sessions) |
| records: schemas, states, seals, pins, supersession, attestation, provenance | review actions as UI (agree, dissent, propose, quorum meter, live sessions) | commitJoins and other joins from commits to records |
the read contract: versioned JSON of ls, graph, check, records, status, graph --intent, closed reason codes |
identity, sessions, who is looking | agent prompts and context bundles |
the writing and verifying commands: approve, records pin, verify, check, gates, ledgers |
the agent chat, the dev proxy, comment mode | |
| findings as data | the question put to the person at each finding |
Rules: chant never listens on a port, never authenticates a person, never renders. hud never parses a record file, never runs git for provenance, never computes drift; it reads only through the read contract and writes only through chant commands. chud is the transitional owner of the plugin column (jhgaylor/chud#78, #79, #80).
Acceptance criteria
- A decision record
docs/design/decisions/ws-05x-chant-hud-boundary.mdwith the table above, the rules, and the rejected options (hud reading files directly; chant serving a UI; one repo for both). -
docs/data/boundary.yaml: one row per concept (every workspace command, record kind, link kind, finding code and reason code in the read contract) withowner: chant | hud | pluginand the schema or command that carries it; rendered into areference/boundary.mdxpage the waydocs/data/consumers.yamlrenders the platform picker. - A test fails the build when a command, reason code, finding code or link kind in the read contract has no roster row, or when a roster row names something that does not exist.
- A lint in
chant.yml(the same shape astest/no-egress.test.ts) thatpackages/coreopens no HTTP listener and imports no UI or agent-runtime package. -
describeWorkspaceReaderConformanceinpackages/test-utils: a reader passes by consuming only the read contract's schemas; hud runs it in its CI (alecraso/hud issue to follow). - Level 0 is unaffected, or the change is on level-0 exceptions log: workspaces in levels of use, all opt-in #2525's exception list.
Metadata
Metadata
Assignees
Labels
area:coreBuild pipeline, discovery, fold, components, CLIarea:workspacechant workspace epic (#2525)designDesign or research note, no deliverable yetlevel:1workspace opt-in level 1 (#2525)
Activity
docs(design): the chant and hud boundary, an owner roster as data, an…
docs(design): the chant and hud boundary, an owner roster as data, an…
docs(design): the chant and hud boundary, an owner roster as data, an…
docs(design): the chant and hud boundary, an owner roster as data, an…
docs(design): the chant and hud boundary, an owner roster as data, an…
docs(design): the chant and hud boundary, an owner roster as data, an…