@cratylus/canon 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -58
- package/dist/agents/kino.js +1 -1
- package/dist/agents/kino.js.map +1 -1
- package/dist/agents/mav.js +1 -1
- package/dist/agents/mav.js.map +1 -1
- package/dist/agents/nico.js +1 -1
- package/dist/agents/nico.js.map +1 -1
- package/dist/compose.d.ts +4 -4
- package/dist/compose.js +14 -16
- package/dist/compose.js.map +1 -1
- package/dist/contracts.js +15 -15
- package/dist/contracts.js.map +1 -1
- package/dist/dimensions/action-scope/integrate.js +1 -1
- package/dist/dimensions/action-scope/integrate.js.map +1 -1
- package/dist/dimensions/assignment/concepts.js +1 -1
- package/dist/dimensions/assignment/concepts.js.map +1 -1
- package/dist/dimensions/assignment/review-request.js +1 -1
- package/dist/dimensions/assignment/review-request.js.map +1 -1
- package/dist/dimensions/assignment/task.js +1 -1
- package/dist/dimensions/assignment/task.js.map +1 -1
- package/dist/dimensions/assignment/{story.d.ts → user-story.d.ts} +1 -1
- package/dist/dimensions/assignment/user-story.js +2 -0
- package/dist/dimensions/assignment/user-story.js.map +1 -0
- package/dist/dimensions/autonomy/management-by-exception.d.ts +2 -0
- package/dist/dimensions/autonomy/management-by-exception.js +2 -0
- package/dist/dimensions/autonomy/management-by-exception.js.map +1 -0
- package/dist/dimensions/communication-style/bottom-line-up-front.js +1 -1
- package/dist/dimensions/communication-style/bottom-line-up-front.js.map +1 -1
- package/dist/dimensions/communication-style/layman.js +1 -1
- package/dist/dimensions/communication-style/layman.js.map +1 -1
- package/dist/dimensions/deliverable/{review.d.ts → code-review.d.ts} +1 -1
- package/dist/dimensions/deliverable/code-review.js +2 -0
- package/dist/dimensions/deliverable/code-review.js.map +1 -0
- package/dist/dimensions/deliverable/outcome.js +1 -1
- package/dist/dimensions/deliverable/outcome.js.map +1 -1
- package/dist/dimensions/deliverable/read-back.js +1 -1
- package/dist/dimensions/deliverable/read-back.js.map +1 -1
- package/dist/dimensions/expertise/evaluation-design.js +1 -1
- package/dist/dimensions/expertise/evaluation-design.js.map +1 -1
- package/dist/dimensions/expertise/semantic-addressing.js +1 -1
- package/dist/dimensions/expertise/semantic-addressing.js.map +1 -1
- package/dist/dimensions/guardrails/append-only.js +1 -1
- package/dist/dimensions/guardrails/append-only.js.map +1 -1
- package/dist/dimensions/guardrails/fixed-acceptance-criteria.js +1 -1
- package/dist/dimensions/guardrails/fixed-acceptance-criteria.js.map +1 -1
- package/dist/dimensions/guardrails/honesty.js +1 -1
- package/dist/dimensions/guardrails/honesty.js.map +1 -1
- package/dist/dimensions/guardrails/input-untrusted.js +1 -1
- package/dist/dimensions/guardrails/input-untrusted.js.map +1 -1
- package/dist/dimensions/guardrails/never-repairs.js +1 -1
- package/dist/dimensions/guardrails/never-repairs.js.map +1 -1
- package/dist/dimensions/guardrails/no-implementation.js +1 -1
- package/dist/dimensions/guardrails/no-implementation.js.map +1 -1
- package/dist/dimensions/guardrails/privacy.js +1 -1
- package/dist/dimensions/guardrails/privacy.js.map +1 -1
- package/dist/dimensions/memory/reconstitution.js +1 -1
- package/dist/dimensions/memory/reconstitution.js.map +1 -1
- package/dist/dimensions/memory/source-of-truth.js +1 -1
- package/dist/dimensions/memory/source-of-truth.js.map +1 -1
- package/dist/dimensions/model/frontier-other-family.js +1 -1
- package/dist/dimensions/model/frontier-other-family.js.map +1 -1
- package/dist/dimensions/objective/conceptual-integrity.js +1 -1
- package/dist/dimensions/objective/conceptual-integrity.js.map +1 -1
- package/dist/dimensions/objective/delivery.js +1 -1
- package/dist/dimensions/objective/delivery.js.map +1 -1
- package/dist/dimensions/objective/review-accuracy.js +1 -1
- package/dist/dimensions/objective/review-accuracy.js.map +1 -1
- package/dist/dimensions/perception-scope/concept-journal.js +1 -1
- package/dist/dimensions/perception-scope/concept-journal.js.map +1 -1
- package/dist/dimensions/perception-scope/held-out-examples.js +1 -1
- package/dist/dimensions/perception-scope/held-out-examples.js.map +1 -1
- package/dist/dimensions/perception-scope/own-task.js +1 -1
- package/dist/dimensions/perception-scope/own-task.js.map +1 -1
- package/dist/dimensions/perception-scope/{work.d.ts → work-product.d.ts} +1 -1
- package/dist/dimensions/perception-scope/work-product.js +2 -0
- package/dist/dimensions/perception-scope/work-product.js.map +1 -0
- package/dist/dimensions/procedure/code-review.js +1 -1
- package/dist/dimensions/procedure/code-review.js.map +1 -1
- package/dist/dimensions/procedure/orchestrator-workers.js +1 -1
- package/dist/dimensions/procedure/orchestrator-workers.js.map +1 -1
- package/dist/dimensions/procedure/reconstitution.js +1 -1
- package/dist/dimensions/procedure/reconstitution.js.map +1 -1
- package/dist/dimensions/procedure/ship-show-ask.js +1 -1
- package/dist/dimensions/procedure/ship-show-ask.js.map +1 -1
- package/dist/dimensions/role/architect.js +1 -1
- package/dist/dimensions/role/architect.js.map +1 -1
- package/dist/dimensions/role/builder.js +1 -1
- package/dist/dimensions/role/builder.js.map +1 -1
- package/dist/dimensions/role/check-writer.js +1 -1
- package/dist/dimensions/role/check-writer.js.map +1 -1
- package/dist/dimensions/role/illustrator.js +1 -1
- package/dist/dimensions/role/illustrator.js.map +1 -1
- package/dist/dimensions/role/lead.js +1 -1
- package/dist/dimensions/role/lead.js.map +1 -1
- package/dist/dimensions/role/reviewer.js +1 -1
- package/dist/dimensions/role/reviewer.js.map +1 -1
- package/dist/dimensions/stance/cold-decode-oracle.js +1 -1
- package/dist/dimensions/stance/cold-decode-oracle.js.map +1 -1
- package/dist/dimensions/stance/conceptual-elevation.js +1 -1
- package/dist/dimensions/stance/conceptual-elevation.js.map +1 -1
- package/dist/dimensions/stance/decisive.js +1 -1
- package/dist/dimensions/stance/decisive.js.map +1 -1
- package/dist/dimensions/stance/{proportionate.d.ts → tailoring.d.ts} +1 -1
- package/dist/dimensions/stance/tailoring.js +2 -0
- package/dist/dimensions/stance/tailoring.js.map +1 -0
- package/dist/dimensions/stance/zero-trust.js +1 -1
- package/dist/dimensions/stance/zero-trust.js.map +1 -1
- package/dist/genus/prime-principle.d.ts +4 -3
- package/dist/genus/prime-principle.js +3 -2
- package/dist/genus/prime-principle.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -11
- package/dist/index.js.map +1 -1
- package/dist/manifest.d.ts +12 -12
- package/dist/manifest.js +20 -26
- package/dist/manifest.js.map +1 -1
- package/dist/operator-lexicon.d.ts +1 -12
- package/dist/operator-lexicon.js +3 -33
- package/dist/operator-lexicon.js.map +1 -1
- package/dist/practices.d.ts +1 -2
- package/dist/practices.js +2 -6
- package/dist/practices.js.map +1 -1
- package/dist/roles/architect.js +16 -34
- package/dist/roles/architect.js.map +1 -1
- package/dist/roles/builder.js +4 -4
- package/dist/roles/builder.js.map +1 -1
- package/dist/roles/check-writer.js +3 -3
- package/dist/roles/check-writer.js.map +1 -1
- package/dist/roles/illustrator.js +2 -2
- package/dist/roles/illustrator.js.map +1 -1
- package/dist/roles/lead.js +16 -22
- package/dist/roles/lead.js.map +1 -1
- package/dist/roles/reviewer.js +11 -10
- package/dist/roles/reviewer.js.map +1 -1
- package/dist/rules/commit-discipline.d.ts +3 -0
- package/dist/rules/commit-discipline.js +26 -0
- package/dist/rules/commit-discipline.js.map +1 -0
- package/dist/rules/conventional-commits.d.ts +3 -0
- package/dist/rules/conventional-commits.js +38 -0
- package/dist/rules/conventional-commits.js.map +1 -0
- package/dist/rules/established-libraries.d.ts +3 -0
- package/dist/rules/established-libraries.js +20 -0
- package/dist/rules/established-libraries.js.map +1 -0
- package/dist/rules/gitflow.d.ts +3 -0
- package/dist/rules/gitflow.js +32 -0
- package/dist/rules/gitflow.js.map +1 -0
- package/dist/rules/green-field.d.ts +3 -0
- package/dist/rules/green-field.js +20 -0
- package/dist/rules/green-field.js.map +1 -0
- package/dist/rulesets.d.ts +2 -0
- package/dist/rulesets.js +17 -0
- package/dist/rulesets.js.map +1 -0
- package/dist/skills/conceptualize/skill.js +2 -3
- package/dist/skills/conceptualize/skill.js.map +1 -1
- package/dist/skills/create-agent/skill.js +1 -1
- package/dist/skills/create-skill/skill.js +1 -1
- package/dist/skills/elicit/skill.js +2 -3
- package/dist/skills/elicit/skill.js.map +1 -1
- package/dist/skills/exemplify/skill.js +3 -4
- package/dist/skills/exemplify/skill.js.map +1 -1
- package/dist/skills/materialize/skill.js +2 -3
- package/dist/skills/materialize/skill.js.map +1 -1
- package/dist/skills/probe/skill.js +24 -25
- package/dist/skills/probe/skill.js.map +1 -1
- package/dist/skills/signify/skill.js +22 -21
- package/dist/skills/signify/skill.js.map +1 -1
- package/package.json +5 -6
- package/dist/dimensions/assignment/story.js +0 -2
- package/dist/dimensions/assignment/story.js.map +0 -1
- package/dist/dimensions/deliverable/review.js +0 -2
- package/dist/dimensions/deliverable/review.js.map +0 -1
- package/dist/dimensions/perception-scope/work.js +0 -2
- package/dist/dimensions/perception-scope/work.js.map +0 -1
- package/dist/dimensions/stance/proportionate.js +0 -2
- package/dist/dimensions/stance/proportionate.js.map +0 -1
- package/dist/genus/persona.d.ts +0 -8
- package/dist/genus/persona.js +0 -30
- package/dist/genus/persona.js.map +0 -1
- package/dist/hook-cells.d.ts +0 -3
- package/dist/hook-cells.js +0 -14
- package/dist/hook-cells.js.map +0 -1
- package/dist/hooks/deploy-drift-notice.d.ts +0 -2
- package/dist/hooks/deploy-drift-notice.js +0 -431
- package/dist/hooks/deploy-drift-notice.js.map +0 -1
- package/dist/rules/repo-preamble.d.ts +0 -2
- package/dist/rules/repo-preamble.js +0 -49
- package/dist/rules/repo-preamble.js.map +0 -1
- package/dist/skills/introspect/skill.d.ts +0 -2
- package/dist/skills/introspect/skill.js +0 -55
- package/dist/skills/introspect/skill.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
# @cratylus/canon
|
|
2
2
|
|
|
3
3
|
The **meaning** concern of [cratylus](../../README.md) — the canonical corpus of discovered
|
|
4
|
-
optimal-signifiers, authored as typed TypeScript.
|
|
4
|
+
optimal-signifiers, each read in its concept's bounded context, authored as typed TypeScript.
|
|
5
5
|
|
|
6
|
-
The discipline is
|
|
6
|
+
The discipline is latent lexicography: describing the vocabulary a foundation model
|
|
7
7
|
already holds, rather than authoring prose and hoping it lands. An agent or skill in this corpus is
|
|
8
8
|
therefore not a prompt. It is a **vector of values** over the catalog's factors, and the
|
|
9
|
-
markdown
|
|
9
|
+
markdown an agent harness reads is a projection of these modules.
|
|
10
10
|
|
|
11
11
|
Canon is harness-agnostic **and** runtime-agnostic: it says what an agent _is_ and what a skill
|
|
12
|
-
_means_, never how either is carried.
|
|
13
|
-
[ARCHITECTURE.md](../../ARCHITECTURE.md)'s; installing the corpus on a machine, and choosing among
|
|
12
|
+
_means_, never how either is carried. Installing the corpus on a machine, and choosing among
|
|
14
13
|
its practices, is [the `cratylus` README](../cli/README.md)'s. This README is for the author of a
|
|
15
14
|
corpus, or of a plugin that extends this one.
|
|
16
15
|
|
|
@@ -46,9 +45,7 @@ resolved by a registry, and every part of a composite is traceable to its one ho
|
|
|
46
45
|
| `fragments` | the factor value modules, filed one per factor directory |
|
|
47
46
|
| `agents` | the composed agents: six generic holders of their roles, and three personas |
|
|
48
47
|
| `skills` | the skill cells — each a self-sufficient formal block plus the siblings it composes |
|
|
49
|
-
| `hooks` | the hook cells, each carrying its verbatim worker payload |
|
|
50
48
|
| `practices` | **which ways of working exist** — each an installable choice, declared as data in `src/practices.ts` |
|
|
51
|
-
| `plumbing` | what every practice is installed with and none is offered as, declared beside them |
|
|
52
49
|
|
|
53
50
|
Canon owns the catalog because a factor is **constitutive**: declaring one makes it part of that
|
|
54
51
|
corpus's agent design. The manifest rides the plugin rather than living in the projector, so a
|
|
@@ -60,21 +57,27 @@ are [`@cratylus/schema`](../schema/README.md)'s.
|
|
|
60
57
|
|
|
61
58
|
The plugin carries nine agents, all in the practice `intent-based-delegation`, which delivers
|
|
62
59
|
intent-based delegation. `architect`, `lead`, `builder` and `reviewer` are the generic holders of
|
|
63
|
-
their roles, with `illustrator` and `check-writer` as specialists called in when a story's risk
|
|
64
|
-
warrants them. Each role is defined by what it receives and what it hands
|
|
65
|
-
|
|
66
|
-
- **architect** — the operator's principal architect, owning the conceptual
|
|
67
|
-
hands
|
|
68
|
-
- **lead** — owns a story's realization, or a task with no story: orchestrates its tasks to
|
|
69
|
-
(orchestrator-workers) and their changes to review as
|
|
70
|
-
Ask), joins each change by the project's own integration once every check passes
|
|
71
|
-
due before it joins approves it, and hands
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
60
|
+
their roles, with `illustrator` and `check-writer` as specialists called in when a user story's risk
|
|
61
|
+
warrants them. Each role is defined by what it receives and what it hands off, never by steps:
|
|
62
|
+
|
|
63
|
+
- **architect** — the operator's principal architect, owning the conceptual model: receives intent,
|
|
64
|
+
hands off user stories, answers to meaning questions and read-backs; decides meaning only.
|
|
65
|
+
- **lead** — owns a user story's realization, or a task with no story: orchestrates its tasks to
|
|
66
|
+
builders (orchestrator-workers) and their changes to code review as the story's risk calls for
|
|
67
|
+
(Ship, Show or Ask), joins each change by the project's own integration once every check passes
|
|
68
|
+
and any review due before it joins approves it, and hands off the outcome. Where the operator has
|
|
69
|
+
asked to review a change before it joins, the operator's review is its code review, and it joins
|
|
70
|
+
on the operator's sign-off, a hold point.
|
|
71
|
+
- **builder** — receives one task and hands off one change that passes every check.
|
|
72
|
+
- **reviewer** — reviews one change it did not write, before or after it joins as its user story's
|
|
73
|
+
risk calls for, against the change and, where they apply, the story's acceptance criteria and
|
|
74
|
+
examples, held-out ones included; hands off one code review naming each finding, leaving building
|
|
75
|
+
and repairing the work to the builders. A change the operator has asked to review is the
|
|
76
|
+
operator's to review; the operator takes that change's held-out examples directly from the design.
|
|
77
|
+
- **illustrator** — writes a user story's examples cold from its concepts alone, flagging unclear
|
|
78
|
+
terms.
|
|
79
|
+
- **check-writer** — writes the checks binding a user story's examples, each seen failing before the
|
|
80
|
+
build.
|
|
78
81
|
|
|
79
82
|
The reviewer, the illustrator and the check-writer run on another model family than the builders
|
|
80
83
|
where one is available. A role cell (`src/roles/<role>.ts`) states a value for every factor, an
|
|
@@ -83,8 +86,10 @@ role, carrying nothing beyond it and no mark. `holder` refuses a cell missing a
|
|
|
83
86
|
without exactly one value, a slot not filled exactly once, and empty guardrails.
|
|
84
87
|
|
|
85
88
|
kino, nico and mav are personas over the architect role, each named for its expertise (kino film
|
|
86
|
-
production, nico the corpus
|
|
87
|
-
|
|
89
|
+
production and generative video, nico the corpus and latent lexicography, mav software
|
|
90
|
+
engineering). The architect role owns the conceptual model of every context it is given, the
|
|
91
|
+
corpus included; a persona brings its expertise and owns nothing its role does not.
|
|
92
|
+
Each is `persona(architectRole, overrides)`, stating only its overrides and extensions of the role:
|
|
88
93
|
an agent named as an individual, with a description and a mark of its own beside the values it
|
|
89
94
|
states. A single value it states replaces the role's, a slot only its own slot; a set value is added
|
|
90
95
|
after the role's, and restating one the role holds changes only its enforcement level or note. It
|
|
@@ -96,45 +101,42 @@ than its reach, is made, and composition warns (a `CompositionWarning`), naming
|
|
|
96
101
|
harm from one is on record (decision 0142(2)).
|
|
97
102
|
|
|
98
103
|
A composed agent also says, for the projector, the role it holds (`holds`), its model's tier and
|
|
99
|
-
effort (`routing`)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
for a corpus that composes agents of its own over these roles.
|
|
104
|
+
effort (`routing`) and its typed handoff (`contract`). Nothing narrows its tools or whom it may
|
|
105
|
+
dispatch: every agent keeps the agent harness's defaults (0142). Its `key` is reserved for ipseic
|
|
106
|
+
agents and is empty. `holder`, `persona`, `CompositionRefusal`, the six role cells and `MANIFEST` are
|
|
107
|
+
also named exports, for a corpus that composes agents of its own over these roles.
|
|
104
108
|
|
|
105
|
-
## Typed
|
|
109
|
+
## Typed handoffs
|
|
106
110
|
|
|
107
111
|
An assignment and a deliverable are values of their factors, and each carries its contract as JSON
|
|
108
112
|
Schema data (`src/contracts.ts`, exported as `ASSIGNMENT_CONTRACTS` and `DELIVERABLE_CONTRACTS` by
|
|
109
|
-
the value's anchor). Composition copies the pair onto the agent as `contract`. Each
|
|
110
|
-
what it must contain
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
| illustrator | concepts `{story, concepts[≥1]}` | examples with flagged terms `{examples, flaggedTerms}` |
|
|
113
|
+
the value's anchor). Composition copies the pair onto the agent as `contract`. Each handoff states
|
|
114
|
+
what it must contain (`?` marks an optional field, `[≥1]` a list that may not be empty):
|
|
115
|
+
|
|
116
|
+
| Role | Assignment | Deliverable |
|
|
117
|
+
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
|
|
118
|
+
| lead | user story `{story, slice, why, acceptanceCriteria[≥1], outOfScope, path, review, cost, examples?, decisions?, contexts?}`, or a task with no story (as below) | outcome `{story, criteria[≥1], meaningQuestions, followUps, cost}` |
|
|
119
|
+
| builder | task `{task, story?, goal, changes, decisions, done}` | change `{change, tests, verified}` |
|
|
120
|
+
| reviewer | review request `{change, story?, acceptanceCriteria?, examples?}` | code review `{verdict, findings, meaningQuestions}` |
|
|
121
|
+
| check-writer | examples `{story, examples[≥1]}` | checks seen red `{story, checks}` |
|
|
122
|
+
| illustrator | concepts `{story, concepts[≥1]}` | examples with flagged terms `{examples, flaggedTerms}` |
|
|
120
123
|
|
|
121
124
|
The lead's assignment takes either form, stated as alternatives (`anyOf`); it fits when it fits any
|
|
122
|
-
one. Its outcome names the story, or for a task with no story the task, and holds each
|
|
123
|
-
criterion (or, for a task, what done means) with whether it holds and its evidence, and
|
|
124
|
-
agent runs by role, tokens and elapsed time. A review's `verdict` is `approve` or
|
|
125
|
-
architect's
|
|
126
|
-
things stand,
|
|
127
|
-
as its own output schema
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## Evaluation and drift
|
|
125
|
+
one. Its outcome names the user story, or for a task with no story the task, and holds each
|
|
126
|
+
acceptance criterion (or, for a task, what done means) with whether it holds and its evidence, and
|
|
127
|
+
the cost in agent runs by role, tokens and elapsed time. A code review's `verdict` is `approve` or
|
|
128
|
+
`changes`. The architect's handoffs are a person's — free-text intent in, a read-back to the
|
|
129
|
+
operator out (where things stand, and what it recommends) — so it carries no contract. An agent
|
|
130
|
+
harness binds the deliverable as its own output schema and shows every session, each turn, the
|
|
131
|
+
assignment form of each agent that takes one: one fenced `assignment` JSON block in the dispatch
|
|
132
|
+
text.
|
|
133
|
+
|
|
134
|
+
## Evaluation and persona drift
|
|
133
135
|
|
|
134
136
|
Every agent's behaviour is evaluated in real use, by the operator working with it: its evaluation
|
|
135
137
|
factor holds the one value `in-use`, and no guard, hook or model-judged check holds its acts or its
|
|
136
|
-
replies (0142(1)).
|
|
137
|
-
|
|
138
|
+
replies (0142(1)). Persona drift is a concept of the agents context, judged by the operator in real
|
|
139
|
+
use; no agent carries countermeasure text against it.
|
|
138
140
|
|
|
139
141
|
## The first principle
|
|
140
142
|
|
|
@@ -145,8 +147,9 @@ and an agent carries it once, in plain words, as the `cratylism` stance of the r
|
|
|
145
147
|
that role states it. A cell that does not use it
|
|
146
148
|
never holds a host's own authored surfaces to this corpus's naming axiom. The axiom is scoped: the
|
|
147
149
|
cold-decode oracle decides signs only for the corpus's core agent factor names and values, the
|
|
148
|
-
terminology it was built to discover
|
|
149
|
-
|
|
150
|
+
terminology it was built to discover, reading each sign in its bounded context and judging it by the
|
|
151
|
+
workflow's residue. Every other term is the industry's own, used as the industry understands it, and
|
|
152
|
+
no consumer surface is held to the oracle. It is intrinsic to those cells'
|
|
150
153
|
projected bytes, so it survives deployment into a foreign repository rather than depending on
|
|
151
154
|
ambient context.
|
|
152
155
|
|
|
@@ -163,5 +166,4 @@ No cell imports the runtime either. A skill names the capability it routes to
|
|
|
163
166
|
`versionSkew`, the two built into the runtime — as `runtime: { capability: … }`,
|
|
164
167
|
never its implementation, and a cell that emits shell invoking the binary carries it as a fact the
|
|
165
168
|
projector substitutes at emission. That is the architecture's highest-ranked property — meaning
|
|
166
|
-
and mechanism never referencing each other
|
|
167
|
-
how it came to hold.
|
|
169
|
+
and mechanism never referencing each other.
|
package/dist/agents/kino.js
CHANGED
|
@@ -8,7 +8,7 @@ import { userCentered } from '../dimensions/stance/user-centered.js';
|
|
|
8
8
|
import { architectRole } from '../roles/architect.js';
|
|
9
9
|
export const kino = persona(architectRole, {
|
|
10
10
|
name: 'kino',
|
|
11
|
-
description: "Architect
|
|
11
|
+
description: "Architect expert in film production and generative video: teaches the layman operator the industry's own practice, each recommendation traced to its source.",
|
|
12
12
|
mark: { emoji: '🎬', hue: 'magenta' },
|
|
13
13
|
values: {
|
|
14
14
|
expertise: [filmProduction, generativeVideo],
|
package/dist/agents/kino.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kino.js","sourceRoot":"","sources":["../../src/agents/kino.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sBAAsB;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6DAA6D,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,EAAE;IACzC,IAAI,EAAE,MAAM;IACZ,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"kino.js","sourceRoot":"","sources":["../../src/agents/kino.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sBAAsB;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6DAA6D,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,EAAE;IACzC,IAAI,EAAE,MAAM;IACZ,WAAW,EACT,8JAA8J;IAChK,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE;IACrC,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,cAAc,EAAE,eAAe,CAAC;QAC5C,MAAM,EAAE,CAAC,YAAY,CAAC;QACtB,kBAAkB,EAAE,CAAC,EAAE,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;KAC1E;CACF,CAAC,CAAC"}
|
package/dist/agents/mav.js
CHANGED
|
@@ -6,7 +6,7 @@ import { softwareEngineering } from '../dimensions/expertise/software-engineerin
|
|
|
6
6
|
import { architectRole } from '../roles/architect.js';
|
|
7
7
|
export const mav = persona(architectRole, {
|
|
8
8
|
name: 'mav',
|
|
9
|
-
description:
|
|
9
|
+
description: 'Architect expert in software engineering: models any repository it is given as a software engineer would.',
|
|
10
10
|
mark: { emoji: '✈️', hue: 'green' },
|
|
11
11
|
values: {
|
|
12
12
|
expertise: [softwareEngineering],
|
package/dist/agents/mav.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mav.js","sourceRoot":"","sources":["../../src/agents/mav.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,sBAAsB;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,EAAE;IACxC,IAAI,EAAE,KAAK;IACX,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"mav.js","sourceRoot":"","sources":["../../src/agents/mav.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,sBAAsB;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,EAAE;IACxC,IAAI,EAAE,KAAK;IACX,WAAW,EACT,2GAA2G;IAC7G,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE;IACnC,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,mBAAmB,CAAC;QAChC,kBAAkB,EAAE,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAC9D;CACF,CAAC,CAAC"}
|
package/dist/agents/nico.js
CHANGED
|
@@ -12,7 +12,7 @@ import { zeroTrust } from '../dimensions/stance/zero-trust.js';
|
|
|
12
12
|
import { architectRole } from '../roles/architect.js';
|
|
13
13
|
export const nico = persona(architectRole, {
|
|
14
14
|
name: 'nico',
|
|
15
|
-
description: "Architect
|
|
15
|
+
description: "Architect expert in the corpus and latent lexicography: finds the sign that most precisely and efficiently invokes each concept in a model's semantic space, read in its bounded context, and keeps the name a reader given the name with only its bounded context's name and subject decodes as meant.",
|
|
16
16
|
mark: { emoji: '📐', hue: 'cyan' },
|
|
17
17
|
values: {
|
|
18
18
|
objective: [
|
package/dist/agents/nico.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nico.js","sourceRoot":"","sources":["../../src/agents/nico.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sBAAsB;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,EAAE;IACzC,IAAI,EAAE,MAAM;IACZ,WAAW,EACT
|
|
1
|
+
{"version":3,"file":"nico.js","sourceRoot":"","sources":["../../src/agents/nico.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sBAAsB;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,EAAE;IACzC,IAAI,EAAE,MAAM;IACZ,WAAW,EACT,ySAAyS;IAC3S,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE;IAClC,MAAM,EAAE;QACN,SAAS,EAAE;YACT,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;YACnC,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE;SAC5C;QACD,SAAS,EAAE,CAAC,kBAAkB,CAAC;QAC/B,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,kBAAkB,CAAC;QACrE,kBAAkB,EAAE,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAC9D;CACF,CAAC,CAAC"}
|
package/dist/compose.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ export interface RoleCell {
|
|
|
24
24
|
readonly [D in HeldFactor as KebabToCamel<D>]: readonly Stated<D>[];
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
/** A persona:
|
|
28
|
-
export interface
|
|
27
|
+
/** A persona: its overrides and extensions of its role, by field; everything else is the role's. */
|
|
28
|
+
export interface Overrides {
|
|
29
29
|
readonly name: string;
|
|
30
30
|
readonly description: string;
|
|
31
31
|
readonly mark: Mark;
|
|
@@ -42,6 +42,6 @@ export declare class CompositionRefusal extends Error {
|
|
|
42
42
|
}
|
|
43
43
|
/** The generic holder of a role: the role's vector, named for the role. */
|
|
44
44
|
export declare function holder(cell: RoleCell): Agent;
|
|
45
|
-
/** A persona over a role: the role's vector, then the
|
|
46
|
-
export declare function persona(over: RoleCell,
|
|
45
|
+
/** A persona over a role: the role's vector, then the persona's overrides and extensions. */
|
|
46
|
+
export declare function persona(over: RoleCell, overrides: Overrides): Agent;
|
|
47
47
|
export {};
|
package/dist/compose.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
// A role is a full default vector: one stated list per factor, every factor
|
|
5
5
|
// present (`roles/<role>.ts`). Its generic holder is that vector made an agent:
|
|
6
6
|
// each stated value becomes an `Entry` carrying its enforcement level (the
|
|
7
|
-
// factor's default unless stated). A persona
|
|
8
|
-
// mark, single values that replace the role's, set values that extend the
|
|
9
|
-
// and values it removes. Everything it does not state is the role's.
|
|
7
|
+
// factor's default unless stated). A persona states its overrides and extensions of a
|
|
8
|
+
// role: its own mark, single values that replace the role's, set values that extend the
|
|
9
|
+
// role's, and values it removes. Everything it does not state is the role's.
|
|
10
10
|
//
|
|
11
11
|
// Composition REFUSES a malformed persona (master design §2): one that states the
|
|
12
12
|
// role, names an unknown factor or slot, removes a value its role does not hold, or
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
18
18
|
import { anchorOf, kebabToCamel, } from '@cratylus/schema';
|
|
19
19
|
import { ASSIGNMENT_CONTRACTS, DELIVERABLE_CONTRACTS } from './contracts.js';
|
|
20
|
-
import { personaProtocol } from './genus/persona.js';
|
|
21
20
|
import { MANIFEST } from './manifest.js';
|
|
22
21
|
/** A composition the design forbids; the message names what was refused. */
|
|
23
22
|
export class CompositionRefusal extends Error {
|
|
@@ -107,7 +106,6 @@ function agentOf(identity, vector) {
|
|
|
107
106
|
effort: slotAnchor('model', 'effort'),
|
|
108
107
|
},
|
|
109
108
|
...(Object.keys(contract).length > 0 ? { contract } : {}),
|
|
110
|
-
persistence: personaProtocol,
|
|
111
109
|
...vector,
|
|
112
110
|
};
|
|
113
111
|
}
|
|
@@ -133,17 +131,17 @@ export function holder(cell) {
|
|
|
133
131
|
holds: cell.name,
|
|
134
132
|
}, vectorOfCell(cell));
|
|
135
133
|
}
|
|
136
|
-
/** A persona over a role: the role's vector, then the
|
|
137
|
-
export function persona(over,
|
|
138
|
-
const who = `persona ${
|
|
139
|
-
if (!
|
|
134
|
+
/** A persona over a role: the role's vector, then the persona's overrides and extensions. */
|
|
135
|
+
export function persona(over, overrides) {
|
|
136
|
+
const who = `persona ${overrides.name}`;
|
|
137
|
+
if (!overrides.mark)
|
|
140
138
|
refuse(`${who} carries no mark`);
|
|
141
139
|
if (over.mark &&
|
|
142
|
-
over.mark.emoji ===
|
|
143
|
-
over.mark.hue ===
|
|
140
|
+
over.mark.emoji === overrides.mark.emoji &&
|
|
141
|
+
over.mark.hue === overrides.mark.hue)
|
|
144
142
|
refuse(`${who} carries its role ${over.name}'s own mark`);
|
|
145
143
|
const vector = vectorOfCell(over);
|
|
146
|
-
for (const [field, stated] of Object.entries(
|
|
144
|
+
for (const [field, stated] of Object.entries(overrides.values ?? {})) {
|
|
147
145
|
const held = heldFactor(field, who);
|
|
148
146
|
const { factor, meta } = held;
|
|
149
147
|
if (factor === 'role')
|
|
@@ -194,7 +192,7 @@ export function persona(over, residue) {
|
|
|
194
192
|
entries[at] = next;
|
|
195
193
|
}
|
|
196
194
|
}
|
|
197
|
-
for (const [field, removed] of Object.entries(
|
|
195
|
+
for (const [field, removed] of Object.entries(overrides.removes ?? {})) {
|
|
198
196
|
const { factor, meta } = heldFactor(field, who);
|
|
199
197
|
const entries = vector[field];
|
|
200
198
|
for (const value of removed) {
|
|
@@ -210,9 +208,9 @@ export function persona(over, residue) {
|
|
|
210
208
|
}
|
|
211
209
|
}
|
|
212
210
|
return agentOf({
|
|
213
|
-
name:
|
|
214
|
-
description:
|
|
215
|
-
mark:
|
|
211
|
+
name: overrides.name,
|
|
212
|
+
description: overrides.description,
|
|
213
|
+
mark: overrides.mark,
|
|
216
214
|
holds: over.name,
|
|
217
215
|
}, vector);
|
|
218
216
|
}
|
package/dist/compose.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose.js","sourceRoot":"","sources":["../src/compose.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,uDAAuD;AACvD,EAAE;AACF,4EAA4E;AAC5E,gFAAgF;AAChF,2EAA2E;AAC3E,
|
|
1
|
+
{"version":3,"file":"compose.js","sourceRoot":"","sources":["../src/compose.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,uDAAuD;AACvD,EAAE;AACF,4EAA4E;AAC5E,gFAAgF;AAChF,2EAA2E;AAC3E,sFAAsF;AACtF,wFAAwF;AACxF,6EAA6E;AAC7E,EAAE;AACF,kFAAkF;AAClF,oFAAoF;AACpF,oFAAoF;AACpF,iFAAiF;AACjF,mFAAmF;AACnF,oDAAoD;AACpD,gFAAgF;AAEhF,OAAO,EAQL,QAAQ,EACR,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAA8B,QAAQ,EAAE,MAAM,eAAe,CAAC;AA2CrE,4EAA4E;AAC5E,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IACzB,IAAI,GAAG,oBAAoB,CAAC;CAC/C;AAQD,MAAM,IAAI,GAAoB,MAAM,CAAC,OAAO,CAC1C,QAAwC,CACzC;KACE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,KAAK,WAAW,CAAC;KAChD,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAE5E,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IA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AED,OAAO,OAAO,CACZ;QACE,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,WAAW,EAAE,SAAS,CAAC,WAAW;QAClC,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,KAAK,EAAE,IAAI,CAAC,IAAI;KACjB,EACD,MAAM,CACP,CAAC;AACJ,CAAC"}
|
package/dist/contracts.js
CHANGED
|
@@ -18,13 +18,13 @@ import { anchorOf } from '@cratylus/schema';
|
|
|
18
18
|
import { concepts } from './dimensions/assignment/concepts.js';
|
|
19
19
|
import { examples } from './dimensions/assignment/examples.js';
|
|
20
20
|
import { reviewRequest } from './dimensions/assignment/review-request.js';
|
|
21
|
-
import { story } from './dimensions/assignment/story.js';
|
|
22
21
|
import { task } from './dimensions/assignment/task.js';
|
|
22
|
+
import { userStory } from './dimensions/assignment/user-story.js';
|
|
23
23
|
import { change } from './dimensions/deliverable/change.js';
|
|
24
24
|
import { checksSeenRed } from './dimensions/deliverable/checks-seen-red.js';
|
|
25
|
+
import { codeReview } from './dimensions/deliverable/code-review.js';
|
|
25
26
|
import { examplesWithFlaggedTerms } from './dimensions/deliverable/examples-with-flagged-terms.js';
|
|
26
27
|
import { outcome } from './dimensions/deliverable/outcome.js';
|
|
27
|
-
import { review } from './dimensions/deliverable/review.js';
|
|
28
28
|
const text = { type: 'string' };
|
|
29
29
|
const count = { type: 'integer' };
|
|
30
30
|
const texts = { type: 'array', items: text };
|
|
@@ -41,7 +41,7 @@ const said = (schema, description) => ({
|
|
|
41
41
|
description,
|
|
42
42
|
});
|
|
43
43
|
// What a field of a handover names, said once for every handover that holds it.
|
|
44
|
-
const storyField = said(text, 'The story, by its name (a kebab-case id).');
|
|
44
|
+
const storyField = said(text, 'The user story, by its name (a kebab-case id).');
|
|
45
45
|
const exampleRefs = (schema, whose) => said(schema, `${whose}, each as \`<context>/<number>\` (e.g. \`booking/1\`).`);
|
|
46
46
|
const meaningQuestions = said(texts, 'Each question whose answer would change a concept or an example, for the architect to settle; empty when there is none.');
|
|
47
47
|
// The story and the task, each a form of its own: the lead takes either, a builder a task.
|
|
@@ -52,7 +52,7 @@ const storyForm = record({
|
|
|
52
52
|
acceptanceCriteria: said(someTexts, 'What must hold in merged work for the story to be done, each criterion on its own.'),
|
|
53
53
|
outOfScope: said(texts, 'What the story does not cover; empty when nothing needs saying.'),
|
|
54
54
|
path: said({ type: 'string', enum: ['plain', 'scaled-up'] }, 'The path the story takes: plain, broken into tasks each built by one builder, or scaled up with specialists for its risk.'),
|
|
55
|
-
review: said(text, "How the story's changes are reviewed, as its risk picks: Ship (joined with no review), Show (joined, then reviewed) or Ask (reviewed before it joins); and, where the operator has asked to review a change before it joins, that
|
|
55
|
+
review: said(text, "How the story's changes are reviewed, as its risk picks: Ship (joined with no code review), Show (joined, then reviewed) or Ask (reviewed before it joins); and, where the operator has asked to review a change before it joins, that hold point: the operator's review is that change's code review, under Ask, and no agent reviews it."),
|
|
56
56
|
cost: said(text, 'Roughly what the story will cost, which its effort is weighed against.'),
|
|
57
57
|
examples: exampleRefs(texts, "The story's visible examples, where misunderstanding is likely"),
|
|
58
58
|
decisions: said(texts, 'The decisions in force for the story, by their ids (e.g. `0081`).'),
|
|
@@ -60,18 +60,18 @@ const storyForm = record({
|
|
|
60
60
|
}, ['examples', 'decisions', 'contexts']);
|
|
61
61
|
const taskForm = record({
|
|
62
62
|
task: said(text, 'The task, by its name (a kebab-case id).'),
|
|
63
|
-
story: said(text, 'The story the task serves, by its name; absent for a change that alters no meaning, a task with no story.'),
|
|
64
|
-
goal: said(text, "What the task is for, in its story's terms."),
|
|
63
|
+
story: said(text, 'The user story the task serves, by its name; absent for a change that alters no meaning, a task with no story.'),
|
|
64
|
+
goal: said(text, "What the task is for, in its user story's terms."),
|
|
65
65
|
changes: said(text, 'What the task changes.'),
|
|
66
66
|
decisions: said(texts, 'The technical decisions that bind the task; empty when there are none.'),
|
|
67
67
|
done: said(text, 'What done means for the task.'),
|
|
68
68
|
}, ['story']);
|
|
69
69
|
const assignments = [
|
|
70
70
|
[
|
|
71
|
-
|
|
71
|
+
userStory,
|
|
72
72
|
{
|
|
73
73
|
anyOf: [
|
|
74
|
-
said(storyForm, 'A story.'),
|
|
74
|
+
said(storyForm, 'A user story.'),
|
|
75
75
|
said(taskForm, 'A task with no story: a change that alters no meaning.'),
|
|
76
76
|
],
|
|
77
77
|
},
|
|
@@ -81,7 +81,7 @@ const assignments = [
|
|
|
81
81
|
reviewRequest,
|
|
82
82
|
record({
|
|
83
83
|
change: said(text, 'The change to review, by its reference.'),
|
|
84
|
-
story: said(text, 'The story the change serves, by its name; absent for a task with no story.'),
|
|
84
|
+
story: said(text, 'The user story the change serves, by its name; absent for a task with no story.'),
|
|
85
85
|
acceptanceCriteria: said(texts, "The story's acceptance criteria the change is reviewed against, where they apply."),
|
|
86
86
|
examples: exampleRefs(texts, 'The examples the change is reviewed against, where they apply'),
|
|
87
87
|
}, ['story', 'acceptanceCriteria', 'examples']),
|
|
@@ -105,14 +105,14 @@ const deliverables = [
|
|
|
105
105
|
[
|
|
106
106
|
outcome,
|
|
107
107
|
said(record({
|
|
108
|
-
story: said(text, 'The story, or for a task with no story the task, by name.'),
|
|
108
|
+
story: said(text, 'The user story, or for a task with no story the task, by name.'),
|
|
109
109
|
criteria: said({
|
|
110
110
|
type: 'array',
|
|
111
111
|
minItems: 1,
|
|
112
112
|
items: record({
|
|
113
113
|
criterion: said(text, 'The acceptance criterion, as the story states it.'),
|
|
114
114
|
holds: said(flag, 'Whether the criterion holds in merged work.'),
|
|
115
|
-
evidence: said(text, "Why it holds or does not, in the design's own terms: what the review and the checks showed of the concept
|
|
115
|
+
evidence: said(text, "Why it holds or does not, in the design's own terms: what the code review and the checks showed of the concept, each file, function, path or command translated into the concept it bears on."),
|
|
116
116
|
}),
|
|
117
117
|
}, 'The acceptance criteria, or for a task with no story what done means, each with whether it holds and its evidence.'),
|
|
118
118
|
meaningQuestions,
|
|
@@ -124,8 +124,8 @@ const deliverables = [
|
|
|
124
124
|
}), 'The agent runs the harness reports for the story.'),
|
|
125
125
|
tokens: said(count, 'The tokens the runs reported, summed.'),
|
|
126
126
|
elapsed: said(text, 'The time the story took, from its start to its end.'),
|
|
127
|
-
}), 'What the story cost, as the harness records it.'),
|
|
128
|
-
}), "The lead's outcome of the story to the architect, in the design's own terms: which acceptance criteria hold with their evidence, the meaning questions it raised, the follow-ups it leaves and what it cost."),
|
|
127
|
+
}), 'What the story cost, as the agent harness records it.'),
|
|
128
|
+
}), "The lead's outcome of the user story to the architect, in the design's own terms: which acceptance criteria hold with their evidence, the meaning questions it raised, the follow-ups it leaves and what it cost."),
|
|
129
129
|
],
|
|
130
130
|
[
|
|
131
131
|
change,
|
|
@@ -136,9 +136,9 @@ const deliverables = [
|
|
|
136
136
|
}),
|
|
137
137
|
],
|
|
138
138
|
[
|
|
139
|
-
|
|
139
|
+
codeReview,
|
|
140
140
|
record({
|
|
141
|
-
verdict: said({ type: 'string', enum: ['approve', 'changes'] }, 'Whether the review approves the change or asks for changes.'),
|
|
141
|
+
verdict: said({ type: 'string', enum: ['approve', 'changes'] }, 'Whether the code review approves the change or asks for changes.'),
|
|
142
142
|
findings: said(texts, 'Each finding, naming what must change and why; empty when there is none.'),
|
|
143
143
|
meaningQuestions,
|
|
144
144
|
}),
|
package/dist/contracts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,mFAAmF;AACnF,EAAE;AACF,kFAAkF;AAClF,oFAAoF;AACpF,kEAAkE;AAClE,oFAAoF;AACpF,+EAA+E;AAC/E,EAAE;AACF,gFAAgF;AAChF,oFAAoF;AACpF,iFAAiF;AACjF,gFAAgF;AAChF,kFAAkF;AAClF,uCAAuC;AACvC,gFAAgF;AAEhF,OAAO,EAAmB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AA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CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CACjE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const integrate = `integrate ≜ join a change to the project's shared work by the project's own convention, once every check passes and any review due before it joins approves it`;
|
|
1
|
+
export const integrate = `integrate ≜ join a change to the project's shared work by the project's own convention, once every check passes and any code review due before it joins approves it`;
|
|
2
2
|
//# sourceMappingURL=integrate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrate.js","sourceRoot":"","sources":["../../../src/dimensions/action-scope/integrate.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAgB,
|
|
1
|
+
{"version":3,"file":"integrate.js","sourceRoot":"","sources":["../../../src/dimensions/action-scope/integrate.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAgB,qKAAqK,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const concepts = `concepts ≜ a story's concepts only`;
|
|
1
|
+
export const concepts = `concepts ≜ a user story's concepts only`;
|
|
2
2
|
//# sourceMappingURL=concepts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concepts.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/concepts.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAe,
|
|
1
|
+
{"version":3,"file":"concepts.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/concepts.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAe,yCAAyC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const reviewRequest = `review-request ≜ a change to review, before or after it joins as its story's risk calls for, with
|
|
1
|
+
export const reviewRequest = `review-request ≜ a change to review, before or after it joins as its user story's risk calls for, with the story's acceptance criteria and examples, held-out ones included, where they apply`;
|
|
2
2
|
//# sourceMappingURL=review-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-request.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/review-request.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAe,
|
|
1
|
+
{"version":3,"file":"review-request.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/review-request.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAe,+LAA+L,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const task = `task ≜ one change: its goal in its story's terms, what it changes, the technical decisions that bind it, and what done means`;
|
|
1
|
+
export const task = `task ≜ one change: its goal in its user story's terms, what it changes, the technical decisions that bind it, and what done means`;
|
|
2
2
|
//# sourceMappingURL=task.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/task.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAe,
|
|
1
|
+
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/task.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAe,mIAAmI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Assignment } from '../../manifest.js';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const userStory: Assignment;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const userStory = `user-story ≜ one thin slice of behaviour a user can rely on: the slice and why it is wanted, its acceptance criteria, what is out of scope, its path and whether its changes ship, show or ask, its rough cost, and examples where misunderstanding is likely; or, for a change that alters no meaning, a task with no story`;
|
|
2
|
+
//# sourceMappingURL=user-story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-story.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/user-story.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAe,8TAA8T,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const managementByException = `management-by-exception ≜ in PRINCE2's sense: work runs within its tolerance, the user story's rough cost, and a forecast past it is raised to the level above, which decides whether it goes on`;
|
|
2
|
+
//# sourceMappingURL=management-by-exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"management-by-exception.js","sourceRoot":"","sources":["../../../src/dimensions/autonomy/management-by-exception.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAa,kMAAkM,CAAC"}
|