This repository is the C port of Blitz Basic 2 for AmigaOS (68000): compiler blitz2, editor ted, and the acidlibs/deflibs libraries. The repository sources are authoritative; original sources are in archive/, and translation notes are in docs/.
Before project work, read CLAUDE.md in full: neither Codex nor Vibe loads it automatically, but it remains the detailed project guide and source of truth; its "Rules, in order of weight" are binding in Codex and Vibe sessions too. Then read only the relevant project documentation (README.md, docs/development.md, docs/structure.md, tests/README.md, relevant OpenSpec files) for the task.
The current coordinator handoff is ~/.local/share/bb2-c-work/decisions/handoff.md. It is session state, not a permanent rule: verify its claims against git log, git worktree list, and the relevant GitHub state before acting. The scratchpad ~/.local/share/bb2-c-work/ contains reports, logs, experiments, and drafts; it is large, so locate and read only material relevant to the task. Do not put working data in its decisions/ directory.
User decisions and their scope are recorded in ~/.local/share/bb2-c-work/decisions/. Read decisions/README.md for the layout and decisions/decisions.md first. For a question that is not settled by an applicable active decision, read process.md and catalog.md completely, then find relevant entries in areas/, tasks/, rounds/, or archive/ as the README describes. Preserve the user's wording and scope; distinguish active decisions from proposals, and report contradictions instead of silently resolving them. Do not edit these files unless the user specifically asks.
.claude/agents/ holds the authoritative role prompts of this repository: analyst, planning, implementer, tester, docs, and site-writer. Each CLI loads them from its own place, converted where the format differs:
- Claude Code reads
.claude/agents/*.mddirectly. - Codex reads
.codex/agents/*.toml(keysmodel,model_reasoning_effort,developer_instructions); see the official Codex subagents guide before converting a role. - Vibe reads
.vibe/agents/*.tomlwithagent_type = "subagent"; a role is spawned by its file name (config_name) through the agents tool. Vibe's key names differ (instructions,description). The Claude model names (opus, sonnet, fable) have no Vibe equivalent, so each role setsactive_modelto an alias defined in this repository's.vibe/config.toml(project layer, loaded because the folder is trusted; overrides~/.vibe/config.tomlhere) whose[[models]]entry also pins the thinking level:large-4-thinking-highfor analyst, planning and implementer,medium-3-5-thinking-highfor tester (bug-orig semantics are subtle), and a lower thinking level for the mostly mechanical writing roles (large-4-thinking-mediumfor site-writer,medium-3-5-thinking-offfor docs; the models take only certain levels - large-4: low/medium/high, medium-3.5: high/off) - try it and measure before keeping it. Claude-specific commands were translated: background processes plus the wait tool instead ofrun_in_background/Monitor, and no Anthropic Co-Authored-By trailer (Vibe adds the commit signature itself viainclude_commit_signature).
When a role changes in .claude/agents/, port the change to .codex/agents/ and .vibe/agents/ in the same commit. Use subagents only when the user or applicable instructions explicitly request delegation.
- Check
git statusbefore editing; stage only files for the requested topic. Keep commits focused and do not push unless explicitly asked. - Repository and GitHub text is English. Keep original files under
archive/unchanged. - Follow the original-bug workflow and result-comparison rules in
CLAUDE.mdanddocs/development.mdfor compiler/library behavior changes. - Build and test commands, emulator constraints, licensing, and detailed code conventions are in
CLAUDE.md,README.md, andtests/README.md; consult them when applicable.