Skip to content

fix(runtime): route client-owned skills with server catalog - #881

Merged
XuPeng-SH merged 1 commit into
matrixorigin:mainfrom
XuPeng-SH:fix/harness-evidence-skill-route
Sep 25, 2026
Merged

XuPeng-SH merged 1 commit into
matrixorigin:mainfrom
XuPeng-SH:fix/harness-evidence-skill-route

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Route client-owned pipeline skills by the exact advertised skill target even when a server skill resolver is present.
  • Keep server-owned skills out of client delivery and offline classification.
  • Reuse the canonical pipeline-tool classifier without rebuilding the built-in registry on each check.

Validation

  • Targeted astra-runtime admitted tests: 9 passed.
  • Cargo format check and Git diff check: passed.
  • Real astra-test-harness parallel_synthesized_review: DeepSeek v4 Flash PASS and Qwen 3.7 Max PASS on fresh pre-commit matching binaries. The DeepSeek run loaded a client skill and exercised the repaired route; no tools were skipped or failed.
  • Revision-bound clean Server, CLI, and harness all attested commit db272cd. A clean DeepSeek parallel_synthesized_review rerun PASS with one three-child fanout, zero skipped or failed tools. That rerun did not choose a skill, so exact route-branch coverage is from the prior live smoke plus deterministic regression.
  • Independent pre-commit review was requested as gpt-6-astra high and found no blocking issue. The runtime did not expose independent model or effort metadata.

Separate known gap

pipeline_cache_hit_multi_turn still fails strict primary prompt-cache evidence: four exact ACKs, zero tools, and 34,176 terminal-reported cache-read tokens, but provider usage omits the cache-creation lane. Missing evidence is not treated as measured zero. This PR does not change the cache accounting contract.

@XuPeng-SH
XuPeng-SH merged commit b08c22e into matrixorigin:main Sep 25, 2026
26 checks passed
@loveRhythm1990 loveRhythm1990 mentioned this pull request Sep 28, 2026
5 tasks done
mergify Bot pushed a commit that referenced this pull request Sep 28, 2026
## Summary

Synchronize the workspace version from `0.2.9` to `0.2.10`. This pull request only updates release metadata. It does not change runtime behavior, create a tag, publish container images, or create a GitHub Release.

`main` already contains the fixes and features that this version names:

- Run-lifecycle 409 conflicts carry stable, structured error codes, and the pre-admission rejection contract is complete for session-slot conflicts (#886).
- Bounded session recovery is hardened (#883).
- Explain artifact recovery and introspection scope is clarified (#885).
- Client-owned skills are routed with the server catalog (#881).
- Execution evidence and progress feedback are grounded for judgment (#880).
- MCP bindings are preserved across chat turns (#887).
- The composer no longer goes stale after a coalesced resize (#889).
- Next-turn assessments are persisted for observability (#888).
- Live run observation load is reduced (#891).
- Partial usage summary output is simplified (#890).
- Web dependency patch/minor updates (#895).

Pinned MatrixOne and Memoria image digests are unchanged.

MOI publishes the client from the selected Astra commit. After this change is on `matrixorigin/Astra`, a MOI source build can set `astra_version` to `0.2.10` and check it against this commit's `Cargo.toml`. Publishing the GitHub Release is a separate step: after merge, run `make release-publish VERSION=0.2.10` from a clean `main` checkout. This pull request does not do that.

## Related issue

No related issue.

## Change type

- [x] Build, CI, or maintenance

## User and compatibility impact

Installed clients do not change until a bundle or GitHub Release is built from this commit. There is no configuration migration. The source version becomes `0.2.10`.

## Architecture and complexity delta

N/A

- Canonical owner changed or extended: none
- Existing implementations and callers searched: the version surfaces covered by `make release-prepare`
- Superseded code, states, tables, shims, or self-only tests removed: none
- If parallel implementations remain, their boundary and retirement condition: none

## Verification

- Commands and results: `make release-prepare VERSION=0.2.10` succeeded. `LC_ALL=C make release-check VERSION=0.2.10` passed.
- Public entrypoint exercised: not published.
- Unhappy paths exercised: `validate-release-version.sh` confirmed the `0.2.10` version surfaces are internally consistent.
- Database verification: not applicable. `make check` and `make test-offline` were not run because this change only rewrites version metadata.

## Final checklist

- [x] I added or updated tests at the layer that owns the behavior, or explained why no test is needed.
- [x] I updated public or design documentation for contract changes, or the change needs no documentation update.
- [x] I checked the diff for credentials, private URLs, customer data, generated files, and other sensitive information.
- [x] The PR title follows the repository's Conventional Commit format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Approved-by: XuPeng-SH <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant