Files
small-scripts/MEMORY.md
Paul O'Reilly 9e13b7f096 claude-profile: remove provider-yaml system, embed model config in profiles
Provider selection phase removed; Anthropic driver→model_id is now
hardcoded in the script and non-Anthropic profiles supply provider.env
(MODEL_ID, ANTHROPIC_BASE_URL, ANTHROPIC_API_KEY_FILE).

Test suite baseline changes 58 → 41 assertions: the 17 dropped
assertions covered the removed provider-yaml selection phase, not
retained behaviour.

Includes refactor-derived memory: decisions (provider architecture,
driver enforcement via --model), bash gotchas (read -rp under set -e,
never eval user config), process lessons.
2026-06-12 21:26:07 +12:00

1.0 KiB

Memory Index

Gotchas

  • Bash Gotchasset -e silent failures, ((var++)) with zero, grep flag parsing, local scope, binary detection with file command, test harness set -e abort, read -rp TTY exit, never eval user config
  • Claude-Profile Gotchas — context-loader path resolution, --model flag verification pattern
  • Skills Gotchas — Non-ASCII frontmatter silently breaks loading, per-profile independent skills directories
  • WezTerm Gotchas — Flatpak CLI not in PATH, proportional split math for equal panes

Decisions

  • Decisions — OpenSpec format, mandatory dryrun, set -uo pipefail policy, dirty-state definitions, skynet org hosting

Process

  • Process Lessons — Skip set -e for reporting tools, spec-driven testing effectiveness, git diff --numstat for binary detection