@jjanczur/tyran 0.1.13 → 0.1.15
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +135 -0
- package/README.md +7 -1
- package/agents/implementer.md +15 -3
- package/agents/retro.md +17 -2
- package/agents/reviewer.md +7 -0
- package/bin/tyran.mjs +8 -0
- package/hooks/scripts/session-start.mjs +69 -2
- package/package.json +1 -1
- package/scripts/answer.mjs +896 -0
- package/scripts/board.mjs +4 -1
- package/scripts/doctor.mjs +169 -0
- package/scripts/journal.mjs +79 -1
- package/scripts/keepawake.mjs +187 -0
- package/scripts/mistakes.mjs +1005 -0
- package/scripts/overnight.mjs +92 -5
- package/scripts/project.mjs +15 -3
- package/scripts/scan-repo.mjs +107 -1
- package/scripts/schema.mjs +10 -1
- package/scripts/tiers.mjs +17 -0
- package/skills/retro/SKILL.md +80 -1
- package/skills/run/SKILL.md +33 -7
- package/skills/setup/SKILL.md +27 -1
- package/templates/MISTAKES.md +39 -0
- package/templates/config.yaml +5 -0
- package/templates/policies/autonomy.yaml +18 -0
package/templates/config.yaml
CHANGED
|
@@ -55,6 +55,10 @@ shared_zones: []
|
|
|
55
55
|
# days (the weekly window). Within it: schedule
|
|
56
56
|
# the resume and say when.
|
|
57
57
|
# long_wait: hold | resume what the scheduler does beyond wait_max_hours
|
|
58
|
+
# keep_awake: false true holds the SYSTEM awake while the resume
|
|
59
|
+
# watcher waits — a laptop that suspends takes
|
|
60
|
+
# the watcher with it. Never the display: your
|
|
61
|
+
# screen lock is untouched.
|
|
58
62
|
limits:
|
|
59
63
|
mode: 'off' # quoted — bare off is YAML for false
|
|
60
64
|
pause_at_percent: 97
|
|
@@ -62,3 +66,4 @@ limits:
|
|
|
62
66
|
wait_max_hours: 5
|
|
63
67
|
long_wait: hold
|
|
64
68
|
resume_margin_minutes: 5
|
|
69
|
+
keep_awake: false # a real boolean, so the bare-off trap above cannot apply
|
|
@@ -70,6 +70,24 @@ rules:
|
|
|
70
70
|
class: GATED
|
|
71
71
|
reason: overriding a core agent freezes it at the version it was copied from
|
|
72
72
|
|
|
73
|
+
# Operator-owned prose, loaded into every session in this repository. The
|
|
74
|
+
# gate is otherwise SILENT at the repo root — the governed prefixes are
|
|
75
|
+
# `.tyran/`, `.claude/` and the enforcement-script directory, and a root file
|
|
76
|
+
# matches none of them — so without this rule a subagent could rewrite the law
|
|
77
|
+
# it is bound by and no gate would have an opinion. An explicit rule outranks
|
|
78
|
+
# the prefix test, which is why one line here is enough.
|
|
79
|
+
#
|
|
80
|
+
# It bans the HAND, not the mechanism. GATED denies a subagent
|
|
81
|
+
# unconditionally, so no agent free-hand rewrites this file with Write or
|
|
82
|
+
# Edit; `scripts/mistakes.mjs promote --law` still passes, because it is a
|
|
83
|
+
# Bash command and a repo-root file is not in the shell-protected globs.
|
|
84
|
+
# That asymmetry is the design: the law changes only through the mechanism
|
|
85
|
+
# that requires evidence — five recorded occurrences of one signature — and
|
|
86
|
+
# it changes only inside the `tyran:rules` fence.
|
|
87
|
+
- path: CLAUDE.md
|
|
88
|
+
class: GATED
|
|
89
|
+
reason: operator-owned prose loaded into every session; only mistakes.mjs writes it, and only inside its fence
|
|
90
|
+
|
|
73
91
|
- path: .tyran/STOP
|
|
74
92
|
class: KERNEL
|
|
75
93
|
reason: the brake an operator uses to halt a running initiative; a loop that can clear its own stop signal has none
|