sisyphi 1.2.25 → 1.2.28
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/cli.js +12 -60
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +0 -1
- package/dist/daemon.js.map +1 -1
- package/dist/templates/agent-plugin/agents/operator.md +1 -0
- package/dist/templates/agent-plugin/agents/problem.md +2 -0
- package/dist/templates/agent-plugin/agents/spec.md +4 -0
- package/dist/templates/orchestrator-discovery.md +2 -0
- package/dist/tui.js +2 -4
- package/dist/tui.js.map +1 -1
- package/package.json +1 -1
- package/templates/agent-plugin/agents/operator.md +1 -0
- package/templates/agent-plugin/agents/problem.md +2 -0
- package/templates/agent-plugin/agents/spec.md +4 -0
- package/templates/orchestrator-discovery.md +2 -0
|
@@ -294,6 +294,7 @@ N=1 # initialize before loop; increment each turn
|
|
|
294
294
|
turn_deck="$SISYPHUS_SESSION_DIR/context/.ask-problem-turn-r${N}-$(date +%s)-$$.json"
|
|
295
295
|
cat > "$turn_deck" <<EOF
|
|
296
296
|
{
|
|
297
|
+
"title": "Problem: <noun>",
|
|
297
298
|
"interactions": [{
|
|
298
299
|
"id": "problem-turn-r${N}",
|
|
299
300
|
"title": "<noun>",
|
|
@@ -330,6 +331,7 @@ When the posture is **curiosity** (not provocation), the body's `**My take**` li
|
|
|
330
331
|
signoff_deck="$SISYPHUS_SESSION_DIR/context/.ask-problem-signoff-$(date +%s)-$$.json"
|
|
331
332
|
cat > "$signoff_deck" <<EOF
|
|
332
333
|
{
|
|
334
|
+
"title": "Problem: sign-off",
|
|
333
335
|
"interactions": [{
|
|
334
336
|
"id": "problem-signoff",
|
|
335
337
|
"kind": "validation",
|
|
@@ -93,6 +93,7 @@ Track N (1-based) in-process only. For each round:
|
|
|
93
93
|
deck="$SISYPHUS_SESSION_DIR/context/.ask-spec-q-r${N}-$(date +%s)-$$.json"
|
|
94
94
|
cat > "$deck" <<EOF
|
|
95
95
|
{
|
|
96
|
+
"title": "Spec: pin down <noun>",
|
|
96
97
|
"interactions": [{
|
|
97
98
|
"id": "stage1-q-r${N}",
|
|
98
99
|
"title": "Pin down <noun>",
|
|
@@ -126,6 +127,7 @@ readiness_deck="$SISYPHUS_SESSION_DIR/context/.ask-spec-readiness-$(date +%s)-$$
|
|
|
126
127
|
# resolved_md (bullet list of confirmed choices), soft_md (unresolved gap or _(none — ready to proceed)_)
|
|
127
128
|
cat > "$readiness_deck" <<EOF
|
|
128
129
|
{
|
|
130
|
+
"title": "Spec readiness",
|
|
129
131
|
"interactions": [{
|
|
130
132
|
"id": "stage1-readiness",
|
|
131
133
|
"title": "Ready to design?",
|
|
@@ -178,6 +180,7 @@ printf '{"path":"%s"}' "$SISYPHUS_SESSION_DIR/context/design.md" | crtr human sh
|
|
|
178
180
|
signoff_deck="$SISYPHUS_SESSION_DIR/context/.ask-spec-stage1-signoff-$(date +%s)-$$.json"
|
|
179
181
|
cat > "$signoff_deck" <<EOF
|
|
180
182
|
{
|
|
183
|
+
"title": "Spec: stage 1 design",
|
|
181
184
|
"interactions": [{
|
|
182
185
|
"id": "stage1-signoff",
|
|
183
186
|
"kind": "validation",
|
|
@@ -387,6 +390,7 @@ signoff_deck="$SISYPHUS_SESSION_DIR/context/.ask-spec-stage3-signoff-$(date +%s)
|
|
|
387
390
|
# safe_assumptions_count (integer), bounce_iterations (integer from meta.bounceIterations)
|
|
388
391
|
cat > "$signoff_deck" <<EOF
|
|
389
392
|
{
|
|
393
|
+
"title": "Spec: final sign-off",
|
|
390
394
|
"interactions": [{
|
|
391
395
|
"id": "stage3-signoff",
|
|
392
396
|
"kind": "validation",
|
|
@@ -25,6 +25,7 @@ If multi-project, do not try to refine the goal as one. Issue a decomposition de
|
|
|
25
25
|
decomp_deck="$SISYPHUS_SESSION_DIR/context/.ask-discovery-decomp-$(date +%s)-$$.json"
|
|
26
26
|
cat > "$decomp_deck" <<'EOF'
|
|
27
27
|
{
|
|
28
|
+
"title": "Discovery: split the work",
|
|
28
29
|
"interactions": [{
|
|
29
30
|
"id": "discovery-decomposition",
|
|
30
31
|
"title": "This looks like multiple projects",
|
|
@@ -100,6 +101,7 @@ Even when the goal looks provably clear, surface one deck before transitioning o
|
|
|
100
101
|
confirm_deck="$SISYPHUS_SESSION_DIR/context/.ask-discovery-confirm-$(date +%s)-$$.json"
|
|
101
102
|
cat > "$confirm_deck" <<'EOF'
|
|
102
103
|
{
|
|
104
|
+
"title": "Discovery: confirm the goal",
|
|
103
105
|
"interactions": [{
|
|
104
106
|
"id": "discovery-clarity-confirm",
|
|
105
107
|
"title": "Read confirms the goal?",
|
package/dist/tui.js
CHANGED
|
@@ -1337,7 +1337,7 @@ import { join as join15 } from "path";
|
|
|
1337
1337
|
import { basename, dirname } from "path";
|
|
1338
1338
|
function coerceKind(k) {
|
|
1339
1339
|
if (k !== void 0) return k;
|
|
1340
|
-
return "
|
|
1340
|
+
return "decision";
|
|
1341
1341
|
}
|
|
1342
1342
|
function sessionIdFromDir(dir) {
|
|
1343
1343
|
return basename(dirname(dirname(dirname(dir))));
|
|
@@ -1735,7 +1735,6 @@ function agentTypeColor(agentType) {
|
|
|
1735
1735
|
}
|
|
1736
1736
|
var KIND_ICON = {
|
|
1737
1737
|
notify: "\u2709",
|
|
1738
|
-
validation: "\u2713",
|
|
1739
1738
|
decision: "\u25C6",
|
|
1740
1739
|
context: "\u270E",
|
|
1741
1740
|
error: "\u26A0",
|
|
@@ -1743,7 +1742,6 @@ var KIND_ICON = {
|
|
|
1743
1742
|
};
|
|
1744
1743
|
var KIND_COLOR = {
|
|
1745
1744
|
notify: "gray",
|
|
1746
|
-
validation: "cyan",
|
|
1747
1745
|
decision: "cyan",
|
|
1748
1746
|
context: "cyan",
|
|
1749
1747
|
error: "red",
|
|
@@ -8514,7 +8512,7 @@ function mountResolutionPanel(opts, state2) {
|
|
|
8514
8512
|
},
|
|
8515
8513
|
getHeaderInfo() {
|
|
8516
8514
|
const it = item();
|
|
8517
|
-
const askTitle = currentDeck.title
|
|
8515
|
+
const askTitle = currentDeck.title;
|
|
8518
8516
|
const itWithName = it;
|
|
8519
8517
|
return {
|
|
8520
8518
|
currentIndex,
|