Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
d111802
docs: add versioned agent-client capability matrix and policy controls
roodboi Oct 12, 2026
58c485a
fix(mcp): harden run argv and tool input contract
roodboi Oct 12, 2026
c6c0db3
fix(env): harden legacy env key files and AES-GCM envelope parsing
roodboi Oct 12, 2026
de862d7
Merge remote-tracking branch 'origin/next' into w14-rework
roodboi Oct 12, 2026
dc88c6b
Merge remote-tracking branch 'origin/next' into w06-rework
roodboi Oct 12, 2026
ffeecce
fix(agents): generate capability matrix doc and parse all guidance co…
roodboi Oct 12, 2026
56bac3a
fix(mcp): make typed refusals value-free and keep unknown-tool in-band
roodboi Oct 12, 2026
12e80af
chore: merge origin/next into wf/w15-w5-6
roodboi Oct 12, 2026
cd76b26
test(env): pin AES-GCM IV, size and tag-length guards with discrimina…
roodboi Oct 12, 2026
bcf88ec
fix(init): stop writing repo-local agent files by default
roodboi Oct 12, 2026
c005262
fix(env): resolve --env base and default the same way on every command
roodboi Oct 12, 2026
6136946
fix(agents): count corrupted and unreadable integrations as drift
roodboi Oct 12, 2026
9854d1b
test(env): pin the console logger backend for CLI refusal tests
roodboi Oct 12, 2026
6e1ff63
test(mcp): assert closed ambiguous_project refusal in project-name suite
roodboi Oct 12, 2026
1f8b51e
chore(x01): temporary witness cost trace for hosted measurement
roodboi Oct 12, 2026
0911e6d
perf(storage): coalesce witness helper work per native command
roodboi Oct 12, 2026
eb9a678
chore(x01): revert temporary witness cost trace
roodboi Oct 12, 2026
7b2ccfc
test(e2e): restore the networks scenario budget after witness coalescing
roodboi Oct 12, 2026
fa7741c
Merge remote-tracking branch 'origin/next' into wf/x03-witness-probes
roodboi Oct 12, 2026
37f093a
perf(storage): make witness engine and executable fences cheaper
roodboi Oct 12, 2026
6a4e118
chore(x03): temporary witness probe trace for hosted measurement
roodboi Oct 12, 2026
2b11ed3
fix(storage): keep closed probe cancellation for direct engine-ID fences
roodboi Oct 12, 2026
a777bc4
test(storage): pin witness fence counts and refusal controls
roodboi Oct 12, 2026
994ddb8
chore(x03): revert temporary witness probe trace
roodboi Oct 12, 2026
3edbd54
feat(agents): package offline skill references and the HACK-P pattern…
roodboi Oct 12, 2026
726cc27
test(e2e): add agent-surface-freeze negative control for guidance writes
roodboi Oct 12, 2026
9b971fa
ci: add gated Bun crash experiment and read-only crash census
roodboi Oct 12, 2026
1342871
perf(storage): read engine identity directly for docker context selec…
roodboi Oct 12, 2026
c2ecf9c
chore(x04): temporary witness probe trace for hosted measurement
roodboi Oct 12, 2026
5cf9f0f
chore(x04): revert temporary witness probe trace
roodboi Oct 12, 2026
ebe0539
test(agents): cover reference generation and reference-style and HTML…
roodboi Oct 12, 2026
6b54980
test: keep the Bun crash loop tests free of real crash reports
roodboi Oct 12, 2026
7a05b84
Merge branch 'next' into wf/w15-w5-6
roodboi Oct 12, 2026
c00468c
Merge branch 'next' into wf/w06-w5-3
roodboi Oct 12, 2026
e9b1252
Merge branch 'next' into wf/w13-w5b-2
roodboi Oct 12, 2026
af786b5
Merge branch 'next' into wf/w10-w5b-0
roodboi Oct 12, 2026
9db4dba
Merge branch 'next' into wf/w14-w5-5
roodboi Oct 12, 2026
5a731cc
Merge remote-tracking branch 'origin/wf/w06-w5-3' into train/queue-pr…
roodboi Oct 12, 2026
38d9d7f
Merge remote-tracking branch 'origin/wf/w14-w5-5' into train/queue-pr…
roodboi Oct 12, 2026
d50e935
Merge remote-tracking branch 'origin/wf/w15-w5-6' into train/queue-pr…
roodboi Oct 12, 2026
8bab674
Merge remote-tracking branch 'origin/wf/w10-w5b-0' into train/queue-p…
roodboi Oct 12, 2026
26958c9
Merge remote-tracking branch 'origin/wf/w13-w5b-2' into train/queue-p…
roodboi Oct 12, 2026
07a1834
Merge remote-tracking branch 'origin/wf/w07-w6-3' into train/queue-pr…
roodboi Oct 12, 2026
a92e3ab
Merge remote-tracking branch 'origin/wf/w02-w6-1' into train/queue-pr…
roodboi Oct 12, 2026
3e261d5
Merge remote-tracking branch 'origin/wf/w05-w6-2' into train/queue-pr…
roodboi Oct 12, 2026
6b22e00
test(patterns): add validated HACK-P01 and HACK-P02 example fixtures
roodboi Oct 12, 2026
b07121f
feat(exec): warn value-free when a running service's env changed sinc…
roodboi Oct 12, 2026
9f20366
fix(env): write .hack/.env and the encrypted store atomically with 0600
roodboi Oct 12, 2026
e2f063b
feat(agents): add focused hack-branches, hack-env and hack-diagnose p…
roodboi Oct 12, 2026
42e7b3b
fix(mcp): separate log cutoffs from backend failures
roodboi Oct 12, 2026
e32b528
feat(agents): ship a skills-only hack plugin and an opt-in hack-mcp p…
roodboi Oct 12, 2026
e2c41a9
fix(mcp): align budget docs with log cutoffs and keep byte-cut failures
roodboi Oct 12, 2026
cea44f8
feat(mcp): add exec, doctor, env explain/keys and instances tools
roodboi Oct 12, 2026
85c67b0
fix(ci): allowlist the synthetic MCP inspect-tool canary for gitleaks
roodboi Oct 12, 2026
10b6d73
fix(agents): point the env matrix bullet at the offline env guide
roodboi Oct 12, 2026
77da332
Merge remote-tracking branch 'origin/wf/w13-w5b-2' into train/queue-p…
roodboi Oct 12, 2026
4e3acee
test(exec): cover failed targeted restart env digest handling
roodboi Oct 12, 2026
cb665d5
fix(env): scope the env-file symlink refusal doc to write paths
roodboi Oct 12, 2026
3a6f73c
docs(mcp): clarify which instances hack.project.instances lists
roodboi Oct 12, 2026
60acda4
test(agents): assert plugin-default and no-write agent setup rules
roodboi Oct 12, 2026
c2b41ff
chore: merge train/queue-preview into wf/y3-envfile-b6
roodboi Oct 12, 2026
d9a5627
chore: merge train/queue-preview into wf/y1-logs-b6
roodboi Oct 12, 2026
8031f28
chore: merge train/queue-preview into wf/w08-b6
roodboi Oct 12, 2026
09b4e83
Merge remote-tracking branch 'origin/train/queue-preview' into wf/y4-…
roodboi Oct 12, 2026
5afaf19
Merge remote-tracking branch 'origin/train/queue-preview' into wf/y5-…
roodboi Oct 12, 2026
c998a9a
Merge remote-tracking branch 'origin/train/queue-preview' into wf/w09-b6
roodboi Oct 12, 2026
36cd272
test(e2e): keep Hack diagnostics out of exec-stale-env probe output
roodboi Oct 12, 2026
b9ae28c
chore: merge wf/y1-logs-b6 into wf/y2-mcptools-b6
roodboi Oct 12, 2026
919de8b
test(e2e): reproduce dependency config-hash drift for hack run/exec
roodboi Oct 12, 2026
de55236
feat(env): accept secret values on stdin with --value-stdin
roodboi Oct 12, 2026
5078855
feat(doctor): add value-free env key strength diagnostic
roodboi Oct 12, 2026
19726d3
feat(setup): make setup sync refresh-only with --install-missing opt-in
roodboi Oct 12, 2026
5f8cb79
fix(logger): pass messages to gum after an end-of-options marker
roodboi Oct 12, 2026
378f75f
fix(env): refuse invalid env key arguments without echoing them
roodboi Oct 12, 2026
4acac81
fix(env): refuse env scope arguments without echoing them
roodboi Oct 12, 2026
b1bc6db
fix(env): refuse value-bearing --env, --project and --target without …
roodboi Oct 12, 2026
0a26c64
Merge branch 'next' into wf/c5-confighash-b7
roodboi Oct 12, 2026
07413d0
Merge branch 'next' into wf/c4-keydiag-b7
roodboi Oct 12, 2026
6a043c0
Merge branch 'next' into wf/c6-gum-dash-b7
roodboi Oct 12, 2026
13165f9
Merge branch 'next' into wf/y4-patterns-b6
roodboi Oct 12, 2026
92c2ee1
Merge branch 'next' into wf/y5-staleenv-b6
roodboi Oct 12, 2026
4243d60
Merge branch 'next' into wf/y3-envfile-b6
roodboi Oct 12, 2026
7425da0
Merge branch 'next' into wf/w08-b6
roodboi Oct 12, 2026
c044445
Merge branch 'next' into wf/y1-logs-b6
roodboi Oct 12, 2026
0c93ddc
Merge branch 'next' into wf/w09-b6
roodboi Oct 12, 2026
99d3edb
Merge branch 'next' into wf/c2-sync-b7
roodboi Oct 12, 2026
6dadbe5
Merge branch 'wf/y1-logs-b6' into wf/y2-mcptools-b6
roodboi Oct 12, 2026
ed7d2f4
Merge branch 'next' into wf/c1-stdin-b7
roodboi Oct 12, 2026
989fcea
Merge branch 'wf/c6-gum-dash-b7' into wf/y3-envfile-b6
roodboi Oct 12, 2026
c6055dd
Merge branch 'wf/y3-envfile-b6' into wf/c4-keydiag-b7
roodboi Oct 12, 2026
6a754df
Merge branch 'wf/c4-keydiag-b7' into wf/y4-patterns-b6
roodboi Oct 12, 2026
ef04f02
Merge branch 'wf/y4-patterns-b6' into wf/c5-confighash-b7
roodboi Oct 12, 2026
b0cde14
Merge branch 'wf/c5-confighash-b7' into wf/y5-staleenv-b6
roodboi Oct 12, 2026
5a258e6
Merge branch 'wf/y5-staleenv-b6' into wf/y1-logs-b6
roodboi Oct 12, 2026
642775e
Merge branch 'wf/y1-logs-b6' into wf/y2-mcptools-b6
roodboi Oct 12, 2026
2fa96a2
Merge branch 'wf/y2-mcptools-b6' into wf/c1-stdin-b7
roodboi Oct 12, 2026
30936fe
Merge branch 'wf/c1-stdin-b7' into wf/w08-b6
roodboi Oct 12, 2026
94cdb85
Merge branch 'wf/w08-b6' into wf/w09-b6
roodboi Oct 12, 2026
210a0ca
Merge branch 'wf/w09-b6' into wf/c2-sync-b7
roodboi Oct 12, 2026
63e1d39
test(native): use a canonical overlay name in the env selection case
roodboi Oct 12, 2026
6ecf485
Merge branch 'wf/c1-stdin-b7' into wf/w08-b6
roodboi Oct 12, 2026
93ed49c
Merge branch 'wf/w08-b6' into wf/w09-b6
roodboi Oct 12, 2026
da8ff02
Merge branch 'wf/w09-b6' into wf/c2-sync-b7
roodboi Oct 12, 2026
1de4759
Merge branch 'next' into wf/c2-sync-b7
roodboi Oct 12, 2026
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
4 changes: 2 additions & 2 deletions .codex/skills/hack-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use `hack` as the primary interface for local-first development.

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

