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,20 +1,20 @@
|
||||
---
|
||||
description: Rollback CI phase — revert the last phase or specified phase by resetting to its pre-phase state
|
||||
description: Rollback CIAgent phase — revert the last phase or specified phase by resetting to its pre-phase state
|
||||
---
|
||||
|
||||
# CI Rollback
|
||||
# CIAgent Rollback
|
||||
|
||||
Rollback a CI phase by reverting to the state before the phase started. Uses git to find the exact commit to reset to.
|
||||
Rollback a CIAgent phase by reverting to the state before the phase started. Uses git to find the exact commit to reset to.
|
||||
|
||||
**Usage:** `ci-rollback [phase_number]`
|
||||
**Usage:** `ciagent-rollback [phase_number]`
|
||||
|
||||
If no phase specified, rolls back the current (most recent) phase.
|
||||
|
||||
## 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 rollback
|
||||
- If not, set it with `ci setActiveProject(<slug>)`
|
||||
- Identify project-scoped branches (prefixed with `<slug>/`)
|
||||
@@ -71,8 +71,8 @@ git reset --hard [rollback_point]
|
||||
## Step 5: Update State
|
||||
|
||||
- Delete the phase branch (if not already removed)
|
||||
- Update `.ci/REQUIREMENTS.md` — mark phase requirements as blocked
|
||||
- Update `.ci/ROADMAP.md` — mark phase as not_started
|
||||
- Update `.ciagent/REQUIREMENTS.md` — mark phase requirements as blocked
|
||||
- Update `.ciagent/ROADMAP.md` — mark phase as not_started
|
||||
|
||||
Commit the rollback:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user