13 Commits

Author SHA1 Message Date
wassname 8c5f4c404b restore notebook, important 2026-03-02 17:13:19 +08:00
wassname 65887ab30b mv to skill 2026-03-02 17:13:08 +08:00
wassname d2be4d6bf9 docs 2026-03-02 17:12:56 +08:00
wassname 41f542ed50 fix 2026-03-02 17:00:26 +08:00
wassname 5801e299d5 Phase 2: version conflicts, hooks, compression (+108 -179)
- Resolve 8 upstream version conflicts (bump ccVersions to 2.1.63)
- Merge askuserquestion "don't reference the plan" guidance from v2.1.47
- Move git guardrails to hooks: --no-verify, broad staging, interactive mode
- Gut redundant prompt sub-files (destructive-ops, skip-hooks, sleep, computer)
- Compress 10 system-prompt files 56% (1529w -> 672w)
- Improve context compaction summary to preserve decision path
- Update CLAUDE.md: fix principles, add Southbridge-sourced loading model

Always-loaded: ~7.5k words (down from ~10.8k stock, ~31% total reduction)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 15:35:01 +08:00
wassname 5347b109a2 Compress tool descriptions ~52% less always-loaded context
- Gut monolithic bash.md + sandbox-note.md (duplicated by 2.1.53 sub-files)
- Gut 22 "model-knows-this" bash + sandbox sub-files to header-only
- Deduplicate git safety rules (sub-files cover them)
- Compress TaskCreate, ToolSearch, ReadFile, ExitPlanMode, EnterWorktree,
  WebFetch, WebSearch, Skill, Sleep, LSP, AskUserQuestion, EnterPlanMode
- Fix Task tool: inverted polling instruction, add back isolation:worktree
- Fix sandbox-default dangling "unless:" -- fold conditions inline
- Escape backticks for tweakcc parser
- Add CLAUDE.md with Pi + Trail of Bits design principles
- Always-loaded budget: 8.7k words (down from ~18k stock)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 14:46:57 +08:00
wassname 42013df324 chore(gitignore): ignore Claude Code sandbox phantom files
bwrap sandbox creates 0-byte read-only bind mount stubs in CWD.
Known bug: https://github.com/anthropics/claude-code/issues/17087
Global gitignore handles dotfiles; repo gitignore handles git-internal names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 14:10:02 +08:00
wassname 9dbbedcb5c tidy 2026-03-02 14:01:04 +08:00
wassname bd36893d5a tidy 2026-03-02 13:57:12 +08:00
wassname e638f5a94a shorter 2026-03-02 13:45:40 +08:00
wassname 7ec263e4e3 Gitignore config.json, .claude/, docs/ for public sharing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 13:38:11 +08:00
wassname 576052754f Minimize system prompts to defer to CLAUDE.md/AGENTS.md
23 system prompt files gutted from ~1500 to ~300 lines (-843 lines).
Plan mode no longer prescribes rigid 5-phase workflow -- says "follow
CLAUDE.md/AGENTS.md for planning workflow" instead. Core prompts
(doing-tasks, tone, tool-policy, main) collapsed to Pi-style minimal.
Feature prompts (insights, learning-mode, skillify, mcp-cli, hooks,
chrome, task-management) trimmed to essential structure only.

Includes spec, README with setup/version-switching docs, and code
review fixes (restored dropped hook events, URL guard, template
newline, feature refs, section headers).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 13:18:05 +08:00
wassname 946cadc00d init 2026-03-02 08:14:41 +08:00