@autonomos/core 0.3.1 → 0.3.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.
|
@@ -28,12 +28,10 @@ Ask yourself silently — do NOT ask the user:
|
|
|
28
28
|
|
|
29
29
|
Mark the task `[x]` (or `[!]` if blocked) in `.autonomos/TASKS.md`.
|
|
30
30
|
|
|
31
|
-
## STEP 4 —
|
|
31
|
+
## STEP 4 — User response
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
First, deliver a self-contained answer to the original request: outcome, evidence, limitations, and relevant next step. Do not replace it with crystallization status.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
- `Worklog: .autonomos/worklogs/...`
|
|
37
|
-
- `AGENT.md updated: [yes / no — reason]`
|
|
35
|
+
Then append this supplementary handoff:
|
|
38
36
|
|
|
39
|
-
|
|
37
|
+
`Crystallization — Task: [x] / [!] — [ID] | Worklog: .autonomos/worklogs/... | AGENT.md updated: [yes / no — reason]`
|
|
@@ -37,6 +37,15 @@ describe('crystallize.md — self-directed crystallization', () => {
|
|
|
37
37
|
const lower = crystallize.toLowerCase()
|
|
38
38
|
expect(lower).not.toMatch(/ask\s+the\s+user.*what.*learn/i)
|
|
39
39
|
})
|
|
40
|
+
|
|
41
|
+
it('preserves the substantive user-facing answer before the handoff', () => {
|
|
42
|
+
expect(crystallize).toContain('self-contained answer to the original request')
|
|
43
|
+
expect(crystallize).toContain('outcome, evidence, limitations, and relevant next step')
|
|
44
|
+
expect(crystallize).not.toContain('RESPOND with exactly')
|
|
45
|
+
expect(crystallize.indexOf('self-contained answer')).toBeLessThan(
|
|
46
|
+
crystallize.indexOf('supplementary handoff'),
|
|
47
|
+
)
|
|
48
|
+
})
|
|
40
49
|
})
|
|
41
50
|
|
|
42
51
|
// ---------------------------------------------------------------------------
|