Amend designs 51, 26, 32, 25 and 55 for the registry milestone
The registry move, seat definitions, declares, bus state and the knowledge base ship as one milestone (ADR 0612, 0613), ordered by the module graph's edges (ADR 0614), with the foundation parts' first view (ADR 0615) and the overview page (ADR 0616). The designs said four deliveries, a seat-definition source nobody serves, a checker naming mesh-config, and left the bus module's first view, caller and deletion paths open; they now say what the milestone builds. Adds the glossary words it uses, playbook 02's cites link for an abandoned effort, and the hq-design-writer agent definition. Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
@@ -106,6 +106,9 @@ and repair).
|
||||
`mesh-contracts` for the seat contracts mesh-sdk held, `mesh-<area>-contracts` for an area's. A seat's holder
|
||||
implements the contract; the contracts module holds no seat (ADR 0608 §5).
|
||||
*Not:* ~~SDK module~~, ~~domain package~~
|
||||
- **contracts marker** — the field `generated-from` of a contracts module's package artifact, naming the directory
|
||||
of the seat definitions its files are generated from; the judge refuses a module carrying it that claims a seat,
|
||||
and the build modules' test step regenerates and compares every module carrying it (design 26).
|
||||
- **package series** — the first two numbers of a package's versions (`0.1`), declared in its manifest and raised
|
||||
only by a reviewed change, for a change that breaks its users; a user's manifest names the package series it
|
||||
accepts (ADR 0606 §4, ADR 0609 §1). Bare "series" only where the package is plain (see [Homonyms](#homonyms)).
|
||||
@@ -150,6 +153,13 @@ downstream of Module and Placement. **Decided by** ADR 0262, 0277, 0348.
|
||||
module has moved to their config names (ADR 0348 §1, issue 630).
|
||||
What a "flavor" once varied is a config value or a separate module.
|
||||
*Not:* ~~flavor~~
|
||||
- **rename window** — the time a renamed config value is read under both its names: from the merge of its
|
||||
`renamed-from` until every node-engine whose node has a want of the module reports applied a build reading the new
|
||||
name, away nodes included; mesh-config answers both names meanwhile, and its seat verb `renames` says each window's
|
||||
nodes (ADR 0609 §4, design 32 § 8).
|
||||
- **retiring value** — a config value or secret no manifest on any trunk reads any more and no node-engine runs a build
|
||||
reading; mesh-config asks the operator once whether to remove it, and removes it only on the Approve, a secret
|
||||
through the vault's `retire` (design 32 § 8). Not the provision sense of **retire** (Provisioning).
|
||||
- **config candidate** — the config declarations a pull request's head adds or changes against the trunk's
|
||||
manifests, kept by the indexer per open pull request in its state `config-candidates`; mesh-config judges
|
||||
it again for the values proposed for that pull request (ADR 0565 §2, §3).
|
||||
@@ -480,6 +490,11 @@ controller (the planner, the rollout) until release 6 of ADR 0429; from each rel
|
||||
**composition check**; for a delivery group, one verdict on every member's head (ADR 0445, ADR 0447). Before
|
||||
release 4 of ADR 0429 a pull request carried two statuses, one for the modules the change touches and one
|
||||
for the repository's own script (ADR 0238).
|
||||
- **module graph** — the edges the indexer keeps between modules, from which each delivery part orders a source
|
||||
revision by its own rule: provisions, bus state, a served verb and a reader's capability are waited on; a package
|
||||
and a build module's change are triggers that rebuild, never waits; a verb edge on a cycle is left out (ADR 0603
|
||||
§1, §2, ADR 0614). Nothing stores the order.
|
||||
*Not:* ~~build graph~~
|
||||
- **composition check** — whether the machines a change touches still compose with it, run by the assigner
|
||||
from the modules the indexer and the builder hold, with mesh-sdk's composition, the one the controller
|
||||
composes with
|
||||
@@ -775,6 +790,17 @@ becomes a message). **Decided by** ADR 0227, 0231, 0240, 0252, 0283, 0564.
|
||||
- **bus state** — what a module keeps on the bus, asked for in `requires` as a provision of the bus module, by a
|
||||
template and its options; created by the bus module and reached by the owner's account alone. Another module
|
||||
asks the owner's tools for its data, or hears its declared events (ADR 0595, ADR 0596).
|
||||
- **`bus-state`** — the provision of the bus module that every bus-state entry of a manifest requires, so the module
|
||||
graph orders the bus module's build before a module asking bus state (ADR 0614 §5). Provided by the holder of the
|
||||
seat `mesh-broker`.
|
||||
- **binding** of bus state — the names on the bus of a module's bus-state entries, which the grants part writes into
|
||||
the module's membership on the bus module's `created`, rewrites on `recreated` and removes on `dropped`; a module
|
||||
whose binding is missing at start fails loudly (ADR 0595 §1, §7). Never bare where it could be read as a sticky
|
||||
binding or a placement's bindings (see [Homonyms](#homonyms)).
|
||||
- **first view** — what a reader is answered once, at its start, by the owner's verb or tool, before it follows the
|
||||
owner's events; it never reads the owner's bus state instead, and asks again only on a gap in the events
|
||||
(ADR 0596 §2, ADR 0615 §3 to §5).
|
||||
*Not:* ~~initial view~~
|
||||
- **storage type** — how the bus keeps bus state: the **stream**, the base, or one built on it, the **key-value
|
||||
bucket**, the **object store** or the **ledger**, each with calls of its own (ADR 0595 §2).
|
||||
*Not:* ~~data type~~
|
||||
@@ -1027,6 +1053,9 @@ Not a domain of the mesh but of the way it is built, listed because its words me
|
||||
- **decision record** — one numbered record in the knowledge base, named "ADR NNNN", never rewritten:
|
||||
**superseded** by a later record, or corrected by a marked **progressive insight**. Always qualified in this repository: bare
|
||||
*record* has other meanings (see [Homonyms](#homonyms)).
|
||||
- **overview page** — the knowledge base's read-only web page for the operator: the designs in progress with their
|
||||
milestones and issues, the records accepted in the last seven days and those waiting, and what waits on the
|
||||
operator, built from its own ledger and three modules' verbs and events (ADR 0616, design 55 § 11).
|
||||
- **clause** — one numbered statement a decision record makes, with its own status (`proposed`, `in force`,
|
||||
`changed`, `superseded`): a later record may change one clause and leave the rest
|
||||
(ADR 0290). Not a *rule*, which is a line of
|
||||
@@ -1124,6 +1153,9 @@ renaming one sense, the old sense moves to a *Not:* line and becomes mechanical.
|
||||
| | the function in mesh-sdk that composes them, which the controller and the assigner both run | **mesh-sdk's composition** | Placement |
|
||||
| | whether the machines a change touches still compose | **composition check** | Delivery |
|
||||
| membership | the subjects a bus account is issued | **membership** | Provisioning |
|
||||
| binding | the names on the bus of a module's bus state, in its membership | **binding** of bus state | Data |
|
||||
| | a consumer's tie to the data a provider keeps for it | **sticky binding** | Data |
|
||||
| | which host ports and addresses a placement gives a module | a placement's **bindings** | Placement |
|
||||
| | an account in a group of the machine | **account group** | Placement |
|
||||
| domain | an area of the mesh that owns a set of concepts and the one word for each (ADR 0244), the sections of this page; the one sense "domain" keeps bare | **mesh domain** | The record |
|
||||
| | one of the eight concerns a direction and a design are reviewed against (playbook 01); never written bare | **architectural domain** | The record |
|
||||
|
||||
@@ -163,7 +163,8 @@ for the operator's Approve on a channel that proves who answered.
|
||||
## Closing
|
||||
|
||||
An effort never just stops. It closes through playbook [02](02-graduation.md) as `graduated` or
|
||||
`abandoned`, always with a `became` link to what it turned into. Nothing is deleted — what was rejected,
|
||||
`abandoned`: a graduated effort with a `became` link to what it turned into, an abandoned one with a `cites` link to
|
||||
what replaced it (playbook 02 step 5). Nothing is deleted — what was rejected,
|
||||
and why, is the more expensive half to rediscover.
|
||||
|
||||
## How it is checked
|
||||
|
||||
@@ -62,7 +62,10 @@ about an hour, and said to the operator if it runs past.
|
||||
milestones, issues, and each milestone built as one feature step (playbook [07](07-feature-branches.md)).
|
||||
5. **Close the effort.** `knowledge-base.propose` the effort again, whole, with `status: graduated` and a
|
||||
`became` link to the decision record (`"NNNN"`) and to the design document (its path). An effort that
|
||||
stops without a decision is proposed with `status: abandoned` and a `became` link to what replaced it.
|
||||
stops without a decision is proposed with `status: abandoned` and a `cites` link to what replaced it: the
|
||||
knowledge base refuses `became` from a research effort to another research effort (its link-fits rule, design
|
||||
55 § 2), so a replacing effort is cited, and `became` stays for the decision and the design an effort turned
|
||||
into.
|
||||
|
||||
## Writing a decision record
|
||||
|
||||
@@ -140,7 +143,9 @@ A design changes only through a decision.
|
||||
|
||||
1. Write the decision record (above). If it reverses an earlier one, it `supersedes` it.
|
||||
2. Edit the to-be design document, add the record to its `decisions:` as `"ADR NNNN"`, and set `updated:`
|
||||
to today. Review it by architectural domain before it is merged (playbook [01](01-research.md#review-by-architectural-domain)), and
|
||||
to today. A set of amendments across several designs (a milestone's findings, a graduation's) is written by the
|
||||
agent `hq-design-writer` (`.claude/agents/`), started with a handover naming the designs, the records and the
|
||||
branch. Review it by architectural domain before it is merged (playbook [01](01-research.md#review-by-architectural-domain)), and
|
||||
rewrite its *Reviewed by architectural domain* section.
|
||||
3. If the amendment came from an issue, give the issue the document path in the issue tracker:
|
||||
`amended-design` on its `issue-tracker.move` to `resolved`, or `issue-tracker.link` with kind
|
||||
|
||||
Reference in New Issue
Block a user