Commit Graph
336 Commits
Author SHA1 Message Date
bchanot 177502139d fix(hooks): digest keeps the journal line under the cap 2026-11-05 17:11:45 +01:00
bchanot 4928c0e5e7 feat(hooks): memory digest at session start 2026-11-05 17:03:23 +01:00
bchanot 38afa9325d feat(memory): status reader through memory.sh, entries with lessons 2026-11-05 16:06:09 +01:00
bchanot 0ca453f044 fix(hooks): extract-guard keeps <name> placeholders as words 2026-11-05 14:43:48 +01:00
bchanot f02fd8a5db fix(hooks): extract-guard 64 KiB cap, $"…" quotes, expansion-built names in MISSES 2026-11-05 14:33:01 +01:00
bchanot cf9a3b8ea7 fix(hooks): extract-guard gate findings (size cap, control bytes, obfuscated names, globs, cpio -p, subshell cd) 2026-11-05 09:51:53 +01:00
bchanot 5507972d3a feat(hooks): extract-guard refuses package/archive extraction into system dirs
PreToolUse Bash|Monitor hook: dpkg/dpkg-deb -x, tar x, unzip, cpio -i and cp -r
into /, /usr, /etc or another system root, including inside quoted ssh,
vaas-cli ssh and bash -c scripts; doctrine bullet in Destructive tools.
2026-11-05 00:24:45 +01:00
bchanot a403df2472 docs: security gate — data rule in § WRITE, spike probe header, redaction set
capitalize-commit § WRITE: captured text only via a quoted heredoc body
file. Spike probe flagged do-not-load, job path generic. noise.py port
scope stated. README, USAGE, CHANGELOG list the 6-bis redaction shapes.
2026-11-04 14:42:15 +01:00
bchanot db2937d8b7 fix(code-limits): resolve physical path so symlinked dirs see tracked files 2026-11-02 19:56:11 +01:00
bchanot c58b3e7a58 fix(test): rtk pin check falls back to shasum on macOS 2026-11-02 19:50:42 +01:00
bchanot 9887c146a3 test(push-guard): T62 rtk read twins census, T63 phase 2 rule lock (red until settings land) 2026-11-02 18:43:23 +01:00
bchanot f21e2655ab feat(hooks): code-limits PostToolUse reports added lines over 80 columns in our code, once per file per session 2026-11-02 18:38:38 +01:00
bchanot 60ee4a996e fix(rtk-hook): rtk ask (rc 3) passes the original command to the native rules; re-pin 2026-11-02 18:33:55 +01:00
bchanot 789fd00b23 docs: README ask-before-Fable bullet, /route list and config keys; CHANGELOG Unreleased; effort-shift toggle list — feat router-ask-tier 2026-11-02 16:06:40 +01:00
bchanot 04635833a2 fix(migration,profile): recipe resolves the clone root and fails closed before cp; find -mindepth 1; grep -F id match; local JSON on stdin; -L guard before the impeccable refresh 2026-11-02 12:21:10 +01:00
bchanot 94ce345aa2 docs(phase5): higgsfield citers, MIGRATION fenced steps + real-dir impeccable, gate header, /profile allowed-tools, wording 2026-11-02 11:48:46 +01:00
bchanot 9327b4fcd0 fix(census,install): moved dirs scanned, real-dir remedy, impeccable adoption, retired list carries its rationale
Census scans the four moved dirs and bare skills/<n>/ citers, warns on
a pack id with no manifest, refuses equal fragments. Installers adopt a
real skills/impeccable with mv, never rm.
2026-11-02 11:48:46 +01:00
bchanot 9baba8a88a fix(profile): root follows the git common dir, managed-connector match, name allowlist, nine profiles
backend and web-full were identical to dev and full: removed. Root =
parent of the git common dir (worktree-safe, stops at HOME); shared
settings read from the -C dir. diff and unset skip no-op output/writes;
flag note says the write applies to other sessions only.
2026-11-02 11:48:36 +01:00
bchanot cfdbf228ca fix(phase5): routing test: 21st parked rows resolve on a fresh clone 2026-11-02 09:48:05 +01:00
bchanot 04b9b865f8 fix(phase5): final review wave: cc.sh width, design-gate remedy + resolve check, routing test on a fresh clone, doctor fail-closed, dead column 2026-11-02 09:47:13 +01:00
bchanot 1fb07050da chore(routing): skill census globs pack skills; long-name rows for pack skills; every row resolves to a skill 2026-11-02 01:38:59 +01:00
bchanot 6509ab2958 feat(hooks,doctor): statusline and banner read profile.sh current --plain once; doctor runs the pack census and checks cc.sh sourcing, user-scope residue and the opus default 2026-11-02 01:34:50 +01:00
bchanot 58958229d9 docs(plugin-gate): probe reads current --plain, advisor emits profile.sh set/enable, /profile rewritten for packs 2026-11-02 01:31:35 +01:00
bchanot 350e658b60 feat(design-gate): the gate reads profile.sh current --plain; remedy is set web / enable design + reload, or a relaunch under --settings 2026-11-02 01:29:42 +01:00
bchanot ddd2cdb3ac feat(cc): cc <name> [profile] runs claude --settings lib/profiles/<profile>.json and exports CLAUDE_PROFILE* 2026-11-02 01:27:36 +01:00
bchanot babf232594 feat(packs): nine skills-dir packs, profiles as settings fragments, profile.sh on one jq pass; symlink toggling and toggle-external retired 2026-11-02 01:25:36 +01:00
bchanot dfbc8a7e4e docs(memory): § WRITE says -C cds first and --body-file is absolute; tour/deploy/audit-delta point at § WRITE; evals template Later status line
Phase 4a parked minors, doc half.
2026-11-01 12:08:48 +01:00
bchanot 18e63705c5 docs: memory-v2-minors — add refusal, rc 6 causes and partial stages, negated status words 2026-11-01 11:45:50 +01:00
bchanot 48ade8f405 style(lib): reflow reconcile.sh and memory-commit.sh under 80 bytes
Comment reflow and line breaks only; `declare -f` output identical
except two hand-reviewed string splits with identical output. Also
refreshes two stale reconcile.sh comments (status source on v1 vs v2,
`## ID` headings only).
2026-11-01 11:39:58 +01:00
bchanot e4fb8f7670 fix(memory): phase 4a minors — negated status words, dead empty steal, body heading, blob errors, dropped partial stages
- status parser: a word negated in its clause (not|no|never|pas, at most
  one word between, no `, ; . : ( ) -> → —`) is not a status; shared by
  the v2 parser and the v1 legacy word reader, so `upgrade` refuses a
  "not resolved yet" instead of writing resolved
