.flywheel/memory/flywheel-config-is-json.md
1 KB - Rohdatei anzeigen
name: flywheel-config-is-json description: The flywheel config is JSON so the stdlib-only CLI can parse it without a YAML library. type: decision scope: local status: active sources: [add-memory-store] occurrences: 1 last_verified: 2026-11-18 provenance: {by: agent, date: 2026-11-18} links: []
What happened
The flywheel needs settings (promotion threshold, index budget, eval gate). The CLI must stay standard-library only.
Why
Python's standard library parses JSON but not YAML. A YAML parser would add a dependency to every repository that installs the flywheel.
Resolution
Decision: .flywheel/config.json, merged over defaults in the CLI. Rejected: YAML (needs a third
party parser); TOML (read-only in the stdlib and one more format to learn). Frontmatter in memory
entries, skills, and evals stays YAML-style and is read by a small built-in parser that supports only
the subset the templates use.
Where
.flywheel/config.json, .flywheel/bin/flywheel.py (load_config, parse_frontmatter).