docs(rebrand): rename & rebrand CI → CIAgent across all documentation, templates, and scripts
- README.md: title, project name, CLI commands, .ci/ → .ciagent/, ci-files → ciagent-files, CI Modification → CIAgent Modification - AGENTS.md: title, project name, architecture tree, agent count (18→19), test count (25→31 suites, 218→370 tests), version (0.4.0→0.6.0), ci-files → ciagent-files, CIConfig → CIAgentConfig, CiMetadata → CIAgentMetadata, .ci/ → .ciagent/ - templates/DECISIONS.md: .ci/audit/ → .ciagent/audit/, ci audit → ciagent audit - scripts/postinstall.js: CI postinstall → CIAgent postinstall - scripts/install.sh: CI → CIAgent, ci-init → ciagent-init, INSTALL COMPLETE banner - opencode/ci/workflows/*.md (11 files): .ci/ → .ciagent/, CI → CIAgent project name, ci-command → ciagent-command usage lines - opencode/ci/references/*.md (5 files): .ci/ → .ciagent/, CI → CIAgent project name, ci-files → ciagent-files references - opencode/ci/contexts/*.md (3 files): .ci/ → .ciagent/, CI → CIAgent project name - opencode/agents/ci-*.md (18 files): .ci/ → .ciagent/, CI → CIAgent project name - opencode/command/ci-*.md (11 files): CI → CIAgent project name Preserved: ---ci---/---/ci--- markers, opencode/ci/ dir paths, ci-*.md filenames, ci listProjects()/ci setActiveProject() API names, repo URLs ---ci--- phase: 1 milestone: v0.6 plan: 01-01 task: 01-01-01 status: execute ---/ci---
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
---
|
||||
description: Initialize a new CI project — specification → clarify → create .ci/ reference files → initial commit
|
||||
description: Initialize a new CIAgent project — specification → clarify → create .ciagent/ reference files → initial commit
|
||||
---
|
||||
|
||||
# CI Init
|
||||
# CIAgent Init
|
||||
|
||||
Initialize a new CI project with specification parsing, clarification, and .ci/ reference file creation.
|
||||
Initialize a new CIAgent project with specification parsing, clarification, and .ciagent/ reference file creation.
|
||||
|
||||
**Usage:** `ci-init [description]`
|
||||
**Usage:** `ciagent-init [description]`
|
||||
|
||||
## Step 0: Confirm Active Project
|
||||
|
||||
Check `ci listProjects()` or read `.ci/config.json` to determine if multi-project mode is active.
|
||||
Check `ci listProjects()` or read `.ciagent/config.json` to determine if multi-project mode is active.
|
||||
|
||||
If `.ci/config.json` has `projects[]` with length > 0:
|
||||
If `.ciagent/config.json` has `projects[]` with length > 0:
|
||||
- Confirm `active_project` is correct for this initialization
|
||||
- If not, set it with `ci setActiveProject(<slug>)`
|
||||
- All subsequent operations use `.ci/<slug>/` subdirectories
|
||||
- All subsequent operations use `.ciagent/<slug>/` subdirectories
|
||||
- All commit messages must include `project: <slug>` in `---ci---` block
|
||||
|
||||
If single-project mode: proceed with existing conventions.
|
||||
@@ -29,12 +29,12 @@ Verify git is initialized:
|
||||
|
||||
If NO_GIT: `git init`
|
||||
|
||||
Check if `.ci/config.json` already exists:
|
||||
Check if `.ciagent/config.json` already exists:
|
||||
```bash
|
||||
[ -f .ci/config.json ] && echo "ALREADY_INITIALIZED" || echo "NEW"
|
||||
[ -f .ciagent/config.json ] && echo "ALREADY_INITIALIZED" || echo "NEW"
|
||||
```
|
||||
|
||||
If ALREADY_INITIALIZED: stop. Use `ci-status` to see project state.
|
||||
If ALREADY_INITIALIZED: stop. Use `ciagent-status` to see project state.
|
||||
|
||||
## Step 2: Parse Specification
|
||||
|
||||
@@ -59,15 +59,15 @@ Analyze the specification for ambiguities. For each ambiguity:
|
||||
|
||||
Record decisions in the `---ci---` block of the init commit.
|
||||
|
||||
## Step 4: Create .ci/ Files
|
||||
## Step 4: Create .ciagent/ Files
|
||||
|
||||
Use CiFiles to create the project structure:
|
||||
|
||||
1. `.ci/config.json` — registry with `projects[]` and `active_project`
|
||||
2. `.ci/<slug>/PROJECT.md` — vision, requirements, constraints, key decisions (or `.ci/PROJECT.md` in single-project mode)
|
||||
3. `.ci/<slug>/ARCHITECTURE.md` — system architecture (initial, may be incomplete)
|
||||
4. `.ci/<slug>/ROADMAP.md` — phase breakdown (to be refined by roadmapper)
|
||||
5. `.ci/<slug>/REQUIREMENTS.md` — formal requirements with REQ-IDs
|
||||
1. `.ciagent/config.json` — registry with `projects[]` and `active_project`
|
||||
2. `.ciagent/<slug>/PROJECT.md` — vision, requirements, constraints, key decisions (or `.ciagent/PROJECT.md` in single-project mode)
|
||||
3. `.ciagent/<slug>/ARCHITECTURE.md` — system architecture (initial, may be incomplete)
|
||||
4. `.ciagent/<slug>/ROADMAP.md` — phase breakdown (to be refined by roadmapper)
|
||||
5. `.ciagent/<slug>/REQUIREMENTS.md` — formal requirements with REQ-IDs
|
||||
|
||||
`initCI()` accepts `projectSlug` and `projectName` parameters for multi-project initialization.
|
||||
|
||||
@@ -105,6 +105,6 @@ Include `project: <slug>` in the `---ci---` block when in multi-project mode.
|
||||
|
||||
## Step 7: Done
|
||||
|
||||
Report project initialized, .ci/ files created, initial branch created.
|
||||
Report project initialized, .ciagent/ files created, initial branch created.
|
||||
|
||||
Next: `ci-run` to execute the pipeline, or `ci-quick` for ad-hoc tasks.
|
||||
Next: `ciagent-run` to execute the pipeline, or `ciagent-quick` for ad-hoc tasks.
|
||||
Reference in New Issue
Block a user