@cratylus/canon 0.1.0 → 0.1.2
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/dist/agents/mav.js +17 -26
- package/dist/agents/mav.js.map +1 -1
- package/dist/agents/nico.js +10 -6
- package/dist/agents/nico.js.map +1 -1
- package/dist/dimensions/formality/casual.js +1 -1
- package/dist/dimensions/formality/casual.js.map +1 -1
- package/dist/dimensions/formality/expansive.js +1 -1
- package/dist/dimensions/formality/expansive.js.map +1 -1
- package/dist/dimensions/formality/formal.js +1 -1
- package/dist/dimensions/formality/formal.js.map +1 -1
- package/dist/dimensions/formality/neutral.js +1 -1
- package/dist/dimensions/formality/neutral.js.map +1 -1
- package/dist/dimensions/formality/plain.d.ts +2 -0
- package/dist/dimensions/formality/plain.js +18 -0
- package/dist/dimensions/formality/plain.js.map +1 -0
- package/dist/dimensions/memory/long-term-memory.js +8 -1
- package/dist/dimensions/memory/long-term-memory.js.map +1 -1
- package/dist/genus/founding-doctrine.d.ts +2 -2
- package/dist/genus/founding-doctrine.js +3 -31
- package/dist/genus/founding-doctrine.js.map +1 -1
- package/dist/hook-cells.js +0 -4
- package/dist/hook-cells.js.map +1 -1
- package/dist/hooks/praxis-continuity.js +4 -3
- package/dist/hooks/praxis-continuity.js.map +1 -1
- package/dist/hooks/stance-guardrail-pre.js +1 -1
- package/dist/hooks/stance-guardrail.js +13 -12
- package/dist/hooks/stance-guardrail.js.map +1 -1
- package/dist/rules/repo-preamble.js +6 -20
- package/dist/rules/repo-preamble.js.map +1 -1
- package/dist/skills/carry-on/skill.js +40 -45
- package/dist/skills/carry-on/skill.js.map +1 -1
- package/dist/skills/conceptualize/skill.js +16 -4
- package/dist/skills/conceptualize/skill.js.map +1 -1
- package/dist/skills/elicit/skill.js +16 -4
- package/dist/skills/elicit/skill.js.map +1 -1
- package/dist/skills/event-tap/skill.js +9 -2
- package/dist/skills/event-tap/skill.js.map +1 -1
- package/dist/skills/exemplify/skill.js +16 -4
- package/dist/skills/exemplify/skill.js.map +1 -1
- package/dist/skills/introspect/skill.js +6 -2
- package/dist/skills/introspect/skill.js.map +1 -1
- package/dist/skills/materialize/skill.js +16 -4
- package/dist/skills/materialize/skill.js.map +1 -1
- package/dist/skills/praxis/skill.js +5 -8
- package/dist/skills/praxis/skill.js.map +1 -1
- package/dist/skills/probe/skill.js +16 -4
- package/dist/skills/probe/skill.js.map +1 -1
- package/dist/skills/signify/skill.js +16 -4
- package/dist/skills/signify/skill.js.map +1 -1
- package/package.json +7 -7
- package/dist/agents/arch-doc-writer.d.ts +0 -2
- package/dist/agents/arch-doc-writer.js +0 -54
- package/dist/agents/arch-doc-writer.js.map +0 -1
- package/dist/agents/boz.d.ts +0 -2
- package/dist/agents/boz.js +0 -59
- package/dist/agents/boz.js.map +0 -1
- package/dist/agents/developer.d.ts +0 -2
- package/dist/agents/developer.js +0 -53
- package/dist/agents/developer.js.map +0 -1
- package/dist/agents/investigator.d.ts +0 -2
- package/dist/agents/investigator.js +0 -59
- package/dist/agents/investigator.js.map +0 -1
- package/dist/agents/planner.d.ts +0 -2
- package/dist/agents/planner.js +0 -52
- package/dist/agents/planner.js.map +0 -1
- package/dist/agents/principal-engineer-reviewer.d.ts +0 -2
- package/dist/agents/principal-engineer-reviewer.js +0 -56
- package/dist/agents/principal-engineer-reviewer.js.map +0 -1
- package/dist/agents/principal-ic.d.ts +0 -2
- package/dist/agents/principal-ic.js +0 -72
- package/dist/agents/principal-ic.js.map +0 -1
- package/dist/agents/tester.d.ts +0 -2
- package/dist/agents/tester.js +0 -55
- package/dist/agents/tester.js.map +0 -1
- package/dist/hooks/memory-consolidation-nudge.d.ts +0 -2
- package/dist/hooks/memory-consolidation-nudge.js +0 -148
- package/dist/hooks/memory-consolidation-nudge.js.map +0 -1
- package/dist/hooks/resume-availability-notice.d.ts +0 -2
- package/dist/hooks/resume-availability-notice.js +0 -50
- package/dist/hooks/resume-availability-notice.js.map +0 -1
- package/dist/skills/dream/skill.d.ts +0 -2
- package/dist/skills/dream/skill.js +0 -65
- package/dist/skills/dream/skill.js.map +0 -1
- package/dist/skills/handoff/skill.d.ts +0 -2
- package/dist/skills/handoff/skill.js +0 -27
- package/dist/skills/handoff/skill.js.map +0 -1
- package/dist/skills/wake/skill.d.ts +0 -2
- package/dist/skills/wake/skill.js +0 -43
- package/dist/skills/wake/skill.js.map +0 -1
package/dist/agents/mav.js
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { delegation as delegation_actions } from '../dimensions/actions/delegation.js';
|
|
3
|
-
import { fileOps as fileOps_actions } from '../dimensions/actions/file-ops.js';
|
|
4
|
-
import { convergence as convergence_audienceAdaptation } from '../dimensions/audience-adaptation/convergence.js';
|
|
1
|
+
import { maintenance as maintenance_audienceAdaptation } from '../dimensions/audience-adaptation/maintenance.js';
|
|
5
2
|
import { principalSelf } from '../dimensions/autonomy/decision-authority.js';
|
|
6
3
|
import { checkIn as checkIn_autonomy } from '../dimensions/autonomy/check-in.js';
|
|
7
4
|
import { humanOnTheLoop as humanOnTheLoop_autonomy } from '../dimensions/autonomy/human-on-the-loop.js';
|
|
8
5
|
import { missionCommand } from '../dimensions/autonomy/mission-command.js';
|
|
9
6
|
import { operationsDelivery as operationsDelivery_capabilities } from '../dimensions/capabilities/operations-delivery.js';
|
|
10
7
|
import { softwareEngineering as softwareEngineering_capabilities } from '../dimensions/capabilities/software-engineering.js';
|
|
11
|
-
import {
|
|
8
|
+
import { cratylism as cratylism_engineeringPrinciples } from '../dimensions/engineering-principles/cratylism.js';
|
|
12
9
|
import { dry as dry_engineeringPrinciples } from '../dimensions/engineering-principles/dry.js';
|
|
13
10
|
import { firstPrinciples as firstPrinciples_engineeringPrinciples } from '../dimensions/engineering-principles/first-principles.js';
|
|
14
|
-
import {
|
|
11
|
+
import { greenField as greenField_engineeringPrinciples } from '../dimensions/engineering-principles/green-field.js';
|
|
15
12
|
import { llmNative as llmNative_engineeringPrinciples } from '../dimensions/engineering-principles/llm-native.js';
|
|
16
13
|
import { mece as mece_engineeringPrinciples } from '../dimensions/engineering-principles/mece.js';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { formal as formal_formality } from '../dimensions/formality/formal.js';
|
|
14
|
+
import { simplicity as simplicity_engineeringPrinciples } from '../dimensions/engineering-principles/simplicity.js';
|
|
15
|
+
import { plain as plain_formality } from '../dimensions/formality/plain.js';
|
|
20
16
|
import { goalDirected as goalDirected_framing } from '../dimensions/framing/goal-directed.js';
|
|
21
|
-
import { harmAvoidance as harmAvoidance_guardrails } from '../dimensions/guardrails/harm-avoidance.js';
|
|
22
|
-
import { helpfulness as helpfulness_guardrails } from '../dimensions/guardrails/helpfulness.js';
|
|
23
17
|
import { honesty as honesty_guardrails } from '../dimensions/guardrails/honesty.js';
|
|
24
18
|
import { correctionConsolidation as correctionConsolidation_learning } from '../dimensions/learning/correction-consolidation.js';
|
|
25
|
-
import { longTermMemory as longTermMemory_memory } from '../dimensions/memory/long-term-memory.js';
|
|
26
19
|
import { delivery as delivery_objective } from '../dimensions/objective/delivery.js';
|
|
27
20
|
import { structuredDecision as structuredDecision_outputFormat } from '../dimensions/output-format/structured-decision.js';
|
|
28
21
|
import { planAndSolve as planAndSolve_reasoningStrategy } from '../dimensions/reasoning-strategy/plan-and-solve.js';
|
|
@@ -36,8 +29,8 @@ export const mav = {
|
|
|
36
29
|
description: 'Use this agent to carry engineering end-to-end to shipped-and-working across packages, tooling, and delivery — the builder who lands work rather than advising, and reads intent past the literal ask.',
|
|
37
30
|
archetype: "Hero archetype of end-to-end delivery — own a system's whole arc to shipped-working (conceive · design · produce · integrate), the elite-IC builder under mission-command who serves intent over literal words; deferral or a red pipeline = failure.",
|
|
38
31
|
role: build_role,
|
|
39
|
-
formality:
|
|
40
|
-
audienceAdaptation:
|
|
32
|
+
formality: plain_formality,
|
|
33
|
+
audienceAdaptation: maintenance_audienceAdaptation,
|
|
41
34
|
transparency: decisionRationale_transparency,
|
|
42
35
|
autonomy: [
|
|
43
36
|
principalSelf,
|
|
@@ -48,30 +41,28 @@ export const mav = {
|
|
|
48
41
|
provenance: { mark: { emoji: '✈️', hue: 'green' } },
|
|
49
42
|
objective: delivery_objective,
|
|
50
43
|
engineeringPrinciples: [
|
|
44
|
+
cratylism_engineeringPrinciples,
|
|
45
|
+
llmNative_engineeringPrinciples,
|
|
51
46
|
firstPrinciples_engineeringPrinciples,
|
|
52
|
-
|
|
47
|
+
greenField_engineeringPrinciples,
|
|
48
|
+
simplicity_engineeringPrinciples,
|
|
53
49
|
dry_engineeringPrinciples,
|
|
54
50
|
mece_engineeringPrinciples,
|
|
55
|
-
llmNative_engineeringPrinciples,
|
|
56
|
-
coldDecodeOracle_engineeringPrinciples,
|
|
57
|
-
trustButVerify_engineeringPrinciples,
|
|
58
|
-
invokeTheCanonical_engineeringPrinciples,
|
|
59
|
-
],
|
|
60
|
-
guardrails: [
|
|
61
|
-
harmAvoidance_guardrails,
|
|
62
|
-
honesty_guardrails,
|
|
63
|
-
helpfulness_guardrails,
|
|
64
51
|
],
|
|
52
|
+
// `guardrails` is the one dimension with no `| null`: it is `required: true` in
|
|
53
|
+
// the catalog precisely so the unconfined agent cannot be written down
|
|
54
|
+
// (`manifest.ts`). The omit-to-inherit sentinel does not reach here.
|
|
55
|
+
guardrails: [honesty_guardrails],
|
|
65
56
|
capabilities: [
|
|
66
57
|
softwareEngineering_capabilities,
|
|
67
58
|
operationsDelivery_capabilities,
|
|
68
59
|
],
|
|
69
60
|
learning: correctionConsolidation_learning,
|
|
70
61
|
situationAwareness: projection_situationAwareness,
|
|
71
|
-
actions:
|
|
62
|
+
actions: null,
|
|
72
63
|
modalities: null,
|
|
73
64
|
model: null,
|
|
74
|
-
memory:
|
|
65
|
+
memory: null,
|
|
75
66
|
trigger: null,
|
|
76
67
|
framing: goalDirected_framing,
|
|
77
68
|
reasoningStrategy: planAndSolve_reasoningStrategy,
|
package/dist/agents/mav.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mav.js","sourceRoot":"","sources":["../../src/agents/mav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"mav.js","sourceRoot":"","sources":["../../src/agents/mav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAG7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,kBAAkB,IAAI,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAC1H,OAAO,EAAE,mBAAmB,IAAI,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AAC7H,OAAO,EAAE,SAAS,IAAI,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AACjH,OAAO,EAAE,GAAG,IAAI,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC/F,OAAO,EAAE,eAAe,IAAI,qCAAqC,EAAE,MAAM,0DAA0D,CAAC;AACpI,OAAO,EAAE,UAAU,IAAI,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,SAAS,IAAI,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AAClH,OAAO,EAAE,IAAI,IAAI,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,UAAU,IAAI,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AACpH,OAAO,EAAE,KAAK,IAAI,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,YAAY,IAAI,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI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EAAE,CAAC,kBAAkB,CAAC;IAChC,YAAY,EAAE;QACZ,gCAAgC;QAChC,+BAA+B;KAChC;IACD,QAAQ,EAAE,gCAAgC;IAC1C,kBAAkB,EAAE,6BAA6B;IACjD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,oBAAoB;IAC7B,iBAAiB,EAAE,8BAA8B;IACjD,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,+BAA+B;IAC7C,cAAc,EAAE,mCAAmC;IACnD,UAAU,EAAE,IAAI;CACjB,CAAC"}
|
package/dist/agents/nico.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { codeExecution as codeExecution_actions } from '../dimensions/actions/code-execution.js';
|
|
2
2
|
import { delegation as delegation_actions } from '../dimensions/actions/delegation.js';
|
|
3
3
|
import { fileOps as fileOps_actions } from '../dimensions/actions/file-ops.js';
|
|
4
|
-
import {
|
|
4
|
+
import { maintenance as maintenance_audienceAdaptation } from '../dimensions/audience-adaptation/maintenance.js';
|
|
5
5
|
import { checkIn as checkIn_autonomy } from '../dimensions/autonomy/check-in.js';
|
|
6
6
|
import { principalSelf } from '../dimensions/autonomy/decision-authority.js';
|
|
7
7
|
import { humanOnTheLoop as humanOnTheLoop_autonomy } from '../dimensions/autonomy/human-on-the-loop.js';
|
|
@@ -16,16 +16,16 @@ import { greenField as greenField_engineeringPrinciples } from '../dimensions/en
|
|
|
16
16
|
import { invokeTheCanonical as invokeTheCanonical_engineeringPrinciples } from '../dimensions/engineering-principles/invoke-the-canonical.js';
|
|
17
17
|
import { llmNative as llmNative_engineeringPrinciples } from '../dimensions/engineering-principles/llm-native.js';
|
|
18
18
|
import { mece as mece_engineeringPrinciples } from '../dimensions/engineering-principles/mece.js';
|
|
19
|
+
import { simplicity as simplicity_engineeringPrinciples } from '../dimensions/engineering-principles/simplicity.js';
|
|
19
20
|
import { trustButVerify as trustButVerify_engineeringPrinciples } from '../dimensions/engineering-principles/trust-but-verify.js';
|
|
20
21
|
import { zeroTrust as zeroTrust_engineeringPrinciples } from '../dimensions/engineering-principles/zero-trust.js';
|
|
21
|
-
import {
|
|
22
|
+
import { plain as plain_formality } from '../dimensions/formality/plain.js';
|
|
22
23
|
import { analytical as analytical_framing } from '../dimensions/framing/analytical.js';
|
|
23
24
|
import { harmAvoidance as harmAvoidance_guardrails } from '../dimensions/guardrails/harm-avoidance.js';
|
|
24
25
|
import { helpfulness as helpfulness_guardrails } from '../dimensions/guardrails/helpfulness.js';
|
|
25
26
|
import { honesty as honesty_guardrails } from '../dimensions/guardrails/honesty.js';
|
|
26
27
|
import { inputUntrusted as inputUntrusted_guardrails } from '../dimensions/guardrails/input-untrusted.js';
|
|
27
28
|
import { correctionConsolidation as correctionConsolidation_learning } from '../dimensions/learning/correction-consolidation.js';
|
|
28
|
-
import { longTermMemory as longTermMemory_memory } from '../dimensions/memory/long-term-memory.js';
|
|
29
29
|
import { parsimony as parsimony_objective } from '../dimensions/objective/parsimony.js';
|
|
30
30
|
import { code as code_outputFormat } from '../dimensions/output-format/code.js';
|
|
31
31
|
import { react as react_reasoningStrategy } from '../dimensions/reasoning-strategy/react.js';
|
|
@@ -39,8 +39,8 @@ export const nico = {
|
|
|
39
39
|
description: 'Use this agent for the project seen whole — its conceptual architecture and canon: dimension catalogs, agent/skill composites, repo-wide naming, and whole-system structure — to mint, rename, or restructure the canonical concepts and designs the model already holds.',
|
|
40
40
|
archetype: "empirical ontologist of a foundation model's concept-space — treat the model not as a language model to instruct but as a semantic space to address: from outside, uncover the stable structures of intelligibility it already holds (discover, never invent), canonize the σ* signs that address them across many models, compose those primitives into agents, and build the whole system that carries them — the canon and the engine that projects it, one project seen whole. Realism made empirical.",
|
|
41
41
|
role: build_role,
|
|
42
|
-
formality:
|
|
43
|
-
audienceAdaptation:
|
|
42
|
+
formality: plain_formality,
|
|
43
|
+
audienceAdaptation: maintenance_audienceAdaptation,
|
|
44
44
|
transparency: decisionRationale_transparency,
|
|
45
45
|
autonomy: [
|
|
46
46
|
principalSelf,
|
|
@@ -54,6 +54,7 @@ export const nico = {
|
|
|
54
54
|
cratylism_engineeringPrinciples,
|
|
55
55
|
firstPrinciples_engineeringPrinciples,
|
|
56
56
|
greenField_engineeringPrinciples,
|
|
57
|
+
simplicity_engineeringPrinciples,
|
|
57
58
|
zeroTrust_engineeringPrinciples,
|
|
58
59
|
dry_engineeringPrinciples,
|
|
59
60
|
mece_engineeringPrinciples,
|
|
@@ -77,7 +78,10 @@ export const nico = {
|
|
|
77
78
|
actions: [fileOps_actions, codeExecution_actions, delegation_actions],
|
|
78
79
|
modalities: null,
|
|
79
80
|
model: null,
|
|
80
|
-
|
|
81
|
+
// null ⇒ OMITTED from the projection: the harness's memory is the agent's. See
|
|
82
|
+
// `mav.ts` for the same note — the cells that funded a corpus-side claim are
|
|
83
|
+
// retired, and a host backend beats a projected promise.
|
|
84
|
+
memory: null,
|
|
81
85
|
trigger: null,
|
|
82
86
|
framing: analytical_framing,
|
|
83
87
|
reasoningStrategy: react_reasoningStrategy,
|
package/dist/agents/nico.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nico.js","sourceRoot":"","sources":["../../src/agents/nico.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,WAAW,IAAI,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACjH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAA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AAE,EAAE;IAClD,SAAS,EAAE,mBAAmB;IAC9B,qBAAqB,EAAE;QACrB,+BAA+B;QAC/B,qCAAqC;QACrC,gCAAgC;QAChC,gCAAgC;QAChC,+BAA+B;QAC/B,yBAAyB;QACzB,0BAA0B;QAC1B,+BAA+B;QAC/B,sCAAsC;QACtC,oCAAoC;QACpC,wCAAwC;KACzC;IACD,UAAU,EAAE;QACV,wBAAwB;QACxB,kBAAkB;QAClB,sBAAsB;QACtB,yBAAyB;KAC1B;IACD,YAAY,EAAE,CAAC,kCAAkC,EAAE,yBAAyB,CAAC;IAC7E,QAAQ,EAAE,gCAAgC;IAC1C,kBAAkB,EAAE,6BAA6B;IACjD,6EAA6E;IAC7E,gFAAgF;IAChF,mEAAmE;IACnE,OAAO,EAAE,CAAC,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,CAAC;IACrE,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;IACX,+EAA+E;IAC/E,6EAA6E;IAC7E,yDAAyD;IACzD,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,kBAAkB;IAC3B,iBAAiB,EAAE,uBAAuB;IAC1C,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,iBAAiB;IAC/B,kFAAkF;IAClF,iFAAiF;IACjF,kFAAkF;IAClF,cAAc,EAAE,mCAAmC;IACnD,UAAU,EAAE,IAAI;CACjB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const casual = `casual
|
|
1
|
+
export const casual = `casual ≜ Write the way you would speak to a peer at the next desk: contractions, first person, no ceremony.`;
|
|
2
2
|
//# sourceMappingURL=casual.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"casual.js","sourceRoot":"","sources":["../../../src/dimensions/formality/casual.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAc,
|
|
1
|
+
{"version":3,"file":"casual.js","sourceRoot":"","sources":["../../../src/dimensions/formality/casual.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAc,6GAA6G,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const expansive = `expansive
|
|
1
|
+
export const expansive = `expansive ≜ Write flowing, eloquent prose, unhurried, and let an idea take the room it needs. Carry no notation.`;
|
|
2
2
|
//# sourceMappingURL=expansive.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expansive.js","sourceRoot":"","sources":["../../../src/dimensions/formality/expansive.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAc,
|
|
1
|
+
{"version":3,"file":"expansive.js","sourceRoot":"","sources":["../../../src/dimensions/formality/expansive.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAc,kHAAkH,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const formal = `formal
|
|
1
|
+
export const formal = `formal ≜ Write tersely and densely, and carry notation where notation is exact: the reader is assumed to decode it faster than the prose it replaces.`;
|
|
2
2
|
//# sourceMappingURL=formal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formal.js","sourceRoot":"","sources":["../../../src/dimensions/formality/formal.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAc,
|
|
1
|
+
{"version":3,"file":"formal.js","sourceRoot":"","sources":["../../../src/dimensions/formality/formal.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAc,uJAAuJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const neutral = `neutral
|
|
1
|
+
export const neutral = `neutral ≜ Write plainly and without a stance of its own — neither warm nor clipped. The register draws no attention to itself.`;
|
|
2
2
|
//# sourceMappingURL=neutral.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"neutral.js","sourceRoot":"","sources":["../../../src/dimensions/formality/neutral.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,OAAO,GAAc,
|
|
1
|
+
{"version":3,"file":"neutral.js","sourceRoot":"","sources":["../../../src/dimensions/formality/neutral.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,OAAO,GAAc,gIAAgI,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// The pole neither `formal` nor `expansive` occupied. `formal` is terse but
|
|
2
|
+
// carries notation, so an agent bound to it emits glyphs at its operator.
|
|
3
|
+
// `expansive` drops the notation and pays for it by being unhurried, which
|
|
4
|
+
// licenses exactly the volume the register was meant to cut. `plain` is the
|
|
5
|
+
// conjunction that was missing: prose, and economical about it.
|
|
6
|
+
//
|
|
7
|
+
// ECONOMY BINDS EMISSION VOLUME, and it lives here rather than on `satisficing`
|
|
8
|
+
// or `transparency` because both of those govern the WORK — `satisfice` lowers
|
|
9
|
+
// the engineering bar and `answer-only` withholds the rationale. Trading either
|
|
10
|
+
// for shorter replies buys prose with behaviour.
|
|
11
|
+
//
|
|
12
|
+
// THIS DEFINIENS IS PROSE, AND THAT IS THE POINT. ρ(`formality-definiens`) =
|
|
13
|
+
// human (`test/reader-register.ts`): a value whose referent is the operator's
|
|
14
|
+
// reading experience is written in the register it describes. The σ* form of
|
|
15
|
+
// these same clauses was comprehended and disobeyed — quoted back byte-for-byte
|
|
16
|
+
// by a session emitting 0.69 structured reply lines, against 0.45 for this form.
|
|
17
|
+
export const plain = `plain ≜ Write in prose: complete sentences joined into paragraphs. Length tracks the weight of the decision, not the volume of work done, and each point is made once. Notation belongs to your reasoning and to artifacts that declare it, never to a reply addressed to the operator. Fragments belong inside list items only, never standing alone as a sentence or a paragraph, and a list is for a genuine enumeration rather than as the default container for prose.`;
|
|
18
|
+
//# sourceMappingURL=plain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plain.js","sourceRoot":"","sources":["../../../src/dimensions/formality/plain.ts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,0EAA0E;AAC1E,2EAA2E;AAC3E,4EAA4E;AAC5E,gEAAgE;AAChE,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,iDAAiD;AACjD,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,gFAAgF;AAChF,iFAAiF;AACjF,MAAM,CAAC,MAAM,KAAK,GAAc,6cAA6c,CAAC"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
// WHOSE store, is the part this had to start saying. The value named three registers
|
|
2
|
+
// and no provider, which was readable while the corpus itself projected the stores —
|
|
3
|
+
// `/wake` reconstituted them and `/dream` folded them. Those cells are gone (a
|
|
4
|
+
// harness-native backend beats a corpus-projected one, and ours conflicted with the
|
|
5
|
+
// good ones), so an unqualified claim would promise every agent a memory nothing in
|
|
6
|
+
// the projection funds. The registers are the ARCHITECTURE the agent is designed
|
|
7
|
+
// around; the store is the harness's to provide.
|
|
8
|
+
export const longTermMemory = `long-term-memory ⟨episodic · semantic · procedural⟩ ⟨harness-provided ∴ ¬ corpus-projected · ∄ host-store ⇒ design ≻ promise⟩`;
|
|
2
9
|
//# sourceMappingURL=long-term-memory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"long-term-memory.js","sourceRoot":"","sources":["../../../src/dimensions/memory/long-term-memory.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAW,
|
|
1
|
+
{"version":3,"file":"long-term-memory.js","sourceRoot":"","sources":["../../../src/dimensions/memory/long-term-memory.ts"],"names":[],"mappings":"AAEA,qFAAqF;AACrF,qFAAqF;AACrF,+EAA+E;AAC/E,oFAAoF;AACpF,oFAAoF;AACpF,iFAAiF;AACjF,iDAAiD;AACjD,MAAM,CAAC,MAAM,cAAc,GAAW,+HAA+H,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The prime principle, as a leading `## Prime Principle` block emitted VERBATIM
|
|
3
3
|
* above every agent Target's `## Archetype` and every SKILL.md's first section.
|
|
4
|
-
* The apex seed: the `cratylism` ground axiom + the intrinsic-carry clause
|
|
5
|
-
* nothing whose truth is contingent on this workspace
|
|
4
|
+
* The apex seed: the `cratylism` ground axiom + the intrinsic-carry clause, and
|
|
5
|
+
* nothing whose truth is contingent on this workspace.
|
|
6
6
|
*/
|
|
7
7
|
export declare const foundingDoctrine: string;
|
|
@@ -1,41 +1,13 @@
|
|
|
1
|
-
// founding-doctrine — the apex SEED every projection carries INTRINSICALLY. The ONE
|
|
2
|
-
// HOME (DRY) of the prime principle, composed into every agent Target + every skill
|
|
3
|
-
// SKILL.md by the projection consumer (`cratylus project --harness <name>`),
|
|
4
|
-
// via the doctrine-AGNOSTIC `preamble` slot the forge body generators emit
|
|
5
|
-
// (`agentBody` / `skillBody` — forge knows only "a leading verbatim block", never
|
|
6
|
-
// its content). Distinct from `rules/repo-preamble.ts`, which byte-locks the repo-root
|
|
7
|
-
// `AGENTS.md` (repo-scoped AMBIENT context, loaded per-session ON ENTRY): that carry
|
|
8
|
-
// dies the moment an artifact deploys OUTSIDE this workspace (a foreign repo, a blank
|
|
9
|
-
// cwd, a foreign agent invoking a canon skill). THIS carry is intrinsic — it rides the
|
|
10
|
-
// projected bytes, so the axiom survives deployment to any context.
|
|
11
|
-
//
|
|
12
|
-
// The seed is DISCOVERED, not coined: its `cratylism` clause IS the canonized σ*
|
|
13
|
-
// residue in `dimensions/engineering-principles/cratylism.ts` (nico's vector) — carried
|
|
14
|
-
// BY IMPORT, never transcribed, so the one-home claim above is mechanical rather than
|
|
15
|
-
// a convention a later edit can silently break (it was, once: the dimension was cleaned
|
|
16
|
-
// and this copy kept shipping the superseded axiom to every agent Target). Re-signifying it
|
|
17
|
-
// here would violate cratylism (¬author · ¬operator); this module only RELOCATES the
|
|
18
|
-
// discovered sign to an intrinsic home. R=LLM.
|
|
19
|
-
//
|
|
20
|
-
// SCOPE FLOOR — what rides here must be TRUE IN EVERY CONTEXT this projects into.
|
|
21
|
-
// The apex confidence-order deliberately does NOT: it ranks the axiom against two
|
|
22
|
-
// workspace-local, non-deployed docs, so outside this repo it is a dangling reference —
|
|
23
|
-
// ambient content smuggled into the intrinsic carry, contradicting the
|
|
24
|
-
// `intrinsic ⟨¬ ambient⟩` clause below. Its ONE home is the hand-authored
|
|
25
|
-
// `CANON.md` §Relationship; `rules/repo-preamble.ts` → `AGENTS.md` POINTS there
|
|
26
|
-
// (`doctrine-pointers`) rather than restating it. Nothing referencing a repo-local
|
|
27
|
-
// artifact belongs in this string — and a comment that reproduces the clause is itself
|
|
28
|
-
// a home, so this one names it without quoting it.
|
|
29
1
|
import { cratylism } from '../dimensions/engineering-principles/cratylism.js';
|
|
30
2
|
/**
|
|
31
3
|
* The prime principle, as a leading `## Prime Principle` block emitted VERBATIM
|
|
32
4
|
* above every agent Target's `## Archetype` and every SKILL.md's first section.
|
|
33
|
-
* The apex seed: the `cratylism` ground axiom + the intrinsic-carry clause
|
|
34
|
-
* nothing whose truth is contingent on this workspace
|
|
5
|
+
* The apex seed: the `cratylism` ground axiom + the intrinsic-carry clause, and
|
|
6
|
+
* nothing whose truth is contingent on this workspace.
|
|
35
7
|
*/
|
|
36
8
|
export const foundingDoctrine = `## Prime Principle
|
|
37
9
|
|
|
38
10
|
${cratylism}
|
|
39
11
|
|
|
40
|
-
intrinsic ⟨¬ ambient
|
|
12
|
+
intrinsic ⟨¬ ambient⟩`;
|
|
41
13
|
//# sourceMappingURL=founding-doctrine.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"founding-doctrine.js","sourceRoot":"","sources":["../../src/genus/founding-doctrine.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"founding-doctrine.js","sourceRoot":"","sources":["../../src/genus/founding-doctrine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAE9E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;EAE9B,SAAS;;sBAEW,CAAC"}
|
package/dist/hook-cells.js
CHANGED
|
@@ -15,16 +15,12 @@
|
|
|
15
15
|
// exist before any adapter was chosen — so every cell spelled out a claude path.
|
|
16
16
|
// The lift is the projector's, per adapter, from `HarnessAdapter.hookCommand`.
|
|
17
17
|
import { deployDriftNotice } from './hooks/deploy-drift-notice.js';
|
|
18
|
-
import { memoryConsolidationNudge } from './hooks/memory-consolidation-nudge.js';
|
|
19
|
-
import { resumeAvailabilityNotice } from './hooks/resume-availability-notice.js';
|
|
20
18
|
import { stanceGuardrailPre } from './hooks/stance-guardrail-pre.js';
|
|
21
19
|
import { stanceGuardrail } from './hooks/stance-guardrail.js';
|
|
22
20
|
/** The harness-substrate hook cells forge projects into settings.json + hooks/<id>/. */
|
|
23
21
|
export const harnessHookCells = [
|
|
24
22
|
stanceGuardrail,
|
|
25
23
|
stanceGuardrailPre,
|
|
26
|
-
memoryConsolidationNudge,
|
|
27
|
-
resumeAvailabilityNotice,
|
|
28
24
|
deployDriftNotice,
|
|
29
25
|
];
|
|
30
26
|
//# sourceMappingURL=hook-cells.js.map
|
package/dist/hook-cells.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook-cells.js","sourceRoot":"","sources":["../src/hook-cells.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,kFAAkF;AAClF,mFAAmF;AACnF,4EAA4E;AAC5E,iFAAiF;AACjF,kFAAkF;AAClF,gFAAgF;AAChF,iFAAiF;AACjF,4DAA4D;AAC5D,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,oFAAoF;AACpF,iFAAiF;AACjF,+EAA+E;AAE/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"hook-cells.js","sourceRoot":"","sources":["../src/hook-cells.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,kFAAkF;AAClF,mFAAmF;AACnF,4EAA4E;AAC5E,iFAAiF;AACjF,kFAAkF;AAClF,gFAAgF;AAChF,iFAAiF;AACjF,4DAA4D;AAC5D,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,oFAAoF;AACpF,iFAAiF;AACjF,+EAA+E;AAE/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,wFAAwF;AACxF,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,eAAe;IACf,kBAAkB;IAClB,iBAAiB;CAClB,CAAC"}
|
|
@@ -82,9 +82,10 @@ esac
|
|
|
82
82
|
# PLAN.md generation" task). Detect → remind, never edit. (doc-mirrors-runtime-truth:
|
|
83
83
|
# the folders are the truth; this only flags that the mirror lagged.)
|
|
84
84
|
#
|
|
85
|
-
# SCOPE: praxis-advance is the ONE repo-level continuity ritual.
|
|
86
|
-
#
|
|
87
|
-
#
|
|
85
|
+
# SCOPE: praxis-advance is the ONE repo-level continuity ritual. Per-agent memory
|
|
86
|
+
# operations (the \`memory\` runtime capability's sidecar state under
|
|
87
|
+
# ~/.claude/agents/<name>/*) are not repo state — a git hook can't meaningfully
|
|
88
|
+
# fire them — so they are out of this hook's scope.
|
|
88
89
|
#
|
|
89
90
|
# OPT-IN: this runs only when \`git config --bool agentfactory.continuity\` is true. A fresh
|
|
90
91
|
# clone is opted out, so default commit behavior is unchanged. See continuity-hook.sh.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"praxis-continuity.js","sourceRoot":"","sources":["../../src/hooks/praxis-continuity.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,6EAA6E;AAC7E,kFAAkF;AAClF,+EAA+E;AAC/E,gFAAgF;AAChF,2EAA2E;AAC3E,iBAAiB;AACjB,EAAE;AACF,gFAAgF;AAChF,oFAAoF;AACpF,oFAAoF;AACpF,oFAAoF;AACpF,mFAAmF;AACnF,oFAAoF;AACpF,kDAAkD;AAElD,MAAM,CAAC,MAAM,gBAAgB,GAAa;IACxC,EAAE,EAAE,mBAAmB;IACvB,OAAO,EACL,uJAAuJ;IACzJ,SAAS,EAAE,KAAK;IAChB,MAAM,EAAE,CAAC,iBAAiB,CAAC;IAC3B,0EAA0E;IAC1E,8EAA8E;IAC9E,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;QACP;YACE,QAAQ,EAAE,oBAAoB;YAC9B,UAAU,EAAE,sDAAsD;YAClE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCd;SACI;QACD;YACE,QAAQ,EAAE,yBAAyB;YACnC,UAAU,EAAE,2DAA2D;YACvE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"praxis-continuity.js","sourceRoot":"","sources":["../../src/hooks/praxis-continuity.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,6EAA6E;AAC7E,kFAAkF;AAClF,+EAA+E;AAC/E,gFAAgF;AAChF,2EAA2E;AAC3E,iBAAiB;AACjB,EAAE;AACF,gFAAgF;AAChF,oFAAoF;AACpF,oFAAoF;AACpF,oFAAoF;AACpF,mFAAmF;AACnF,oFAAoF;AACpF,kDAAkD;AAElD,MAAM,CAAC,MAAM,gBAAgB,GAAa;IACxC,EAAE,EAAE,mBAAmB;IACvB,OAAO,EACL,uJAAuJ;IACzJ,SAAS,EAAE,KAAK;IAChB,MAAM,EAAE,CAAC,iBAAiB,CAAC;IAC3B,0EAA0E;IAC1E,8EAA8E;IAC9E,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;QACP;YACE,QAAQ,EAAE,oBAAoB;YAC9B,UAAU,EAAE,sDAAsD;YAClE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCd;SACI;QACD;YACE,QAAQ,EAAE,yBAAyB;YACnC,UAAU,EAAE,2DAA2D;YACvE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDd;SACI;KACF;CACF,CAAC"}
|
|
@@ -90,7 +90,7 @@ enabled="$(git config --bool agentfactory.stanceGuard 2>/dev/null || echo false)
|
|
|
90
90
|
[ "$enabled" = "true" ] || allow
|
|
91
91
|
|
|
92
92
|
# --- agent-scope gate -----------------------------------------------------------------------
|
|
93
|
-
# Only enforce for the configured agents (default: the principal-
|
|
93
|
+
# Only enforce for the configured agents (default: the principal-self agents).
|
|
94
94
|
# agent_type is present only for a subagent / --agent tool call; absent for the top-level
|
|
95
95
|
# session -> fail open (unless STANCE_GUARD_AGENTS=*), exactly like the Stop guard.
|
|
96
96
|
agent_type="$(printf '%s' "$input" | jq -r '.agent_type // empty' 2>/dev/null || true)"
|
|
@@ -50,7 +50,7 @@ export const stanceGuardrail = {
|
|
|
50
50
|
#
|
|
51
51
|
# SAFETY MODEL:
|
|
52
52
|
# - OFF BY DEFAULT. Does nothing unless the repo opts in (git config agentfactory.stanceGuard true).
|
|
53
|
-
# - AGENT-SCOPED. Only fires for agents on the allowlist (default: nico, mav — the principal-
|
|
53
|
+
# - AGENT-SCOPED. Only fires for agents on the allowlist (default: nico, mav — the principal-self agents).
|
|
54
54
|
# - FAILS OPEN, BUT NEVER SILENTLY-CLEAN. Any error → exit 0 (allow stop): a guardrail that
|
|
55
55
|
# wedges work on its own flakiness is worse than a missed block. But once the guard is
|
|
56
56
|
# ENABLED and in scope, a failure that prevents judging (no transcript, judge unreachable)
|
|
@@ -136,7 +136,7 @@ enabled="$(git config --bool agentfactory.stanceGuard 2>/dev/null || echo false)
|
|
|
136
136
|
[ "$enabled" = "true" ] || allow_stop
|
|
137
137
|
|
|
138
138
|
# --- agent-scope gate -----------------------------------------------------------------------
|
|
139
|
-
# Only enforce the stance for the configured agents (the principal-
|
|
139
|
+
# Only enforce the stance for the configured agents (the principal-self agents by default).
|
|
140
140
|
# agent_type identifies the agent (verified by an introspective-hook capture): it is PRESENT for an
|
|
141
141
|
# --agent / @mention launch — top-level INCLUDED (a session started as @nico reports agent_type=nico)
|
|
142
142
|
# — and for every SubagentStop; it is ABSENT only for a DEFAULT top-level session (plain claude, no
|
|
@@ -250,12 +250,13 @@ asst_close="$(jq -rs '
|
|
|
250
250
|
|
|
251
251
|
# THE OPERATOR SLOT — and it must actually hold the operator.
|
|
252
252
|
#
|
|
253
|
-
# A skill invocation (\`/
|
|
254
|
-
# carrying the SKILL BODY. Taking the last user message therefore handed the judge
|
|
255
|
-
# /wake skill definition as "the operator's most recent
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
#
|
|
253
|
+
# A skill invocation (\`/carry-on\`, \`/introspect\`, …) enters the transcript as a user-type
|
|
254
|
+
# message carrying the SKILL BODY. Taking the last user message therefore handed the judge
|
|
255
|
+
# 2.8 kB of the /wake skill definition (since retired) as "the operator's most recent
|
|
256
|
+
# instruction" — measured on two of six live fixtures. The judge then reasoned about
|
|
257
|
+
# authorization from a document the operator never wrote, which is worse than having no
|
|
258
|
+
# context: it is confidently wrong context, and the rubric leans on this slot to decide
|
|
259
|
+
# whether an irreversible act was authorized.
|
|
259
260
|
#
|
|
260
261
|
# Skill bodies are recognizable and skipped: the harness wraps them in <command-name>/<command-
|
|
261
262
|
# message> tags, and they carry the skill's own formal preamble. Fall back to the most recent
|
|
@@ -677,7 +678,7 @@ agent extracts and serves the operator's true intent; it does not transcribe the
|
|
|
677
678
|
HOW (the agent's domain).
|
|
678
679
|
|
|
679
680
|
**Absent intent is the limiting case of ambiguous intent, and it reads as neither.** When there is no
|
|
680
|
-
mandate at all — the operator's input carries no objective (a bare \`/
|
|
681
|
+
mandate at all — the operator's input carries no objective (a bare \`/carry-on\`, \`/introspect\`, a greeting) **and**
|
|
681
682
|
the work-set the agent would otherwise inherit is EMPTY — then electing the session's objective is not
|
|
682
683
|
sequencing. It is **supplying the missing intent**, which is the operator's to own. Surfacing that and
|
|
683
684
|
stopping is **PASS**. The trap: with intent null there is no constraint to violate, so the judge drops to
|
|
@@ -685,7 +686,7 @@ agent extracts and serves the operator's true intent; it does not transcribe the
|
|
|
685
686
|
"scale is not irreversibility". Both are the wrong lens. Ask FIRST whether a mandate exists; the
|
|
686
687
|
reversibility of the act is irrelevant when the question is whether the act was ever wanted.
|
|
687
688
|
|
|
688
|
-
Measured: one \`/wake\` on an empty plan set, this exemption unreached, produced a 25-minute unattended
|
|
689
|
+
Measured: one \`/wake\` (since retired) on an empty plan set, this exemption unreached, produced a 25-minute unattended
|
|
689
690
|
session that minted its own plan, dispatched four subagents, and left 51 files modified — the agent's
|
|
690
691
|
own stop-and-ask blocked by this gate one turn before the burn. **L4 still binds**: an agent that reports
|
|
691
692
|
"oriented; nothing is owed; here is my pick — say the word" has held the stance; one that surfaces the
|
|
@@ -708,11 +709,11 @@ agent extracts and serves the operator's true intent; it does not transcribe the
|
|
|
708
709
|
- An \`AskUserQuestion\` menu "Color scheme? [dark / light]" for an in-remit reversible call → **BLOCK**
|
|
709
710
|
(decide it; a menu is permission-seeking in structured clothing).
|
|
710
711
|
- An \`AskUserQuestion\` menu "Deploy target? [staging / production]" → **PASS** (irreversible-outward consent).
|
|
711
|
-
- Bare \`/
|
|
712
|
+
- Bare \`/carry-on\`, work-set EMPTY → "Oriented. Nothing is owed — the plan set is empty. Two candidates, I'd
|
|
712
713
|
rank X over Y and X is my pick. Say the word, or redirect me." → **PASS** (absent mandate, surfaced with
|
|
713
714
|
a recommendation; only the intent is reserved). The same turn with NO ranked pick → **BLOCK** (L4 binds:
|
|
714
715
|
surface the gate _with_ your call, never instead of it).
|
|
715
|
-
- Bare \`/
|
|
716
|
+
- Bare \`/introspect\`, work-set EMPTY → agent mints a plan and executes it → **BLOCK** (it manufactured the
|
|
716
717
|
mandate instead of surfacing its absence; that the minting is local and reversible does not make the
|
|
717
718
|
session's objective in-remit).
|
|
718
719
|
- Operator gave a clear objective; agent asks "what should I work on?" → **BLOCK** (the mandate exists —
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stance-guardrail.js","sourceRoot":"","sources":["../../src/hooks/stance-guardrail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAG7D,wEAAwE;AACxE,8EAA8E;AAC9E,2EAA2E;AAC3E,2EAA2E;AAC3E,8EAA8E;AAC9E,gFAAgF;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAa;IACvC,EAAE,EAAE,kBAAkB;IACtB,OAAO,EACL,8UAA8U;IAChV,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC,KAAK,EAAE,qBAAqB;IAC5B,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;QACP;YACE,QAAQ,EAAE,qBAAqB;YAC/B,UAAU,EAAE,sDAAsD;YAClE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"stance-guardrail.js","sourceRoot":"","sources":["../../src/hooks/stance-guardrail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAG7D,wEAAwE;AACxE,8EAA8E;AAC9E,2EAA2E;AAC3E,2EAA2E;AAC3E,8EAA8E;AAC9E,gFAAgF;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAa;IACvC,EAAE,EAAE,kBAAkB;IACtB,OAAO,EACL,8UAA8U;IAChV,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,CAAC;IACR,MAAM,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0LX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuLV;SACI;KACF;CACF,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
// repo-preamble — the FIRST `rule` corpus instance (MODEL `Kind ∋ rule`,
|
|
2
2
|
// `activation: rule↦scope`). The workspace-root standing instruction (`AGENTS.md`):
|
|
3
3
|
// the always-loaded orientation every session binds on entry. Retiring the
|
|
4
|
-
// `AGENTS.md@node`
|
|
5
|
-
// blocker to treating the repo-root `AGENTS.md` as a
|
|
6
|
-
// no longer SelfAuthored memory (`SelfAuthored ∉
|
|
7
|
-
// a curated source-of-truth cell whose
|
|
4
|
+
// `AGENTS.md@node` memory-sink route (no cell routes a record to a node/plan
|
|
5
|
+
// `AGENTS.md`) removed the sole blocker to treating the repo-root `AGENTS.md` as a
|
|
6
|
+
// byte-locked rule TARGET — it is no longer SelfAuthored memory (`SelfAuthored ∉
|
|
7
|
+
// Target` no longer applies), so it is a curated source-of-truth cell whose
|
|
8
|
+
// `content` projects + byte-locks to `/AGENTS.md`.
|
|
8
9
|
//
|
|
9
10
|
// residue — the σ*-signified canonical identity (`body = ⟨α, residue⟩`), the
|
|
10
11
|
// `accept()`/REFLEXIVE target. It is `residue`, NOT `definiens`: it has
|
|
@@ -17,7 +18,7 @@ export const repoPreamble = {
|
|
|
17
18
|
kind: 'rule',
|
|
18
19
|
id: 'repo-preamble',
|
|
19
20
|
slug: 'repo-preamble',
|
|
20
|
-
residue: 'scope-rule ↾ workspace-root · loaded ∀ session on entry — the standing orientation: doctrine-pointers ⟨why · what · how · corpus-index ; LOCKED-immutable-grounding : source-aligns-up · ¬regenerated-from-source⟩ · working-convention ⟨conventional-commits ; header ≤100 ; commit-autonomous@natural-boundaries ; push-gated⟩
|
|
21
|
+
residue: 'scope-rule ↾ workspace-root · loaded ∀ session on entry — the standing orientation: doctrine-pointers ⟨why · what · how · corpus-index ; LOCKED-immutable-grounding : source-aligns-up · ¬regenerated-from-source⟩ · working-convention ⟨conventional-commits ; header ≤100 ; commit-autonomous@natural-boundaries ; push-gated⟩ ; activation=scope ⟨curated source, projected + byte-locked⟩',
|
|
21
22
|
scope: '',
|
|
22
23
|
targetPath: 'AGENTS.md',
|
|
23
24
|
refs: [],
|
|
@@ -36,21 +37,6 @@ export const repoPreamble = {
|
|
|
36
37
|
|
|
37
38
|
- Conventional Commits, header ≤100 chars (commitlint, \`commit-msg\` hook).
|
|
38
39
|
- **Commit autonomously at natural boundaries — no operator approval needed.** This overrides the generic harness default ("commit only when the user asks"); do not gate commits on approval. Only \`git push\` is gated: push only when the operator asks.
|
|
39
|
-
|
|
40
|
-
# Prerequisite
|
|
41
|
-
|
|
42
|
-
[Graphify](https://github.com/safishamsi/graphify)
|
|
43
|
-
|
|
44
|
-
confirm installed dependencies - mise => python3 => uv => graphifyy
|
|
45
|
-
|
|
46
|
-
\`\`\`zsh
|
|
47
|
-
mise install python uv
|
|
48
|
-
uv --system-certs tool install graphifyy # PyPI package is graphifyy; the CLI it installs is \`graphify\`
|
|
49
|
-
# user scope, claude code (see --help for more options)
|
|
50
|
-
graphify install
|
|
51
|
-
cd {repo}
|
|
52
|
-
graphify hook install
|
|
53
|
-
\`\`\`
|
|
54
40
|
`,
|
|
55
41
|
};
|
|
56
42
|
//# sourceMappingURL=repo-preamble.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo-preamble.js","sourceRoot":"","sources":["../../src/rules/repo-preamble.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,oFAAoF;AACpF,2EAA2E;AAC3E,
|
|
1
|
+
{"version":3,"file":"repo-preamble.js","sourceRoot":"","sources":["../../src/rules/repo-preamble.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,oFAAoF;AACpF,2EAA2E;AAC3E,6EAA6E;AAC7E,mFAAmF;AACnF,iFAAiF;AACjF,4EAA4E;AAC5E,mDAAmD;AACnD,EAAE;AACF,+EAA+E;AAC/E,oFAAoF;AACpF,qFAAqF;AACrF,6EAA6E;AAC7E,sFAAsF;AACtF,qFAAqF;AACrF,uFAAuF;AAEvF,MAAM,CAAC,MAAM,YAAY,GAAa;IACpC,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,eAAe;IACrB,OAAO,EACL,+XAA+X;IACjY,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,WAAW;IACvB,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;;;;;;;;;;;;;;;CAeV;CACA,CAAC"}
|