- lock: an empty memory.lock.steal older than 60 s is a dead stealer
- add: refuse an unfenced `## ` body line (rc 2, line named)
- _mem_blob: rc 1 absent, rc 2 read error; check --staged refuses rc 2
- memory-commit rc 6 names each dropped partial stage with its blob id
  and a `git update-index --cacheinfo` restore line
- upgrade header: a non-table `## Index` is refused (rc 2)
Tests: memory.test.sh T17 block, run-deterministic rc 6 partial-stage case.
2026-11-01 11:39:51 +01:00
bchanot 5bd0de4498 test(citers): census reads nested lib paths, home prefixes, project rules and templates
A bare .claude/rules/ citation resolves by citer (this repo's own rules, else templates/project-rules); T3 keeps its roots, T6 also scans templates/ and .claude/rules/.
2026-10-31 16:08:00 +01:00
bchanot 2dae5282f6 fix(memory): upgrade refuses a prose or mixed v1 closure instead of writing resolved
The repair copied the v1 reader's lexical verdict, read the verdict diff while rewriting the file, and listed same-ID sub-headings twice. It now writes only a single closed word from a Status label, names and refuses the rest, and asserts one upgrade line per entry.
2026-10-30 20:23:40 +01:00
bchanot 657e5cb55b feat(router): a bare /model opens the router's model, variant and scope dialog
Picking the session's current model in the native picker fires no PreModelSwitch, so the scope question never came and the project pin stayed. The bare /model now asks model (fable/opus/sonnet or the native picker), Standard or [1m], then the scope.
2026-10-29 17:25:36 +01:00
bchanot 789a2b2027 fix(doctrine): final-review wave — Supabase/functions pointers say Read before a new file, graphify/API/ship-feature wording 2026-10-29 13:51:53 +01:00
bchanot c4f3f0b17b feat(memory): autoMemoryEnabled false; doctor warns on leftover auto-memory files 2026-10-29 13:10:44 +01:00
bchanot 363fa90f8f test(census): resolve rules/ and lib/ § citations against their file 2026-10-29 13:08:36 +01:00
bchanot 6a642956d8 test(rules): user-rules suite locks the always-on set; engine matching documented 2026-10-29 13:05:17 +01:00
bchanot 2fe5291a13 feat(doctrine): architecture defaults move to lib/architecture-defaults.md, Web APIs to rules/rest-api.md 2026-10-29 13:00:58 +01:00
bchanot de6e51ce7a feat(graphify): usage rules print from session-start only where a graph exists 2026-10-29 12:58:53 +01:00
bchanot 4bbb3c58d4 feat(design): Design work moves to rules/web-building.md, hook points there and skips sub-agent hand-backs 2026-10-29 12:56:58 +01:00
bchanot aab9e4d9a0 fix(memory): bounded lock loop, entry-ID validation, refuse a non-table Index, check refuses nothing-to-check, Date label spacing 2026-10-28 18:28:54 +01:00
bchanot 28c5a4209b fix(memory): resolve the lib dir before -C so upgrade finds the templates from a relative path 2026-10-28 17:53:48 +01:00
bchanot 7806ab426b fix(memory): upgrade keeps an EVAL Index action the body lacks; lib lines ≤ 80 2026-10-28 17:25:36 +01:00
bchanot c742b1f322 fix(memory): upgrade-side v1 reader skips status lines inside code fences 2026-10-28 16:23:33 +01:00
bchanot 197b899c3f fix(memory): upgrade-side v1 range ignores headings inside code fences 2026-10-28 16:01:22 +01:00
bchanot 7b26000f48 fix(memory): upgrade reads each entry's v1 status within its own range 2026-10-28 15:16:31 +01:00
bchanot fdba49d6a8 fix(memory): upgrade never repairs an entry the v1 reader could not see; RECONCILE_GREP honoured 2026-10-28 14:57:05 +01:00
bchanot 18d1c0b6bc feat(memory): upgrade migrates every v1 dialect — headings normalized, frontmatter added, verdict oracle 2026-10-28 14:34:48 +01:00
bchanot f15c360b95 docs(memory): one WRITE section in capitalize-commit.md, every flow cites it; Index steps removed; doctrine names the single writer 2026-10-28 14:19:21 +01:00
bchanot 6c9bb7c58b feat(memory): templates born v2 (format: 2, no Index); session banner names a v1 registry 2026-10-28 14:16:50 +01:00