This repository is an AI workflow bootstrapper for other repositories. It is not a business application.
Its primary target is large Java/Spring/Spring Cloud projects where Codex CLI, Claude Code, or OpenCode should not attempt whole-repository understanding in a single pass.
When initializing a target project:
- Run deterministic scanning first.
- Generate
.ai/bootstrap/artifacts. - Generate module context packs.
- Ask the selected CLI (
--cli codex|claude|opencode) to synthesize/refine project workflow files, or use local synthesis when--local-templateis passed. - Verify the generated workflow.
- Do not modify target business code during bootstrap.
Recommended command:
./bin/ai-start ../target-project
# or
./bin/ai-bootstrap ../target-project --deep --cli codexLocal deterministic fallback:
./bin/ai-start ../target-project --local-template
# or
./bin/ai-bootstrap ../target-project --deep --local-templateDuring target project bootstrap, write only:
AGENTS.mdCLAUDE.md.ai/**.agents/**.claude/**.opencode/**.githooks/**.codex/**opencode.json
Do not modify target Java/Python/JS/TS/Go/Rust business source, migrations, production config, or build scripts during initialization.
- Keep scanners Python standard-library only.
- Prefer direct file evidence over inference.
- Mark uncertain information as unknown.
- Do not read generated/vendor directories such as
target,build,node_modules,.git. - For large repos, support include/exclude filters and max module limits.
Generated memory files should be operational and concise.
Record:
- module responsibilities
- detected entry points
- build/test commands
- DB/cache/MQ risks
- auth/transaction/remote-call risks
- durable decisions
- change-log discipline
Do not record:
- secrets
- production credentials
- large pasted source code
- guesses written as facts
A change is done when:
python3 -m pytest -qpasses../bin/ai-bootstrap <demo> --deep --local-template --forceworks.- README commands match actual CLI behavior.
- Codex / Claude / OpenCode prompts constrain writes to the target workflow files, not business code.
- Existing V1 compatibility tests still pass unless deliberately removed.