Commit Graph
100 Commits
Author SHA1 Message Date
bchanot 038670e4e8 docs: digest unknown line also covers an unparsable BLK row; changelog for index fail-closed 2026-11-15 20:40:28 +01:00
bchanot 07f9a7feb7 chore(audits): mark memory_index fail-open fixed, log its residuals 2026-11-15 19:35:34 +01:00
bchanot 87aecc1212 fix(memory): index fails closed on an unreadable registry
memory_index skipped a non-regular blockers.md and dropped the awk rc, so the digest printed a false '- open: none'. With a kind it now returns 2; without, it skips the bad registry with a stderr line. The digest prints unknown on a malformed row.
2026-11-15 19:35:15 +01:00
bchanot 2315a0b33a Merge bugfix/line-width-80 into develop 2026-11-15 16:40:19 +01:00
bchanot e5b521251f chore(memory): line width journal 2026-11-15 15:56:41 +01:00
bchanot 21ef47fd81 fix(style): wrap 4 lines over 80 columns in register.ts and transcripts.ts 2026-11-15 15:56:40 +01:00
bchanot b03aced358 Merge bugfix/docker-mount-deny into develop 2026-11-15 15:36:13 +01:00
bchanot e45bd5dd80 chore(memory): docker deny journal 2026-11-15 15:33:25 +01:00
bchanot a308a022b7 docs: docker host-root mount deny in CHANGELOG and SETTINGS 2026-11-15 15:33:24 +01:00
bchanot 0f73d7ee01 fix(settings): deny docker mounts of the host root in 7 spellings
The single legacy row matched no real spelling (bench M5). 28 rows (7 shapes x 4 prefixes, bench-proven with an echo analogue) now deny them; soft_deny covers create, container run and compose up; T41 locks the rows.
2026-11-15 15:22:34 +01:00
bchanot 1943e4a561 chore(memory): live proofs oom 500 and npm -g 2026-11-14 18:53:33 +01:00
bchanot d11b048a4d Merge bugfix/mods-test-tty-hang into develop 2026-11-14 18:48:51 +01:00
bchanot adc0dff72d chore(memory): mods tty hang journal, LRN 2026-11-14 18:48:43 +01:00
bchanot 87b3530b29 fix(tests): mods suite hung in a terminal, CLI under timeout now reads /dev/null 2026-11-14 18:48:41 +01:00
bchanot 8db4a52d72 chore(memory): E3 merged, journal 2026-11-14 18:32:04 +01:00
bchanot 98e1800baa Merge bugfix/npm-global-deny into develop 2026-11-14 18:31:56 +01:00
bchanot 692e4a5a24 fix(settings): npm -g left to the auto-mode soft_deny 2026-11-14 18:31:44 +01:00
bchanot e78872e8a8 chore(tasks): E3 line, removed_ok_until stays 3.0.0 2026-11-14 13:11:38 +01:00
bchanot f8d493507a Merge chore/bdr125-close into develop 2026-11-14 13:07:49 +01:00
bchanot 4f33f38d25 chore(memory): EVAL-059, J closed — close ritual 2026-11-14 12:54:47 +01:00
bchanot 69eb53f374 docs: changelog, BDR-125 delivered, H6a and BLK-049 lines 2026-11-14 12:54:33 +01:00
bchanot 2bef08a6f8 chore(audits): D4 dialect and drift-check items closed with justification (BDR-125 close-out) 2026-11-14 12:52:42 +01:00
bchanot 173e1f97bf Merge bugfix/perl-timeout-group into develop 2026-11-14 12:24:43 +01:00
bchanot f7a6598518 chore(memory): perl runner journal, LRN-290, phase 4b-4d closed 2026-11-14 11:28:07 +01:00
bchanot 721a2ca2bc chore(audits): perl runner KILL-without-grace finding logged 2026-11-14 11:28:06 +01:00
bchanot e40811ef52 docs: changelog, perl runner kills the process group 2026-11-14 11:28:06 +01:00
bchanot 490ad8353d fix(session-start): perl fallback runner kills the command's process group
alarm then exec killed one process: a child holding the captured pipe kept the 2 s bound open. perl now leads its own group, kills it at the deadline and TERMs leftovers; SD19/SD19b assert the bound and that the command ran.
2026-11-14 11:27:15 +01:00
bchanot cce1a1304c Merge bugfix/doctor-skilloverrides-residue into develop 2026-11-14 11:06:16 +01:00
bchanot d6010062cd chore(memory): H7 journal, H/I TODO closed, bisect files 2026-11-14 10:40:56 +01:00
bchanot 8dcee03e47 docs: doctor residue check covers skillOverrides, MIGRATION step 1 restores both keys (H7) 2026-11-14 10:40:51 +01:00
bchanot 313b1573bb chore(audits): doctor echo -e escape finding logged (H7) 2026-11-14 10:38:58 +01:00
bchanot 9c9a0240f7 fix(doctor): residue check covers skillOverrides, not only enabledPlugins 2026-11-14 10:38:57 +01:00
bchanot 457fa33aaa Merge bugfix/bugs-found-scripts into develop 2026-11-14 10:33:23 +01:00
bchanot d1b9e9df06 chore(memory): H6b journal, LRN-289 2026-11-13 23:01:49 +01:00
bchanot 599684c2c5 docs: digest open none/unknown lines, profile-state sanitizing (H6b) 2026-11-13 23:01:33 +01:00
bchanot 7c8726b5a0 chore(audits): 7 BUGS-FOUND script items closed (H6b), 3 new low findings logged 2026-11-13 23:01:06 +01:00
bchanot 9045a60f11 fix(scripts): close the BUGS-FOUND script items, fail closed on bad reads
profile-state.jq sanitizes printed values and shape-checks plugin ids (no forged plugin: line); the digest prints open: none or unknown instead of nothing; push-guard deny_lost checks every pipe stage, T63 split into ask and deny lists; prune-memory mktemp guarded.
2026-11-13 22:59:50 +01:00
bchanot 4900ca54a3 Merge bugfix/bugs-found-prose into develop 2026-11-13 20:45:09 +01:00
bchanot 20448395f3 chore(memory): H6a journal, LRN-154 correction 2026-11-13 20:45:08 +01:00
bchanot 55574edc2a chore(audits): 12 BUGS-FOUND items closed (H6a), 5 new pre-existing findings logged 2026-11-13 20:45:07 +01:00
bchanot 77041e5360 fix(agents): close the 10 prose BUGS-FOUND items, root quoting and $HOME refusal
Handover: rooted reads, whole-line PROJECT_ROOT read with a one-line
pre-paste rule, BDR status filter. plugin-gate: single-quoted templates,
unsafe roots printed never run, apply check against the git common dir,
$HOME refused (and in profile.sh). Advisor: minimal only from project
signals, no extras token, ctx7 wording, print-only plugin remedy. Packs
vocabulary in onboard/tour; graphify labels match the trap.
2026-11-13 20:43:59 +01:00
bchanot a967fd93dc Merge bugfix/feedback-followups into develop 2026-11-13 19:51:17 +01:00
bchanot c8528a7bfc chore(memory): LRN-288, BDR-146 residual closed, 4d TODO lines closed (H5) 2026-11-13 19:51:16 +01:00
bchanot 7f5995b08c docs: memory feedback post-fix sample, reminder, 3rd pick retired 2026-11-13 19:51:15 +01:00
bchanot 9f9412aaba fix(memory-feedback): post-fix precision split, 3rd pick retired, bounded transcript cache, strict labels
Precision, triggers and the miss share count only rows after the gate-1
fix merge (d3d5e6c, 2026-11-12T19:53:59Z); their actions wait for 20
post-fix asks, a one-off NEW line marks the sample and the reminder
keeps prompting until then. The 3rd-pick signal is gone. The reader
holds one parsed transcript at a time. labels.tsv rows and state.json
are validated on read. Exact key sets of log records pinned.
2026-11-13 19:47:37 +01:00
bchanot e132488aef Merge bugfix/safety-lows into develop 2026-11-13 18:27:29 +01:00
bchanot f0908e74ea chore(memory): H4b journal, safety LOWs closed 2026-11-13 18:27:28 +01:00
bchanot 189c1f916b docs(changelog): hooks safety LOWs (code-limits dir, bounded session start, pre-commit fail-closed) 2026-11-13 18:27:27 +01:00
bchanot 1f107c3c45 fix(hooks): private code-limits state dir, bounded session start without timeout, pre-commit fails closed
code-limits: mkdir -m 700 without -p as the atomic proof, else one
find test (ours, dir, 700). session-start: one runner, timeout then
gtimeout then perl alarm (exec, no shell). pre-commit (generator +
both copies): a git diff or grep error blocks. memory.sh line rewrap;
claude-stub reads its log path from the env. Tests T16, SD19, PC1-4.
2026-11-13 18:25:33 +01:00
bchanot 27946d5280 Merge feature/fable-5-2 into develop 2026-11-13 17:30:04 +01:00
bchanot 70c93c5546 chore(memory): journal, Fable 5.2 2026-11-13 17:30:03 +01:00
bchanot 0a0eafa41c docs(changelog): fable alias resolves to claude-fable-5-2 2026-11-13 17:30:02 +01:00
bchanot ca1dc9f2bc feat(model-router): Fable tier resolves to claude-fable-5-2
The fable alias (head of the best tier, every best-tier phase, row and
pin that names fable) now resolves to claude-fable-5-2. Rename prepared
by another session, split from the BLK-049 diff; id probed live (claude
-p --model claude-fable-5-2 answers). Kit 640/0, validate --strict ok.
2026-11-13 17:28:47 +01:00
bchanot 30cf107b2b Merge bugfix/mods-strict-types into develop 2026-11-13 17:27:27 +01:00
bchanot 08308a60a6 chore(memory): BLK-049 resolved, journal 2026-11-13 17:27:26 +01:00
bchanot 6433e4d32a fix(mods): type narrowings for plugin validate --strict (BLK-049)
Claude Code 2.1.323 type-checks mods in validate --strict: three TS2339
in the memory kit, the Bash hook return type, thirteen sites in the
model-router kit and the agent.spawn deny arm. Type-only or
behaviour-equivalent changes; kits 288/640 unchanged; guards stay
fail-open (BDR-136).
2026-11-13 17:27:25 +01:00
bchanot 9ee3fdad23 Merge bugfix/phase2-deny-lows into develop 2026-11-13 16:49:50 +01:00
bchanot 2041ee668c chore(memory): journal ID correction (BLK-049) 2026-11-13 16:49:49 +01:00
bchanot d637b2a399 chore(memory): BLK-046 (CLI 2.1.323 validator), H4a journal, phase 2 lines closed 2026-11-13 16:47:17 +01:00
bchanot bc90b88b7d docs(changelog): 28 deny rows, doctor jq message 2026-11-13 16:47:01 +01:00
bchanot a43ba1b763 fix(settings): close the awk and key-file deny gaps, doctor names every jq consumer
28 deny rows: awk/gawk/mawk 'system (' spacing, -f programs, getline and
pipe-to-command exec primitives; cat and rtk read on .key, .pem, id_rsa
and id_ed25519 without a dir prefix (plus */rtk twins). All rows locked
in push-guard T63; T62 twins hold. doctor.sh jq message names
code-limits and push-guard.
2026-11-13 16:46:06 +01:00
bchanot 07c2c8db65 Merge bugfix/pack-census-followups into develop 2026-11-13 16:26:39 +01:00
bchanot c782237d7e chore(memory): H3 journal, phase 5 line closed 2026-11-13 16:23:37 +01:00
bchanot 061a7cbe61 docs: pack-census fragment key allowlist (profiles README, CHANGELOG) 2026-11-13 16:23:36 +01:00
bchanot 2fb9a2f4c1 fix(pack-census): fixed-string retired match, fragment top-level key allowlist
grep -qxF on gstack-removed.list; a fragment carrying a top-level key
other than enabledPlugins, deniedMcpServers, disableClaudeAiConnectors
or model is RED. T13-unknown-key.
2026-11-13 16:22:39 +01:00
bchanot 84463e130a Merge bugfix/memory-sh-residuals into develop 2026-11-13 14:55:48 +01:00
bchanot d310f0224d chore(audits): 4 memory.sh BUGS-FOUND items fixed in H2 (d8e62c1) 2026-11-13 14:49:39 +01:00
bchanot f27b24233d chore(memory): LRN-287, BLK-038 resolved, phase 4a + 1 lines closed, 4 BUGS-FOUND fixed (H2) 2026-11-13 14:49:29 +01:00
bchanot 5e7a2679c0 docs: memory.sh legacy reader and upgrade semantics (CHANGELOG, MIGRATION, usage comment) 2026-11-13 14:48:13 +01:00
bchanot d8e62c1420 fix(memory): one lexical status reader, body label beats a stale Index, clean stderr
memory_legacy_status is one fence-aware awk program (selector as a
positional, end derived from the ID prefix, stops at another entry or
## Index; no MEM_LEGACY_RE env read). upgrade computes one effective
status (strict word, else the v1 body label) for flush, Index-stated and
the oracle: a **Statut** : line is written as the dated upgrade status
instead of losing to the Index cell. Control chars become ? on stderr
and in written cells; journal keeps exactly one blank line.
2026-11-13 14:45:15 +01:00
bchanot e6e8241863 Merge bugfix/project-rules-residuals into develop 2026-11-13 13:43:33 +01:00
bchanot 8d4cc6716a chore(memory): LRN-286, phase 0 leftovers closed (H1) 2026-11-13 13:16:29 +01:00
bchanot cd90080f6f docs(changelog): project-rules physical check, emit guard, extract keeps both copies 2026-11-13 13:15:55 +01:00
bchanot 9d5530af89 fix(project-rules): physical parent check, emit write guard, extract keeps both copies
_rules_out_path_ok resolves the first existing ancestor with cd -P and
refuses an out that escapes the project; emit goes through it and checks
mkdir and the write; an extract rewrite failure keeps tmp and out and
names both. Callers (onboarder, scaffolder) stop on any rc 2 but exists.
2026-11-13 13:14:24 +01:00
bchanot 4e71b1af64 Merge bugfix/cc-oom-score-adj into develop 2026-11-13 12:49:12 +01:00
bchanot 8bc48db196 chore(memory): BLK-044 resolved, LRN-285, block G ticked 2026-11-13 12:42:58 +01:00
bchanot f5ce4ae5ba docs(changelog): cc raises oom_score_adj to 500 (BLK-044) 2026-11-13 12:42:14 +01:00
bchanot 6c10d3a220 fix(cc): raise oom_score_adj to 500 inside the session (BLK-044)
sshd's systemd override (OOMScoreAdjust=-1000) is inherited by tmux,
dtach and every claude started via cc, so the OOM killer never picks a
runaway claude; systemd-run --scope rejects the property. The inner bash
raises /proc/self/oom_score_adj to 500 (raise-only) before exec claude.
T7-oom asserts it through the stubbed chain.
2026-11-13 12:40:54 +01:00
bchanot 387ae8675d Merge feature/skill-routing-descriptions into develop 2026-11-13 11:49:38 +01:00
bchanot d2e5f19548 chore(memory): BDR-149, LRN-284, block E ticked, gates.sh label guard TODO 2026-11-13 11:41:16 +01:00
bchanot 88b67abe4c docs(changelog): Skill routing lines moved into skill descriptions 2026-11-13 11:39:56 +01:00
bchanot 3b3015329c feat(doctrine): Skill routing lines move into skill descriptions
CLAUDE.global.md keeps only the gstack/pack cases (investigate, ship
retired, SEO/GEO/W3C pack-off, cso, media, OFF paragraph). bugfix gains
the triggers error / 500 / stack trace + fix; ship-feature gains
"ship this feature". BDR-125 phase 3 deferred item.
2026-11-13 11:38:23 +01:00
bchanot f7d8c73a57 Merge feature/design-hook-removal into develop 2026-11-13 10:21:02 +01:00
bchanot c14f43307f chore(memory): BDR-148 design hook retired, E1 journal + contract 2026-11-13 10:15:57 +01:00
bchanot 19ec5b7cfc docs: design-toolchain hook retired (ARCHITECTURE tree, CHANGELOG Removed) 2026-11-13 10:14:48 +01:00
bchanot 9c038fd22b chore(hooks): retire the design-toolchain reminder hook
59 fires, 0 Reads of web-building.md (2026-10-31); the path rule and the
CLAUDE.global.md pointer carry design routing. Hook, its test and its
UserPromptSubmit entry removed; doctrine-citers T7c becomes T8i on a
synthetic one-line fixture (quoted label kept whole).
2026-11-13 10:13:04 +01:00
bchanot 97780b5f46 Merge bugfix/blk022-burial into develop 2026-11-13 00:41:49 +01:00
bchanot ce62d2b301 chore(memory): BLK-022 superseded, Blocked block removed 2026-11-13 00:37:04 +01:00
bchanot 248000afb1 chore(tests): drop the SKIP-only guard-bash spec, BLK-022 buried 2026-11-13 00:37:01 +01:00
bchanot f5f3305557 chore(tasks): block D done, 6 repos migrated 2026-11-13 00:33:01 +01:00
bchanot 84bfd7a4ab Merge feature/digest-todo-fallback into develop 2026-11-12 21:58:44 +01:00
bchanot 0e56562574 chore(memory): BDR-147, D1b contract and plan 2026-11-12 21:58:42 +01:00
bchanot 8a175a5dbe docs: digest TODO fallback and overflow marker 2026-11-12 21:58:42 +01:00
bchanot 63bea87803 feat(doctrine): TODO seeds carry ## Actionable; session start trusts the digest 2026-11-12 21:55:31 +01:00
bchanot 1124758a8b feat(digest): todo lines fall back to the file's first items, +N marker on overflow 2026-11-12 21:55:30 +01:00
bchanot d3d5e6cc90 Merge feature/recall-gate1-fixes into develop 2026-11-12 20:53:59 +01:00
bchanot f2a8110854 chore(memory): BDR-146, LRN-281..283, gate 1 fixes contract and plan 2026-11-12 20:32:24 +01:00
bchanot 9e7a030895 docs: recall idle 8 words and 2 picks, /prune-memory step D 2026-11-12 20:32:24 +01:00
bchanot 39f979068a feat(prune-memory): step D, gate feedback noisy rewrite and BDR-100 promotion
Reads FEEDBACK.md for this repo's tag; RED-10 runs the real block.
2026-11-12 20:30:46 +01:00
bchanot 7e87d7722d feat(memory): idle recall needs 8 content words, recall keeps 2 picks
Gate 1 (EVAL-058): idle 44 %, 3rd pick 35 %.
2026-11-12 20:30:45 +01:00