## Product boundary

Expand Down Expand Up @@ -182,7 +182,7 @@ Use `hack` as the primary interface for local-first development.
## Agent integration maintenance

- Ordinary Hack commands, `hack update`, `hack doctor --fix`, and primer hooks never install plugins or mutate agent integration files.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh; it refreshes only installed Hack-owned files and creates missing integrations only with `--install-missing`.
- Standalone setup and optional native plugins are alternative integration paths. A missing optional integration does not require installation. Verify the replacement loads before explicitly removing duplicate Hack-owned entries; preserve customizations.
- CLI upgrades do not authorize integration changes. Edit guidance at its generator source and render the affected targets; restart only if the client cannot reload the changed hooks or skills.

Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/hack.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Prefer `hack` when shell access is available. Use MCP only when shell access is

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

## Product boundary

Expand Down Expand Up @@ -77,7 +77,7 @@ Prefer `hack` when shell access is available. Use MCP only when shell access is
## Agent integration maintenance

- Ordinary Hack commands, `hack update`, `hack doctor --fix`, and primer hooks never install plugins or mutate agent integration files.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh; it refreshes only installed Hack-owned files and creates missing integrations only with `--install-missing`.
- Standalone setup and optional native plugins are alternative integration paths. A missing optional integration does not require installation. Verify the replacement loads before explicitly removing duplicate Hack-owned entries; preserve customizations.
- CLI upgrades do not authorize integration changes. Edit guidance at its generator source and render the affected targets; restart only if the client cannot reload the changed hooks or skills.

