Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ The nine tstack skills, patched. [UPSTREAM.md](UPSTREAM.md) pins the upstream co
| `epic` | Plan and ship multi-issue or multi-repo work, from options to live proof |
| `hindsight` | Find agent mistakes that repeat across sessions and fix each at its source |
| `hindsight-setup` | Choose which agent logs `hindsight` reads |
| `prove` | Prove a change works with an L0-L4 evidence ladder and a mechanical proof packet |
| `jstack-setup` | Describe your local tools and fallback model once, and render them into deployed skills |
| `ci-retro` | Make CI faster from its own run history |
| `bug` | Take an upstream bug from first error to a merged fix |
| `omarchy-dev` | Test Omarchy changes in throwaway Omarchy VMs, the way upstream does |
Expand All @@ -94,6 +96,16 @@ The skills name no models, hosts or private paths. Put those in your own instruc

- Put your model roster in `AGENTS.md` or `CLAUDE.md`, for example the three `council` members and the `sol-loop` reviewer. The skills use the models you name there.
- Run `hindsight-setup` once. It writes `~/.config/hindsight/sources.json`, which tells `hindsight` which harness logs and stores to read.
- Run `jstack-setup` once. It writes `~/.config/jstack/rig.json` (mode 0600, names only, never committed), and `./install.sh --reconcile` renders it into deployed skills such as `prove`. [rig.example.json](rig.example.json) shows the shape. Without a rig, installs stay stock.

Paste this into your agent to do it all:

```text
Install jstack from github.com/justcarlson/jstack with ./install.sh.
Run the jstack-setup skill: inventory my tools, show the table, ask once, write ~/.config/jstack/rig.json.
Run ./install.sh --reconcile, then ./install.sh --check and jstack-rig.py check until both pass.
Then run hindsight-setup. Keep secrets and private hostnames out of any repo.
```

## Development

Expand Down
23 changes: 23 additions & 0 deletions rig.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"schema": "jstack.rig/1",
"harnesses": ["<harness>"],
"endpoints": {
"ollama": "http://127.0.0.1:<port>"
},
"lanes": {
"web": ["<browser-tool>"],
"auth": ["<otp-tool>"],
"native_gui": ["<gui-driver>", "<screenshot-tool>"],
"vnc": ["<vnc-viewer>"],
"video": ["<recorder>", "<video-tool>"],
"audio": ["<asr-tool>"],
"vm": ["<vm-tool>"],
"ssh": ["<ssh-tool>"],
"secrets": ["<secret-manager>"]
},
"media_uploader": "<uploader-command>",
"fallback": {
"provider": "<provider>",
"model": "<model>"
}
}
5 changes: 5 additions & 0 deletions scripts/check_privacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
("CGNAT address", re.compile(r"(?<![\d.])100\.(?:6[4-9]|[7-9]\d|1[01]\d|12[0-7])\.\d{1,3}\.\d{1,3}(?!\d|\.\d)")),
]
SAFE_ENV_SUFFIXES = (".example", ".sample", ".template")
PRIVATE_CONFIG_FILES = frozenset({"rig.json", "profile.toml"})


def forbidden_file(path: str) -> str | None:
Expand All @@ -47,6 +48,10 @@ def forbidden_file(path: str) -> str | None:
return f"secret file ({prefix})"
if name in (".netrc", ".npmrc"):
return f"secret file ({name})"
# Personal rig and profile files hold local tool names and endpoints.
# Names like rig.example.json are different names and stay allowed.
if name in PRIVATE_CONFIG_FILES:
return f"private config file ({name})"
return None


Expand Down
Loading
Loading