openspec/changes/extend-config-injection-to-apply-archive/tasks.md
apply and archive operation IDs plus typed operations.<operation>.guidance config structures without changing artifact rulescontext and operationGuidance fieldscontext and apply operationGuidance while preserving existing state, progress, tasks, context files, references, and root outputopenspec instructions archive --change <name> to a dedicated read-only archive instruction handler using existing repo/store root resolution and change validationchangeName, optional current context, optional archive operationGuidance, and the normal root envelope in JSON without returning the static archive workflow templateartifactPaths.specs.existingOutputPaths as the only delta-spec source in archive, bulk archive, and standalone sync; treat a missing specs entry or empty output list as no spec sync and do not infer deltas from other artifactsopenspec instructions specs once for the selected change/root, apply its rules to the semantic merge, and pass the specs-rule snapshot into inline sync; stop before any main-spec write or change move on lookup failurespecs instructions during standalone sync, reuse an archive-supplied specs-rule snapshot without re-fetching, and stop before writing a main spec on direct lookup failureartifactPaths.specs, artifact rules, selected roots, direct and inline sync, snapshot reuse, invalid responses, no-write/no-move behavior, mixed-schema batches, field separation, unchanged CLI checks, and non-copyingoperations.apply.guidance and operations.archive.guidance, runtime freshness, selected-root behavior, field separation, fail-closed archive/specs instruction consumption, artifactPaths.specs as the spec-sync contract, specs rules travelling with produced main specs, and the read-only archive instruction commandopenspec validate extend-config-injection-to-apply-archive --strict and reconcile every task with the final implementation diff