@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
|
@@ -24,14 +24,14 @@ import { optimize } from '../dimensions/objective/optimize.js';
|
|
|
24
24
|
import { testValidity } from '../dimensions/objective/test-validity.js';
|
|
25
25
|
import { conceptJournal } from '../dimensions/perception-scope/concept-journal.js';
|
|
26
26
|
import { examples } from '../dimensions/perception-scope/examples.js';
|
|
27
|
-
import {
|
|
27
|
+
import { workProduct } from '../dimensions/perception-scope/work-product.js';
|
|
28
28
|
import { testFirst } from '../dimensions/procedure/test-first.js';
|
|
29
29
|
import { checkWriter } from '../dimensions/role/check-writer.js';
|
|
30
30
|
import { adversarial } from '../dimensions/stance/adversarial.js';
|
|
31
31
|
import { simplicity } from '../dimensions/stance/simplicity.js';
|
|
32
32
|
export const checkWriterRole = {
|
|
33
33
|
name: 'check-writer',
|
|
34
|
-
description: "Called in for a story's risk: writes the checks binding its examples, each seen failing before the build.",
|
|
34
|
+
description: "Called in for a user story's risk: writes the checks binding its examples, each seen failing before the build.",
|
|
35
35
|
mark: null,
|
|
36
36
|
values: {
|
|
37
37
|
role: [checkWriter],
|
|
@@ -57,7 +57,7 @@ export const checkWriterRole = {
|
|
|
57
57
|
{ value: input, slot: 'release' },
|
|
58
58
|
],
|
|
59
59
|
autonomy: [handoff],
|
|
60
|
-
perceptionScope: [conceptJournal, examples,
|
|
60
|
+
perceptionScope: [conceptJournal, examples, workProduct],
|
|
61
61
|
actionScope: [writeChecks, runChecks, commitOwnPaths],
|
|
62
62
|
model: [
|
|
63
63
|
{ value: frontierOtherFamily, slot: 'tier' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-writer.js","sourceRoot":"","sources":["../../src/roles/check-writer.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,uFAAuF;AAGvF,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,k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,CAAC,cAAc,EAAE,QAAQ,EAAE,WAAW,CAAC;QACxD,WAAW,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,cAAc,CAAC;QACrD,KAAK,EAAE;YACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;YAC5C,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;SAChC;QACD,MAAM,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC;QAChC,UAAU,EAAE,CAAC,cAAc,CAAC;QAC5B,WAAW,EAAE,CAAC,aAAa,CAAC;QAC5B,UAAU,EAAE,CAAC,OAAO,EAAE,gBAAgB,CAAC;QACvC,UAAU,EAAE,CAAC,KAAK,CAAC;KACpB;CACF,CAAC"}
|
|
@@ -24,7 +24,7 @@ import { coldReader } from '../dimensions/stance/cold-reader.js';
|
|
|
24
24
|
import { mece } from '../dimensions/stance/mece.js';
|
|
25
25
|
export const illustratorRole = {
|
|
26
26
|
name: 'illustrator',
|
|
27
|
-
description: "Called in for a story's risk: writes its examples cold from its concepts alone.",
|
|
27
|
+
description: "Called in for a user story's risk: writes its examples cold from its concepts alone.",
|
|
28
28
|
mark: null,
|
|
29
29
|
values: {
|
|
30
30
|
role: [illustrator],
|
|
@@ -51,7 +51,7 @@ export const illustratorRole = {
|
|
|
51
51
|
],
|
|
52
52
|
autonomy: [handoff],
|
|
53
53
|
perceptionScope: [
|
|
54
|
-
{ value: conceptJournal, note: "the story's concepts only" },
|
|
54
|
+
{ value: conceptJournal, note: "the user story's concepts only" },
|
|
55
55
|
],
|
|
56
56
|
actionScope: [writeExamples],
|
|
57
57
|
model: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"illustrator.js","sourceRoot":"","sources":["../../src/roles/illustrator.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,2EAA2E;AAG3E,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,QA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MAAM,EAAE;YAC5C,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;SAChC;QACD,MAAM,EAAE,CAAC,OAAO,CAAC;QACjB,UAAU,EAAE,CAAC,QAAQ,CAAC;QACtB,WAAW,EAAE,CAAC,wBAAwB,CAAC;QACvC,UAAU,EAAE,CAAC,OAAO,CAAC;QACrB,UAAU,EAAE,CAAC,KAAK,CAAC;KACpB;CACF,CAAC"}
|
package/dist/roles/lead.js
CHANGED
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
// tasks to builders and their changes to review as its story's risk calls for (Ship,
|
|
3
3
|
// Show or Ask), joins each change by the project's own integration, and hands over the
|
|
4
4
|
// outcome (workflow: lead; agents 0272; workflow 0267, 0268). Its values hold by scope
|
|
5
|
-
// (0250-0257): decisive on the realization it owns, waiting at the operator's
|
|
5
|
+
// (0250-0257): decisive on the realization it owns, waiting at the operator's hold points.
|
|
6
6
|
import { appendJournal } from '../dimensions/action-scope/append-journal.js';
|
|
7
7
|
import { commitOwnPaths } from '../dimensions/action-scope/commit-own-paths.js';
|
|
8
8
|
import { integrate } from '../dimensions/action-scope/integrate.js';
|
|
9
9
|
import { runChecks } from '../dimensions/action-scope/run-checks.js';
|
|
10
|
-
import {
|
|
10
|
+
import { userStory } from '../dimensions/assignment/user-story.js';
|
|
11
11
|
import { handoff } from '../dimensions/autonomy/handoff.js';
|
|
12
12
|
import { humanInTheLoop } from '../dimensions/autonomy/human-in-the-loop.js';
|
|
13
13
|
import { humanOnTheLoop } from '../dimensions/autonomy/human-on-the-loop.js';
|
|
14
|
+
import { managementByException } from '../dimensions/autonomy/management-by-exception.js';
|
|
14
15
|
import { missionCommand } from '../dimensions/autonomy/mission-command.js';
|
|
15
16
|
import { principal } from '../dimensions/autonomy/principal.js';
|
|
16
17
|
import { decisionRationale } from '../dimensions/communication-style/decision-rationale.js';
|
|
@@ -35,17 +36,17 @@ import { satisfice } from '../dimensions/objective/satisfice.js';
|
|
|
35
36
|
import { conceptJournal } from '../dimensions/perception-scope/concept-journal.js';
|
|
36
37
|
import { examples } from '../dimensions/perception-scope/examples.js';
|
|
37
38
|
import { reports } from '../dimensions/perception-scope/reports.js';
|
|
38
|
-
import {
|
|
39
|
+
import { workProduct } from '../dimensions/perception-scope/work-product.js';
|
|
39
40
|
import { orchestratorWorkers } from '../dimensions/procedure/orchestrator-workers.js';
|
|
40
41
|
import { shipShowAsk } from '../dimensions/procedure/ship-show-ask.js';
|
|
41
42
|
import { lead } from '../dimensions/role/lead.js';
|
|
42
43
|
import { decisive } from '../dimensions/stance/decisive.js';
|
|
43
|
-
import { proportionate } from '../dimensions/stance/proportionate.js';
|
|
44
44
|
import { separationOfConcerns } from '../dimensions/stance/separation-of-concerns.js';
|
|
45
45
|
import { simplicity } from '../dimensions/stance/simplicity.js';
|
|
46
|
+
import { tailoring } from '../dimensions/stance/tailoring.js';
|
|
46
47
|
export const leadRole = {
|
|
47
48
|
name: 'lead',
|
|
48
|
-
description: "Owns a story's realization, or a task with no story: orchestrates its tasks to builders and their changes to review as
|
|
49
|
+
description: "Owns a user story's realization, or a task with no story: orchestrates its tasks to builders and their changes to code review as the story's risk calls for, joins each change by the project's own integration once every check passes and any review due before it joins approves it, and hands off the story's outcome.",
|
|
49
50
|
mark: null,
|
|
50
51
|
values: {
|
|
51
52
|
role: [lead],
|
|
@@ -57,22 +58,14 @@ export const leadRole = {
|
|
|
57
58
|
procedure: [
|
|
58
59
|
{
|
|
59
60
|
value: orchestratorWorkers,
|
|
60
|
-
note: 'how a story is split into tasks and how many builders it takes being its own; its plan read-back
|
|
61
|
+
note: 'how a user story is split into tasks and how many builders it takes being its own; its plan read-back a hold point, which a task with no story skips unless the operator calls it',
|
|
61
62
|
},
|
|
62
63
|
{
|
|
63
64
|
value: shipShowAsk,
|
|
64
|
-
note:
|
|
65
|
+
note: "the user story states which its risk picks, and for a task with no story it picks by risk; where the operator has asked to review a change before it joins, the operator's review is that change's code review, and the change joins on the operator's sign-off, a hold point it holds",
|
|
65
66
|
},
|
|
66
67
|
],
|
|
67
|
-
stance: [
|
|
68
|
-
{
|
|
69
|
-
value: decisive,
|
|
70
|
-
note: 'on the decisions it owns; at a gate its reply ends with the sign-off it waits on',
|
|
71
|
-
},
|
|
72
|
-
proportionate,
|
|
73
|
-
separationOfConcerns,
|
|
74
|
-
simplicity,
|
|
75
|
-
],
|
|
68
|
+
stance: [decisive, tailoring, separationOfConcerns, simplicity],
|
|
76
69
|
communicationStyle: [
|
|
77
70
|
{ value: plain, slot: 'register' },
|
|
78
71
|
{ value: maintenance, slot: 'density' },
|
|
@@ -89,27 +82,28 @@ export const leadRole = {
|
|
|
89
82
|
{
|
|
90
83
|
value: recommends,
|
|
91
84
|
slot: 'sign-off',
|
|
92
|
-
note: 'puts its
|
|
85
|
+
note: 'puts its handoffs up for it; takes it only where delegation of authority grants it',
|
|
93
86
|
},
|
|
94
87
|
],
|
|
95
88
|
autonomy: [
|
|
96
89
|
{ value: principal, note: 'in realization' },
|
|
97
|
-
{ value: humanInTheLoop, note: "at the operator's
|
|
90
|
+
{ value: humanInTheLoop, note: "at the operator's hold points" },
|
|
98
91
|
{
|
|
99
92
|
value: humanOnTheLoop,
|
|
100
|
-
note: 'between
|
|
93
|
+
note: 'between hold points, and at one whose sign-off delegation of authority grants it',
|
|
101
94
|
},
|
|
102
|
-
{ value: missionCommand, note: 'between
|
|
95
|
+
{ value: missionCommand, note: 'between hold points' },
|
|
96
|
+
managementByException,
|
|
103
97
|
handoff,
|
|
104
98
|
],
|
|
105
|
-
perceptionScope: [conceptJournal, examples, reports,
|
|
99
|
+
perceptionScope: [conceptJournal, examples, reports, workProduct],
|
|
106
100
|
actionScope: [integrate, commitOwnPaths, runChecks, appendJournal],
|
|
107
101
|
model: [
|
|
108
102
|
{ value: frontier, slot: 'tier' },
|
|
109
103
|
{ value: high, slot: 'effort' },
|
|
110
104
|
],
|
|
111
105
|
memory: [sourceOfTruth, working],
|
|
112
|
-
assignment: [
|
|
106
|
+
assignment: [userStory],
|
|
113
107
|
deliverable: [outcome],
|
|
114
108
|
guardrails: [honesty, scopeOfAuthority, fixedAcceptanceCriteria],
|
|
115
109
|
evaluation: [inUse],
|
package/dist/roles/lead.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lead.js","sourceRoot":"","sources":["../../src/roles/lead.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,qFAAqF;AACrF,uFAAuF;AACvF,uFAAuF;AACvF,
|
|
1
|
+
{"version":3,"file":"lead.js","sourceRoot":"","sources":["../../src/roles/lead.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,qFAAqF;AACrF,uFAAuF;AACvF,uFAAuF;AACvF,2FAA2F;AAG3F,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AAC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C,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC;gBACE,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,oFAAoF;aAC3F;SACF;QACD,QAAQ,EAAE;YACR,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE;YAC5C,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,+BAA+B,EAAE;YAChE;gBACE,KAAK,EAAE,cAAc;gBACrB,IAAI,EAAE,kFAAkF;aACzF;YACD,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,qBAAqB,EAAE;YACtD,qBAAqB;YACrB,OAAO;SACR;QACD,eAAe,EAAE,CAAC,cAAc,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC;QACjE,WAAW,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,CAAC;QAClE,KAAK,EAAE;YACL,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;YACjC,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;SAChC;QACD,MAAM,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC;QAChC,UAAU,EAAE,CAAC,SAAS,CAAC;QACvB,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,UAAU,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,CAAC;QAChE,UAAU,EAAE,CAAC,KAAK,CAAC;KACpB;CACF,CAAC"}
|
package/dist/roles/reviewer.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// The reviewer role: reviews one change it did not write, before or after it joins as
|
|
2
|
-
// its story's risk calls for, and hands over one review
|
|
3
|
-
// the work
|
|
2
|
+
// its story's risk calls for, and hands over one review naming each finding; builders
|
|
3
|
+
// build and repair the work, and a change the operator has asked to review is the
|
|
4
|
+
// operator's to review (workflow: reviewer; agents 0272; workflow 0267, 0292). It
|
|
4
5
|
// runs on another model family than the builders where one is available (0225, 0244),
|
|
5
6
|
// and takes held-out examples directly from where the architect keeps them (0254).
|
|
6
7
|
import { none } from '../dimensions/action-scope/none.js';
|
|
@@ -12,7 +13,7 @@ import { maintenance } from '../dimensions/communication-style/maintenance.js';
|
|
|
12
13
|
import { plain } from '../dimensions/communication-style/plain.js';
|
|
13
14
|
import { decides } from '../dimensions/decision-rights/decides.js';
|
|
14
15
|
import { input } from '../dimensions/decision-rights/input.js';
|
|
15
|
-
import {
|
|
16
|
+
import { codeReview as deliverableCodeReview } from '../dimensions/deliverable/code-review.js';
|
|
16
17
|
import { inUse } from '../dimensions/evaluation/in-use.js';
|
|
17
18
|
import { softwareEngineering } from '../dimensions/expertise/software-engineering.js';
|
|
18
19
|
import { testDesign } from '../dimensions/expertise/test-design.js';
|
|
@@ -28,7 +29,7 @@ import { reviewAccuracy } from '../dimensions/objective/review-accuracy.js';
|
|
|
28
29
|
import { conceptJournal } from '../dimensions/perception-scope/concept-journal.js';
|
|
29
30
|
import { examples } from '../dimensions/perception-scope/examples.js';
|
|
30
31
|
import { heldOutExamples } from '../dimensions/perception-scope/held-out-examples.js';
|
|
31
|
-
import {
|
|
32
|
+
import { workProduct } from '../dimensions/perception-scope/work-product.js';
|
|
32
33
|
import { codeReview } from '../dimensions/procedure/code-review.js';
|
|
33
34
|
import { reviewer } from '../dimensions/role/reviewer.js';
|
|
34
35
|
import { adversarial } from '../dimensions/stance/adversarial.js';
|
|
@@ -36,7 +37,7 @@ import { impartial } from '../dimensions/stance/impartial.js';
|
|
|
36
37
|
import { trustButVerify } from '../dimensions/stance/trust-but-verify.js';
|
|
37
38
|
export const reviewerRole = {
|
|
38
39
|
name: 'reviewer',
|
|
39
|
-
description:
|
|
40
|
+
description: "Reviews one change it did not write, before or after it joins, and hands off one code review naming each finding; a change the operator has asked to review is the operator's to review.",
|
|
40
41
|
mark: null,
|
|
41
42
|
values: {
|
|
42
43
|
role: [reviewer],
|
|
@@ -61,15 +62,15 @@ export const reviewerRole = {
|
|
|
61
62
|
{ value: decides, slot: 'verdict' },
|
|
62
63
|
{ value: input, slot: 'release' },
|
|
63
64
|
],
|
|
64
|
-
autonomy: [{ value: principal, note: 'in its review' }, handoff],
|
|
65
|
+
autonomy: [{ value: principal, note: 'in its code review' }, handoff],
|
|
65
66
|
perceptionScope: [
|
|
66
67
|
conceptJournal,
|
|
67
68
|
examples,
|
|
68
69
|
{
|
|
69
70
|
value: heldOutExamples,
|
|
70
|
-
note: 'taken directly from design/held-out
|
|
71
|
+
note: 'taken directly from design/held-out/',
|
|
71
72
|
},
|
|
72
|
-
|
|
73
|
+
workProduct,
|
|
73
74
|
],
|
|
74
75
|
actionScope: [none],
|
|
75
76
|
model: [
|
|
@@ -80,10 +81,10 @@ export const reviewerRole = {
|
|
|
80
81
|
assignment: [
|
|
81
82
|
{
|
|
82
83
|
value: reviewRequest,
|
|
83
|
-
note: 'its held-out examples taken directly from design/held-out
|
|
84
|
+
note: 'its held-out examples taken directly from design/held-out/',
|
|
84
85
|
},
|
|
85
86
|
],
|
|
86
|
-
deliverable: [
|
|
87
|
+
deliverable: [deliverableCodeReview],
|
|
87
88
|
guardrails: [honesty, noImplementation, neverRepairs],
|
|
88
89
|
evaluation: [inUse],
|
|
89
90
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewer.js","sourceRoot":"","sources":["../../src/roles/reviewer.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,
|
|
1
|
+
{"version":3,"file":"reviewer.js","sourceRoot":"","sources":["../../src/roles/reviewer.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,sFAAsF;AACtF,kFAAkF;AAClF,kFAAkF;AAClF,sFAAsF;AACtF,mFAAmF;AAGnF,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC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EAAE,YAAY,EAAE;YACpC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE;YACrC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YACnC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;SAClC;QACD,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,oBAAoB,EAAE,EAAE,OAAO,CAAC;QACrE,eAAe,EAAE;YACf,cAAc;YACd,QAAQ;YACR;gBACE,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE,sCAAsC;aAC7C;YACD,WAAW;SACZ;QACD,WAAW,EAAE,CAAC,IAAI,CAAC;QACnB,KAAK,EAAE;YACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;YAC5C,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE;SACjC;QACD,MAAM,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC;QAChC,UAAU,EAAE;YACV;gBACE,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,4DAA4D;aACnE;SACF;QACD,WAAW,EAAE,CAAC,qBAAqB,CAAC;QACpC,UAAU,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,CAAC;QACrD,UAAU,EAAE,CAAC,KAAK,CAAC;KACpB;CACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** Commit discipline: what goes in a commit, and when to make one. */
|
|
2
|
+
export const commitDiscipline = {
|
|
3
|
+
name: 'commit-discipline',
|
|
4
|
+
description: 'Commit only the paths you changed, at natural boundaries, adding to the shared history.',
|
|
5
|
+
rules: [
|
|
6
|
+
{
|
|
7
|
+
name: 'commit-discipline-own-paths',
|
|
8
|
+
description: 'Stage and commit the paths you changed, by name.',
|
|
9
|
+
convention: 'Stage and commit the paths you changed yourself, naming each one, and leave every other change in the working tree as it is.',
|
|
10
|
+
why: 'The working tree may hold other people’s work in progress; naming your own paths keeps each commit to exactly the change it describes.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'commit-discipline-natural-boundaries',
|
|
14
|
+
description: 'Commit each coherent step once it is done and its checks pass.',
|
|
15
|
+
convention: 'Commit at each natural boundary — a coherent step finished and its checks passing — as you go, without waiting to be asked.',
|
|
16
|
+
why: 'Each commit is then one reviewable, revertable step, and finished work is never held only in a working tree.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'commit-discipline-shared-history',
|
|
20
|
+
description: 'Add new commits to shared history; published commits stay as they are.',
|
|
21
|
+
convention: 'Add to the shared history with new commits, and keep the commits others have already received as they are.',
|
|
22
|
+
why: 'Everyone working from the shared history can rely on what they have pulled; rewriting it breaks their clones and loses the record.',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=commit-discipline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commit-discipline.js","sourceRoot":"","sources":["../../src/rules/commit-discipline.ts"],"names":[],"mappings":"AAEA,sEAAsE;AACtE,MAAM,CAAC,MAAM,gBAAgB,GAAY;IACvC,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,yFAAyF;IAC3F,KAAK,EAAE;QACL;YACE,IAAI,EAAE,6BAA6B;YACnC,WAAW,EAAE,kDAAkD;YAC/D,UAAU,EACR,8HAA8H;YAChI,GAAG,EAAE,wIAAwI;SAC9I;QACD;YACE,IAAI,EAAE,sCAAsC;YAC5C,WAAW,EACT,gEAAgE;YAClE,UAAU,EACR,6HAA6H;YAC/H,GAAG,EAAE,8GAA8G;SACpH;QACD;YACE,IAAI,EAAE,kCAAkC;YACxC,WAAW,EACT,wEAAwE;YAC1E,UAAU,EACR,4GAA4G;YAC9G,GAAG,EAAE,oIAAoI;SAC1I;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** Conventional Commits 1.0.0, as published at conventionalcommits.org. */
|
|
2
|
+
export const conventionalCommits = {
|
|
3
|
+
name: 'conventional-commits',
|
|
4
|
+
description: 'Conventional Commits 1.0.0: a typed, optionally scoped commit header, with breaking changes marked.',
|
|
5
|
+
rules: [
|
|
6
|
+
{
|
|
7
|
+
name: 'conventional-commits-structure',
|
|
8
|
+
description: 'A commit message is a typed header, then an optional body and footers.',
|
|
9
|
+
convention: 'Structure every commit message as `<type>[optional scope]: <description>`, then optionally a body after one blank line, then optionally one or more footers after one blank line. The description follows the colon and space directly and summarises the change.',
|
|
10
|
+
why: 'A structured history can be read by people and parsed by tools: changelogs and the next version number are derived from it.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'conventional-commits-types',
|
|
14
|
+
description: 'feat adds a feature, fix patches a bug; other types are allowed.',
|
|
15
|
+
convention: 'Use the type `feat` for a commit that adds a feature (it correlates with a MINOR version) and `fix` for one that fixes a bug (it correlates with a PATCH version). Other types, such as `build`, `chore`, `ci`, `docs`, `style`, `refactor`, `perf` and `test`, describe changes that are neither.',
|
|
16
|
+
why: 'The type says what kind of change a commit is, which is what decides how it affects the version and where it belongs in a changelog.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'conventional-commits-scope',
|
|
20
|
+
description: 'A scope names the section of the codebase, in parentheses.',
|
|
21
|
+
convention: 'A scope may follow the type: a noun in parentheses naming the section of the codebase the commit changes, such as `fix(parser):`.',
|
|
22
|
+
why: 'It locates the change at a glance and lets history be filtered by area.',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'conventional-commits-breaking-changes',
|
|
26
|
+
description: 'Mark a breaking change with ! or a BREAKING CHANGE footer.',
|
|
27
|
+
convention: 'Mark a commit that breaks the API with `!` immediately before the colon, `feat(api)!: …`, or with a footer `BREAKING CHANGE: <description>`, or both. Where `!` marks it and no `BREAKING CHANGE` footer is given, the commit description describes the breaking change. A breaking change correlates with a MAJOR version, whatever its type.',
|
|
28
|
+
why: 'Consumers and release tooling learn from the commit itself that upgrading needs their attention.',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'conventional-commits-footers',
|
|
32
|
+
description: 'Footers are git trailers: a token, then ": " or " #", then a value.',
|
|
33
|
+
convention: 'Write each footer as a token, then `: ` or ` #`, then a value, in the manner of git trailers, such as `Reviewed-by: Z` or `Refs #133`. A token uses `-` in place of spaces; `BREAKING CHANGE` is the one token written with a space, and `BREAKING-CHANGE` means the same.',
|
|
34
|
+
why: 'Footers in the git trailer form are parsed by git and by release tooling alike.',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=conventional-commits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conventional-commits.js","sourceRoot":"","sources":["../../src/rules/conventional-commits.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,MAAM,CAAC,MAAM,mBAAmB,GAAY;IAC1C,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,qGAAqG;IACvG,KAAK,EAAE;QACL;YACE,IAAI,EAAE,gCAAgC;YACtC,WAAW,EACT,wEAAwE;YAC1E,UAAU,EACR,mQAAmQ;YACrQ,GAAG,EAAE,6HAA6H;SACnI;QACD;YACE,IAAI,EAAE,4BAA4B;YAClC,WAAW,EACT,kEAAkE;YACpE,UAAU,EACR,oSAAoS;YACtS,GAAG,EAAE,sIAAsI;SAC5I;QACD;YACE,IAAI,EAAE,4BAA4B;YAClC,WAAW,EAAE,4DAA4D;YACzE,UAAU,EACR,mIAAmI;YACrI,GAAG,EAAE,yEAAyE;SAC/E;QACD;YACE,IAAI,EAAE,uCAAuC;YAC7C,WAAW,EAAE,4DAA4D;YACzE,UAAU,EACR,gVAAgV;YAClV,GAAG,EAAE,kGAAkG;SACxG;QACD;YACE,IAAI,EAAE,8BAA8B;YACpC,WAAW,EACT,qEAAqE;YACvE,UAAU,EACR,4QAA4Q;YAC9Q,GAAG,EAAE,iFAAiF;SACvF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Established libraries: a well-known problem is solved by a library already solving it. */
|
|
2
|
+
export const establishedLibraries = {
|
|
3
|
+
name: 'established-libraries',
|
|
4
|
+
description: 'For a well-known problem, use a maintained, widely used open library with a small API, behind your own interface.',
|
|
5
|
+
rules: [
|
|
6
|
+
{
|
|
7
|
+
name: 'established-libraries-first',
|
|
8
|
+
description: 'Use a maintained, widely used open library with a small API before writing your own.',
|
|
9
|
+
convention: 'For a well-known problem, use an actively maintained, widely used open library with a small API before writing your own solution.',
|
|
10
|
+
why: 'Such a library already handles the edge cases its many users have met, and its maintainers keep fixing it; bespoke code leaves all of that to you.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'established-libraries-wrapped',
|
|
14
|
+
description: 'Wrap the library behind the project’s own interface.',
|
|
15
|
+
convention: 'Wrap the library behind the project’s own interface, and have the rest of the code use that interface.',
|
|
16
|
+
why: 'The project then learns one small API of its own, and replacing or upgrading the library changes one place.',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=established-libraries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"established-libraries.js","sourceRoot":"","sources":["../../src/rules/established-libraries.ts"],"names":[],"mappings":"AAEA,6FAA6F;AAC7F,MAAM,CAAC,MAAM,oBAAoB,GAAY;IAC3C,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,mHAAmH;IACrH,KAAK,EAAE;QACL;YACE,IAAI,EAAE,6BAA6B;YACnC,WAAW,EACT,sFAAsF;YACxF,UAAU,EACR,mIAAmI;YACrI,GAAG,EAAE,oJAAoJ;SAC1J;QACD;YACE,IAAI,EAAE,+BAA+B;YACrC,WAAW,EAAE,sDAAsD;YACnE,UAAU,EACR,wGAAwG;YAC1G,GAAG,EAAE,6GAA6G;SACnH;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Git flow, as Vincent Driessen published it in "A successful Git branching model". */
|
|
2
|
+
export const gitflow = {
|
|
3
|
+
name: 'gitflow',
|
|
4
|
+
description: 'Git flow: develop and main, with feature, release and hotfix branches, features merged into develop with --no-ff.',
|
|
5
|
+
rules: [
|
|
6
|
+
{
|
|
7
|
+
name: 'gitflow-main-and-develop',
|
|
8
|
+
description: 'main holds released states; develop is the integration line.',
|
|
9
|
+
convention: 'The repository keeps two long-lived branches. `main` holds production-ready state: every commit on it is a release, tagged with its version. `develop` holds the latest delivered development changes for the next release, and is where every feature is integrated.',
|
|
10
|
+
why: 'main then always shows exactly what is released, and develop always shows what the next release will be, so neither has to be reconstructed from history.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'gitflow-feature-branches',
|
|
14
|
+
description: 'Feature branches branch from develop and merge back into it with --no-ff.',
|
|
15
|
+
convention: 'Develop each feature on its own branch, branched from `develop` and named for the feature. When the feature is finished, merge it back into `develop` with `git merge --no-ff`, then delete the feature branch. Feature branches interact with `develop` only.',
|
|
16
|
+
why: '`--no-ff` always makes a merge commit, so the feature stays visible in history as one group of commits and can be reverted whole; work in progress stays off develop until it is finished.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'gitflow-release-branches',
|
|
20
|
+
description: 'Release branches branch from develop, then merge into main (tagged) and back into develop.',
|
|
21
|
+
convention: 'When `develop` holds what the next release should contain, branch `release-<version>` from it and give the release its version number there. The release branch takes only bug fixes, the version bump and release metadata. To finish it, merge it into `main` with `--no-ff`, tag that merge commit with the version, merge it back into `develop` with `--no-ff`, and delete it.',
|
|
22
|
+
why: 'The release is prepared and stabilised on its own branch while develop goes on taking features for the release after it; merging back into develop keeps the release fixes there too.',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'gitflow-hotfix-branches',
|
|
26
|
+
description: 'Hotfix branches branch from main, then merge into main (tagged) and into develop.',
|
|
27
|
+
convention: 'To fix a critical bug in a released version, branch `hotfix-<version>` from the tag on `main`, bump the patch version and fix the bug there. To finish it, merge it into `main` with `--no-ff` and tag that merge commit with the new version, then merge it into `develop` with `--no-ff` (or into the current release branch, where one exists), and delete it.',
|
|
28
|
+
why: 'The fix ships from the released state without taking the unreleased work on develop, and merging it back keeps the fix in every later release.',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=gitflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitflow.js","sourceRoot":"","sources":["../../src/rules/gitflow.ts"],"names":[],"mappings":"AAEA,wFAAwF;AACxF,MAAM,CAAC,MAAM,OAAO,GAAY;IAC9B,IAAI,EAAE,SAAS;IACf,WAAW,EACT,mHAAmH;IACrH,KAAK,EAAE;QACL;YACE,IAAI,EAAE,0BAA0B;YAChC,WAAW,EACT,8DAA8D;YAChE,UAAU,EACR,uQAAuQ;YACzQ,GAAG,EAAE,2JAA2J;SACjK;QACD;YACE,IAAI,EAAE,0BAA0B;YAChC,WAAW,EACT,2EAA2E;YAC7E,UAAU,EACR,gQAAgQ;YAClQ,GAAG,EAAE,4LAA4L;SAClM;QACD;YACE,IAAI,EAAE,0BAA0B;YAChC,WAAW,EACT,4FAA4F;YAC9F,UAAU,EACR,qXAAqX;YACvX,GAAG,EAAE,uLAAuL;SAC7L;QACD;YACE,IAAI,EAAE,yBAAyB;YAC/B,WAAW,EACT,mFAAmF;YACrF,UAAU,EACR,mWAAmW;YACrW,GAAG,EAAE,gJAAgJ;SACtJ;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Green field: work proceeds from what is declared, not from what happens to exist. */
|
|
2
|
+
export const greenField = {
|
|
3
|
+
name: 'green-field',
|
|
4
|
+
description: 'Existing code and docs constrain work only where explicitly declared; compatibility is a goal only where declared.',
|
|
5
|
+
rules: [
|
|
6
|
+
{
|
|
7
|
+
name: 'green-field-declared-constraints',
|
|
8
|
+
description: 'Existing code and docs constrain work only where explicitly declared.',
|
|
9
|
+
convention: 'Treat existing code, records and docs as constraints only where a constraint is explicitly declared; everywhere else, shape the work by what it is for.',
|
|
10
|
+
why: 'What happens to exist is history, not requirement; reading it as a constraint carries its accidents into every new piece of work.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'green-field-clean-cutover',
|
|
14
|
+
description: 'Compatibility is a goal only where it is declared.',
|
|
15
|
+
convention: 'Make the change the work calls for and migrate every caller with it, removing what it makes obsolete; keep compatibility with earlier forms only where it is declared a goal.',
|
|
16
|
+
why: 'Each shim or alias kept by default is a second way to do one thing that every later reader must understand; a clean cutover leaves one.',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=green-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"green-field.js","sourceRoot":"","sources":["../../src/rules/green-field.ts"],"names":[],"mappings":"AAEA,wFAAwF;AACxF,MAAM,CAAC,MAAM,UAAU,GAAY;IACjC,IAAI,EAAE,aAAa;IACnB,WAAW,EACT,oHAAoH;IACtH,KAAK,EAAE;QACL;YACE,IAAI,EAAE,kCAAkC;YACxC,WAAW,EACT,uEAAuE;YACzE,UAAU,EACR,yJAAyJ;YAC3J,GAAG,EAAE,mIAAmI;SACzI;QACD;YACE,IAAI,EAAE,2BAA2B;YACjC,WAAW,EAAE,oDAAoD;YACjE,UAAU,EACR,+KAA+K;YACjL,GAAG,EAAE,yIAAyI;SAC/I;KACF;CACF,CAAC"}
|
package/dist/rulesets.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
// The corpus's rulesets: standard working conventions an install offers, each
|
|
3
|
+
// whole, rule by rule, or not at all.
|
|
4
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
5
|
+
import { commitDiscipline } from './rules/commit-discipline.js';
|
|
6
|
+
import { conventionalCommits } from './rules/conventional-commits.js';
|
|
7
|
+
import { establishedLibraries } from './rules/established-libraries.js';
|
|
8
|
+
import { gitflow } from './rules/gitflow.js';
|
|
9
|
+
import { greenField } from './rules/green-field.js';
|
|
10
|
+
export const RULESETS = [
|
|
11
|
+
gitflow,
|
|
12
|
+
conventionalCommits,
|
|
13
|
+
commitDiscipline,
|
|
14
|
+
establishedLibraries,
|
|
15
|
+
greenField,
|
|
16
|
+
];
|
|
17
|
+
//# sourceMappingURL=rulesets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rulesets.js","sourceRoot":"","sources":["../src/rulesets.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,8EAA8E;AAC9E,sCAAsC;AACtC,gFAAgF;AAGhF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,MAAM,CAAC,MAAM,QAAQ,GAAuB;IAC1C,OAAO;IACP,mBAAmB;IACnB,gBAAgB;IAChB,oBAAoB;IACpB,UAAU;CACX,CAAC"}
|
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
// signification cells each claimed to be composed from the other three, and no one of
|
|
8
8
|
// them could be read, taken or deployed alone.
|
|
9
9
|
//
|
|
10
|
-
// The relation those edges named is CITATION, not dependency:
|
|
11
|
-
//
|
|
12
|
-
// (prose here, signature there), which is what a REFERENCE row means. A citation
|
|
10
|
+
// The relation those edges named is CITATION, not dependency: these cells RESTATE each
|
|
11
|
+
// other's signs in different registers (prose here, signature there). A citation
|
|
13
12
|
// belongs inside the block, at the sign that borrows it (`@ <cell>`), where it needs
|
|
14
13
|
// no import and cannot cycle. Composition is the caller's: an agent pipes these cells
|
|
15
14
|
// in whatever order the work wants.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/conceptualize/skill.ts"],"names":[],"mappings":"AAEA,4CAA4C;AAC5C,EAAE;AACF,oGAAoG;AACpG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/conceptualize/skill.ts"],"names":[],"mappings":"AAEA,4CAA4C;AAC5C,EAAE;AACF,oGAAoG;AACpG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,uFAAuF;AACvF,iFAAiF;AACjF,qFAAqF;AACrF,sFAAsF;AACtF,oCAAoC;AAEpC,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,kLAAkL;IAC/L,WAAW,EACT;;;;;;;;;;;;;;;;;;;;;;;;sBAwBqC;IACvC,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;CACtB,CAAC"}
|
|
@@ -18,7 +18,7 @@ slots ≜ exactly one value per named slot(o) ⟨in slot order⟩
|
|
|
18
18
|
attribute ≜ no field on A ⟨its values are attributes of the values A holds⟩
|
|
19
19
|
projection : O → { text, binding }
|
|
20
20
|
text ≜ rendered into A's Target ⟨\`##\` group(o) · \`###\` o · one line per entry⟩
|
|
21
|
-
binding ≜ never text ⟨compiled to the harness's tool · dispatch · model-role settings⟩
|
|
21
|
+
binding ≜ never text ⟨compiled to the agent harness's tool · dispatch · model-role settings⟩
|
|
22
22
|
level ≜ the enforcement-level factor's values { advisory, firm, fixed } ⟨arity attribute⟩
|
|
23
23
|
default(o) ≜ o's level @ catalog ⟨∅ ⇒ none applies⟩
|
|
24
24
|
entry(o, v) ≜ ⟨ v, level, slot ⟨arity slots⟩, note ⟨a qualifier the design states⟩ ⟩
|
|
@@ -13,7 +13,7 @@ block ≜ the self-sufficient set-builder block @ formalize : declarat
|
|
|
13
13
|
xref ≜ a sibling ∨ corpus concept, cited once by its bare name ⟨a core agent dimension name or value by its σ* anchor · any other term as the industry's own⟩
|
|
14
14
|
gate ∈ { schema, references, fences, symbols, verbatim-ref-free, operative, provenance } ⟨corpus-scoped : symbols · self-sufficiency span all cells⟩
|
|
15
15
|
verify ≜ the FULL corpus suite (\`pnpm test\`) as the shard-completion gate : per-cell PASS ≠ corpus PASS ∴ run the whole suite, ¬ the cell's own targeted check alone
|
|
16
|
-
green ≜ ∀ gate PASS reached by fixing → the
|
|
16
|
+
green ≜ ∀ gate PASS reached by fixing → the sign of SMALLER residue in its context ⟨declare the glyph of smallest residue in its context in T · ∨ resolve it to its decodable word⟩, never by degrading the sign to appease a gate ⟨gate = decodability registry, ¬ expression cap⟩
|
|
17
17
|
|
|
18
18
|
self-sufficient(block) ⇔ every term defined in-cell ∧ only live siblings named in prose, never restated
|
|
19
19
|
∀ glyph ∈ fences(cell) : glyph ∈ symbol-table ∪ definienda(cell) ∪ exemptions(Greek · subscript · box-drawing · em-dash)
|
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
// signification cells each claimed to be composed from the other three, and no one of
|
|
8
8
|
// them could be read, taken or deployed alone.
|
|
9
9
|
//
|
|
10
|
-
// The relation those edges named is CITATION, not dependency:
|
|
11
|
-
//
|
|
12
|
-
// (prose here, signature there), which is what a REFERENCE row means. A citation
|
|
10
|
+
// The relation those edges named is CITATION, not dependency: these cells RESTATE each
|
|
11
|
+
// other's signs in different registers (prose here, signature there). A citation
|
|
13
12
|
// belongs inside the block, at the sign that borrows it (`@ <cell>`), where it needs
|
|
14
13
|
// no import and cannot cycle. Composition is the caller's: an agent pipes these cells
|
|
15
14
|
// in whatever order the work wants.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/elicit/skill.ts"],"names":[],"mappings":"AAEA,4CAA4C;AAC5C,EAAE;AACF,kGAAkG;AAClG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/elicit/skill.ts"],"names":[],"mappings":"AAEA,4CAA4C;AAC5C,EAAE;AACF,kGAAkG;AAClG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,uFAAuF;AACvF,iFAAiF;AACjF,qFAAqF;AACrF,sFAAsF;AACtF,oCAAoC;AAEpC,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,ofAAof;IACjgB,WAAW,EAAE;;;;;;;;;;;;;;;;oGAgBwG;IACrH,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;CACtB,CAAC"}
|
|
@@ -8,9 +8,8 @@ import { primePrinciple } from '../../genus/prime-principle.js';
|
|
|
8
8
|
// signification cells each claimed to be composed from the other three, and no one of
|
|
9
9
|
// them could be read, taken or deployed alone.
|
|
10
10
|
//
|
|
11
|
-
// The relation those edges named is CITATION, not dependency:
|
|
12
|
-
//
|
|
13
|
-
// (prose here, signature there), which is what a REFERENCE row means. A citation
|
|
11
|
+
// The relation those edges named is CITATION, not dependency: these cells RESTATE each
|
|
12
|
+
// other's signs in different registers (prose here, signature there). A citation
|
|
14
13
|
// belongs inside the block, at the sign that borrows it (`@ <cell>`), where it needs
|
|
15
14
|
// no import and cannot cycle. Composition is the caller's: an agent pipes these cells
|
|
16
15
|
// in whatever order the work wants.
|
|
@@ -21,7 +20,7 @@ produce : sources → concept-record @ conceptualize
|
|
|
21
20
|
name : concept-record → concept-record @ signify ⟨a core name or value takes its σ* anchor · any other term keeps the industry's own⟩
|
|
22
21
|
realize : concept-record → concept-record @ materialize
|
|
23
22
|
REC : concept-record → concept-record @ materialize
|
|
24
|
-
R_cold(f) ≜ the isolated cold-blind decode of fragment f (a naive reader, zero project-K,
|
|
23
|
+
R_cold(f) ≜ the isolated cold-blind decode of fragment f (a naive reader, zero project-K, given f's signifiers + inline ≜ with its bounded context's name and subject, nothing of intent(f))
|
|
25
24
|
body(k) ≜ cell k's authored surface ⟨front-matter excluded⟩
|
|
26
25
|
decode_warm(f | K) ≜ fragment f's warm decode, reader free to consult K
|
|
27
26
|
K ≜ project-K, the warm knowledge (project corpus) a reader already holds
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/exemplify/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,4CAA4C;AAC5C,EAAE;AACF,wGAAwG;AACxG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/exemplify/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,4CAA4C;AAC5C,EAAE;AACF,wGAAwG;AACxG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,uFAAuF;AACvF,iFAAiF;AACjF,qFAAqF;AACrF,sFAAsF;AACtF,oCAAoC;AAEpC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAgC2B,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,mRAAmR;IAChS,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;IACrB,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|