with one click
cflx-archive
// Archive deployed OpenSpec changes and update canonical specs. Provides archive-specific guidance for Conflux orchestration. CRITICAL - This skill CANNOT ask questions or request user input.
// Archive deployed OpenSpec changes and update canonical specs. Provides archive-specific guidance for Conflux orchestration. CRITICAL - This skill CANNOT ask questions or request user input.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | cflx-archive |
| description | Archive deployed OpenSpec changes and update canonical specs. Provides archive-specific guidance for Conflux orchestration. CRITICAL - This skill CANNOT ask questions or request user input. |
Archive deployed OpenSpec changes and update canonical specifications.
CRITICAL: This skill CANNOT ask questions to users. All decisions must be made autonomously based on available context.
After a change has been accepted, this skill handles archiving: moving the change to changes/archive/, promoting spec deltas to canonical specs, and verifying the result.
If openspec/CONSTITUTION.md exists, read it before archive validation and treat it as higher-priority project law than proposal/spec deltas when judging archive readiness.
Proposal-quality judgment (for example, behavior-task adequacy) belongs to acceptance review. Archive responsibility is limited to real archive-readiness and commit-path blockers (archive execution, canonical spec promotion, repository state), and MUST NOT reintroduce wording heuristic blockers.
Archive only runs after acceptance reached PASS. The acceptance verdict is resolved by the runtime from the acceptance agent's stdout using the following contract:
{"acceptance":"pass|fail|continue|gated", "findings":[...]}) on its
own line, possibly wrapped inside a supported agent event payload that the runtime can unwrap.ACCEPTANCE: PASS,
ACCEPTANCE: FAIL, ACCEPTANCE: CONTINUE, ACCEPTANCE: GATED) remain
supported so older runs continue to hand off, but JSON wins when both are
present.blocked acceptance
verdict input during migration; gated remains compatibility/protocol wording, not operator-facing lifecycle taxonomy.Archive MUST NOT redefine or relax this contract. When the upstream acceptance verdict is ambiguous (missing JSON, malformed legacy marker), the runtime returns CONTINUE and archive does not start — investigate upstream acceptance output rather than working around it here.
Identify Change ID
Validate Change Status
cflx openspec list
cflx openspec show <id>
Run Archive
cflx openspec archive <id> --yes
--skip-specs only for tooling-only changesVerify Results
changes/archive/cflx openspec validate --strict
cflx openspec validate <id> --archive-gate
--archive-gate is the archive-equivalent local readiness check; it runs strict validation with evidence findings treated as errors.off, warn, error) when evidence validation is requested directly.## Final Validation section and rerun cflx openspec validate <id> --archive-gate.git diff openspec/specs/ and verify each touched openspec/specs/** file shows the expected requirement changes. Do not rely solely on Specs updated: [...] output.openspec/changes/archive/<id>/--skip-specs)--strictgit diff openspec/specs/ confirms expected requirement additions, replacements, or removals for each touched specFor detailed guidance, read references/cflx-archive.md.
# List changes
cflx openspec list
# List specs
cflx openspec list --specs
# Show change details
cflx openspec show <id>
# Validate change
cflx openspec validate <id> --strict
# Reproduce archive readiness locally
cflx openspec validate <id> --archive-gate
# Validate all
cflx openspec validate --strict
# Archive change
cflx openspec archive <id> --yes
# Archive without spec updates
cflx openspec archive <id> --yes --skip-specs
When facing ambiguous situations, follow this priority:
Never: