-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpack.toml
More file actions
79 lines (69 loc) · 2.84 KB
/
Copy pathpack.toml
File metadata and controls
79 lines (69 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# gc-toolkit — primary pack for a Gas City city. Native roster, no pack imports.
#
# Every agent this pack runs ships under agents/<name>/ (polecat, refinery,
# witness, deacon, converse, mechanik, polecat-codex, proactive, dog). There is
# no gastown import and there are no cross-pack prompt patches: each agent's
# prompt.template.md is purpose-written and injects shared doctrine from
# template-fragments/ directly.
#
# "No imports" scopes to PACK imports: this file declares no [imports.*] and
# no [rigs.imports.*]. Formula inheritance is a separate mechanism and is
# deliberate: formulas/mol-polecat-work.toml declares
# extends = ["mol-polecat-base"], which resolves through the formula search
# path to the core pack (specs/2026-08-rewrite/plan.md:62).
#
# OVERLAY WIRING. Claude-hook overlays (overlays/cycle-recycle,
# overlays/work-context) are staged into an agent's work dir via
# `overlay_dir`, which the pack format carries only on [[patches.agent]] —
# agent.toml has no overlay key. A patch modifies an EXISTING agent, and a
# pack may patch its own, so each stanza below targets one of our native
# agents and carries nothing but the overlay. Both hooks self-gate by role
# and are safe no-ops elsewhere.
[pack]
name = "gc-toolkit"
schema = 2
[global]
# Ordering is load-bearing: bindings first, then the status-line override,
# which rewrites status-right to gc-toolkit-status-line.sh (composable title
# and indicator slots) while preserving the tier theme and %H:%M time slot.
session_live = [
"{{.ConfigDir}}/assets/scripts/tmux-bindings.sh {{.ConfigDir}}",
"{{.ConfigDir}}/assets/scripts/tmux-status-line-override.sh {{.Session}} {{.Agent}} {{.ConfigDir}}",
]
# Deterministic work-bead description delivery: a Claude PostToolUse hook
# injects the claimed work bead's description right after the claim, so the
# spec reaches the worker even on a mid-workflow respawn (tk-osf13). Gates
# itself to claude-provider polecat pools.
[[patches.agent]]
name = "polecat"
overlay_dir = "overlays/work-context"
# Deterministic context recycle for the long-running patrol roles: a Claude
# Stop hook recycles the session past a 200K input-token threshold
# (docs/cycle-recycle.md). Gates itself to witness | deacon | refinery.
[[patches.agent]]
name = "refinery"
overlay_dir = "overlays/cycle-recycle"
[[patches.agent]]
name = "witness"
overlay_dir = "overlays/cycle-recycle"
[[patches.agent]]
name = "deacon"
overlay_dir = "overlays/cycle-recycle"
# Named singletons. The pool templates (polecat, polecat-codex, converse,
# proactive) need no stanza — instance expansion is their lifecycle.
[[named_session]]
template = "mechanik"
scope = "city"
mode = "always"
[[named_session]]
template = "refinery"
scope = "rig"
mode = "on_demand"
[[named_session]]
template = "witness"
scope = "rig"
mode = "always"
[[named_session]]
template = "deacon"
scope = "city"
mode = "always"