Expand Down
4 changes: 3 additions & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ the Hack CLI version that generated them. Plain `hack agent prime` prints curren
an integration scan. Use `hack agent prime --check` for an explicit project/global inventory or a
targeted `hack setup ... --check` when diagnosing drift. Missing optional integrations do not
require installation. Repair only affected targets within the authorized scope; use
`hack setup sync --all-scopes` for an explicitly requested full refresh. Read updated guidance after
`hack setup sync --all-scopes` for an explicitly requested full refresh. Sync refreshes only installed
Hack-owned integrations; add `--install-missing` to create missing ones (see
[integration setup](integrations.md#refresh-only-hack-setup-sync)). Read updated guidance after
repair; restart only if the client cannot reload changed hooks or skills.
Ordinary commands, `hack update`, and `hack doctor --fix` never render, repair, remove, or otherwise
mutate integration files. CLI upgrades do not trigger integration updates.
Expand Down
40 changes: 36 additions & 4 deletions docs/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ What remains:
export commands

`hack setup sync` keeps interactive output compact: it summarizes each scope and only expands the
path and reason for stale, missing, or failed artifacts. Exit status remains the automation contract,
and the individual `hack setup cursor|claude|codex|agents|mcp --check` commands remain available when
you need per-artifact detail.
path and reason for preserved or failed artifacts (and, with `--check`, the ones sync would change).
Exit status remains the automation contract, `--json` lists every target, and the individual
`hack setup cursor|claude|codex|agents|mcp --check` commands remain available when you need
per-client detail.

What does not ship: Hack Tickets, built-in GitHub or Linear integrations, hosted
auth/account/org/team surfaces, and the web dashboard control plane.
Expand Down Expand Up @@ -48,7 +49,38 @@ files Hack owns: the current render or an unedited render from an earlier releas
unrecognized `SKILL.md` or `hack.mdc` is reported as `preserved` with a reason and left unchanged;
move or delete it yourself to reinstall. Removal deletes only the owned `SKILL.md` and removes its
skill directory only when nothing else is in it. Claude hook removal drops only the
`hack agent prime` entries and keeps other commands. Preserved files do not change the exit status.
`hack agent prime` entries and keeps other commands. Preserved files do not change the exit status
of an install, sync, or remove.

### Refresh-only `hack setup sync`

`hack setup sync` refreshes only integrations that are already installed and Hack-owned. It never
creates a missing one. Per target, in the selected scope (project by default, `--global`, or
`--all-scopes`):

| Status | Meaning |
| --- | --- |
| `refreshed` | An installed Hack-owned target was rewritten to the current render |
| `unchanged` | The target already matches the current render |
| `preserved` | The file is customized or unrecognized; it is left byte-identical and the closed reason is reported |
| `missing` | The target is not installed; sync skipped it |
| `installed` | Created only with `--install-missing` |
| `removed` | A recognized retired Hack artifact was deleted (or, with `--remove`, a Hack-owned target) |
| `error` | The target could not be read or parsed; it is left unchanged |

Hack-owned means: a current or known earlier render of a standalone skill or rule file; the
marker-delimited section of `AGENTS.md`/`CLAUDE.md`; the `hack agent prime` entries of the Claude
settings file; and the `hack` entry of an MCP config. A doc, settings file, or MCP config without
the Hack section counts as `missing`, so the file is not modified. Existing MCP entries are
never replaced.

Add `--install-missing` to also create missing integrations in the selected scope; customized
files stay `preserved`. `--check` is read-only: it reports what sync would do with the same flags
and exits non-zero when sync would refresh, install, or remove something, a file is preserved,
or a target errors. A missing target fails `--check` only together with `--install-missing`.
`--json` prints `{ok, data: {action, dryRun, installMissing, counts, targets}}`, where each
target carries `scope`, `target`, `path`, `status`, and, when preserved, `reason`. Messages are
fixed text and never include file contents.

## Standalone MCP configuration

Expand Down
6 changes: 4 additions & 2 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ hack setup <subcommand> [options]
| `hack setup claude` | Install Claude Code hooks for hack CLI usage |
| `hack setup codex` | Install Codex skill for hack CLI usage |
| `hack setup agents` | Install AGENTS.md / CLAUDE.md snippets for hack CLI usage |
| `hack setup sync` | Refresh project/global agent guidance |
| `hack setup sync` | Refresh installed Hack-owned agent integrations |
| `hack setup mcp` | Install MCP configs for hack CLI usage (no-shell only) |

### Options
Expand Down Expand Up @@ -1924,7 +1924,7 @@ hack setup agents [options]

## `hack setup sync`

Refresh project/global agent guidance
Refresh installed Hack-owned agent integrations

### Usage

Expand All @@ -1939,8 +1939,10 @@ hack setup sync [options]
| `--path, -p <dir>` | Run a project command against a repo path (overrides cwd search) |
| `--global` | Use global (user) scope instead of project scope |
| `--all-scopes` | Target both project and global (user) scopes |
| `--install-missing` | Also create missing integrations in the selected scope (default: refresh only installed Hack-owned files) |
| `--check` | Check whether integration is installed |
| `--remove` | Remove integration files/config |
| `--json` | Output JSON (machine-readable) |
| `--no-interactive` | Never prompt: apply documented defaults or fail with E_INTERACTIVE_REQUIRED (also via HACK_NO_INTERACTIVE=1) |
| `--help, -h` | Show help |
| `--version, -v` | Show version |
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Use `hack` as the single interface for local-first runtime orchestration (compos
Integration freshness:
- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

Product boundary:
- Supported CLI surface: project init, up/down/restart, open, logs, env, host exec/shell, sessions, doctor, and daemon.
Expand Down Expand Up @@ -154,7 +154,7 @@ Daemon (optional):

Agent integration maintenance:
- Ordinary Hack commands, `hack update`, `hack doctor --fix`, and primer hooks never install plugins or mutate agent integration files.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh; it refreshes only installed Hack-owned files and creates missing integrations only with `--install-missing`.
- Standalone setup and optional native plugins are alternative integration paths. A missing optional integration does not require installation. Verify the replacement loads before explicitly removing duplicate Hack-owned entries; preserve customizations.
- CLI upgrades do not authorize integration changes. Edit guidance at its generator source and render the affected targets; restart only if the client cannot reload the changed hooks or skills.

Expand Down
4 changes: 2 additions & 2 deletions examples/basic/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Use `hack` as the single interface for local-first runtime orchestration (compos
Integration freshness:
- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

Product boundary:
- Supported CLI surface: project init, up/down/restart, open, logs, env, host exec/shell, sessions, doctor, and daemon.
Expand Down Expand Up @@ -154,7 +154,7 @@ Daemon (optional):

Agent integration maintenance:
- Ordinary Hack commands, `hack update`, `hack doctor --fix`, and primer hooks never install plugins or mutate agent integration files.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh; it refreshes only installed Hack-owned files and creates missing integrations only with `--install-missing`.
- Standalone setup and optional native plugins are alternative integration paths. A missing optional integration does not require installation. Verify the replacement loads before explicitly removing duplicate Hack-owned entries; preserve customizations.
- CLI upgrades do not authorize integration changes. Edit guidance at its generator source and render the affected targets; restart only if the client cannot reload the changed hooks or skills.

Expand Down
4 changes: 2 additions & 2 deletions plugins/hack/rules/hack.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Prefer `hack` when shell access is available. Use MCP only when shell access is

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

## Product boundary

Expand Down Expand Up @@ -82,7 +82,7 @@ Prefer `hack` when shell access is available. Use MCP only when shell access is
## Agent integration maintenance

- Ordinary Hack commands, `hack update`, `hack doctor --fix`, and primer hooks never install plugins or mutate agent integration files.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh; it refreshes only installed Hack-owned files and creates missing integrations only with `--install-missing`.
- Standalone setup and optional native plugins are alternative integration paths. A missing optional integration does not require installation. Verify the replacement loads before explicitly removing duplicate Hack-owned entries; preserve customizations.
- CLI upgrades do not authorize integration changes. Edit guidance at its generator source and render the affected targets; restart only if the client cannot reload the changed hooks or skills.

Expand Down
2 changes: 1 addition & 1 deletion plugins/hack/skills/hack-branches/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ description: >

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).
4 changes: 2 additions & 2 deletions plugins/hack/skills/hack-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Use `hack` as the primary interface for local-first development.

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

## Product boundary

Expand Down Expand Up @@ -184,7 +184,7 @@ Use `hack` as the primary interface for local-first development.
## Agent integration maintenance

- Ordinary Hack commands, `hack update`, `hack doctor --fix`, and primer hooks never install plugins or mutate agent integration files.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh.
- Use the matching `hack setup` command only for the affected client and authorized project scope; add `--global` only when user-scope changes are authorized. Use `--check` for read-only inspection. Reserve `hack setup sync --all-scopes` for an explicitly requested full refresh; it refreshes only installed Hack-owned files and creates missing integrations only with `--install-missing`.
- Standalone setup and optional native plugins are alternative integration paths. A missing optional integration does not require installation. Verify the replacement loads before explicitly removing duplicate Hack-owned entries; preserve customizations.
- CLI upgrades do not authorize integration changes. Edit guidance at its generator source and render the affected targets; restart only if the client cannot reload the changed hooks or skills.

Expand Down
2 changes: 1 addition & 1 deletion plugins/hack/skills/hack-diagnose/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ description: >

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).

## References

Expand Down
2 changes: 1 addition & 1 deletion plugins/hack/skills/hack-env/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ description: >

- These instructions were generated by hack CLI v4.2.1; use the content revision and command behavior to assess freshness.
- Check guidance only when Hack is relevant and there is evidence of drift; use targeted `hack setup` checks for a read-only inventory. Routine tasks do not require a startup audit.
- Content revision: `5c5c3c9fffea` (version alone is not a freshness guarantee).
- Content revision: `5108f34edd26` (version alone is not a freshness guarantee).
Loading
Loading