feat(cosh): add anolisa component contract#1128
Merged
Merged
Conversation
- Ship a minimal component.toml for RPM adopt and status flows. - Install the contract under /usr/share/anolisa during RPM builds. - Expose anolisa-component(cosh) as a virtual RPM provide. Signed-off-by: 空澈 <kongche.jbw@alibaba-inc.com>
samchu-zsl
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a minimal ANOLISA component contract for the
copilot-shellRPM so coshcan be adopted and inspected by anolisa without declaring any adapter behavior.
The RPM now installs
component.tomlunder the package datadir contract pathand exposes
anolisa-component(cosh)as a virtual provide.Ship Note
What changed:
src/copilot-shell/component.tomlfor the cosh runtime component./usr/share/anolisa.Provides: anolisa-component(cosh)for package discovery.Known limitations:
Related Issue
N/A
Type of Change
Scope
cosh(copilot-shell)sec-core(agent-sec-core)skill(os-skills)sight(agentsight)tokenless(tokenless)ckpt(ws-ckpt)memory(agent-memory)anolisa(anolisa-cli)skillfs(SkillFS)Checklist
anolisa:cargo clippy --all-targets --locked -- -D warnings,cargo fmt --all --check, andcargo test --lockedpasspackage-lock.json/Cargo.lock)Testing
Also validated:
src/copilot-shell/component.tomlparses as TOML.rpmspec -Pexpands the updated spec with the new contract path.Additional Notes
The existing spec changelog emits a date warning under
rpmspec -P; this PRdoes not change that changelog entry.