Repository navigation
Add ZCode provider - #1166
Add ZCode provider#1166madsiberian wants to merge 6 commits into
Conversation
ZCode (https://zcode.z.ai/en/docs/skill) reads the Agent Skills spec subset — name/description required (a description over 1024 chars drops the skill), license and metadata preserved, unknown fields silently ignored by its flat frontmatter parser — and discovers skills from .zcode/skills (project) and ~/.zcode/skills (user), the default user-dir formula, so no home override is needed. No hook or subagent emission yet: its config-driven hook surface (.zcode/config.json hooks, off by default) is not targeted. Registry entries in the skills crate (dirs, aliases, display, input order, global harness hints), the context crate harness maps, the transformer factory config + placeholders + block tags, HARNESSES.md capability rows, README provider docs, and the sync workflow's GENERATED_PATHS (the .zcode tree is generated output and is intentionally not committed here; the workflow emits it after the next engine release).
[Medium impact] The PR appears safe to merge; no blocking issues were found. SummaryAdds ZCode support across generated skills, CLI installs, runtime messages, and pinned shortcuts.
Review used the full PR diff because the current and previously reviewed commits have different merge bases with the target commit. Checks were based on source inspection; builds and tests were not run. Reviews (7) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile |
The ZCode column rewrite transcribed DeepSeek Harness's metadata cell as Ignored; main has Yes (its note reads metadata and the dsh provider config emits it). Review finding on pbakaus#1166.
|
Good catch — that was a transcription slip in the ZCode column rewrite, not an intended change: main had |
|
Thanks for taking the time to contribute. Impeccable is issue-first for outside contributions, and I could not find a relevant linked issue where a maintainer approved or requested this work. I’m closing this for now. Please open or join an issue, wait for explicit approval from @pbakaus or @abdulwahabone, and then open a fresh PR. This policy check was performed automatically by Codex; if it missed existing approval, please point a maintainer to it. |
|
Reopened after approval on #1176. I reviewed the change against the ZCode source (zai-org/ZCode, Apache-2.0) rather than the docs, and the provider claims hold up: both skill roots, the Before this merges, three groups of changes. Accuracy
Trims, to keep the diff surgical
Places a new provider touches that are missing here (compare the Qoder and DSH additions)
Optional: AI assistance disclosure: this review was drafted with Claude Code under my direction, with the ZCode claims verified against the zai-org/ZCode source. |
…erage - Prefix: ZCode invokes skills with $skill-name (the Codex convention); utils.js placeholder, provider.rs prefix selection, pin.rs CODEX_HARNESSES - Trim: drop zcode_detection_tests.rs; one .zcode hint assertion folded into install_detection_tests.rs - Trim: providers.js zcode comment to two lines + docs link; HARNESSES.md hook-surface sentence dropped, em dashes replaced - Coverage: CLI-CONTRACT.md provider lists, bundle.rs PROVIDER_PATH_RE, AGENTS.md harness list, .gitattributes linguist-generated, DEVELOP.md link, PR + issue template checklists - versionInMetadata: true so zcode skills inspect reports safeToAutoLoad: yes AI assistance disclosure: prepared with a ZCode agent under the contributor's direction.
|
Review round addressed in 4fc7ddc — thanks for the thorough pass, and for verifying the claims against the ZCode source.
Validation: cargo test -p impeccable-context -p impeccable-skills all green (incl. the folded hint test); default bun suite 477 pass / 2 fail, both pre-existing on this Windows box (launcher exec-bit, native component-review bundle). dist/zcode emission re-verified: version now rides inside metadata. AI assistance disclosure: these fixes were prepared with a ZCode agent under my direction. |
Conflict resolution against 4.8.0 (Devin + Replit providers, HARNESS_HINTS
refactor): zcode additions re-based onto the new undotted hint convention
(Hint::Home(".zcode", "zcode")), provider lists unioned with .devin/.replit,
zcode detection test rebuilt on the upstream install_detection_tests base.
AI assistance disclosure: this merge was prepared with a ZCode agent under the contributor's direction.
6639bab to
d5d8647
Compare
Remove the blank line before the Devin row in the docs and directory tables (left over from the 4.8.0 merge conflict resolution) and collapse the doubled blank lines after the ZCode rows. AI assistance disclosure: prepared with a ZCode agent under the contributor's direction.
|
Fixed in 7597c19: the blank lines were merge-conflict-resolution leftovers around the Devin/ZCode rows; removed from both tables and the doubled blanks after the ZCode rows collapsed. AI assistance disclosure: prepared with a ZCode agent under my direction. |
Clean merge of the detector work (pbakaus#1196-pbakaus#1201): no overlap with the provider surface; zcode diff vs origin/main unchanged. AI assistance disclosure: this merge was prepared with a ZCode agent under the contributor's direction.
@C:/Users/Coder/AppData/Local/Temp/pr-body.md
Note
Low Risk
Additive provider wiring across build, CLI, and docs with targeted tests; no changes to auth, hooks, or existing provider behavior beyond new registry entries.
Overview
Adds ZCode as a first-class Impeccable provider so skills can install to
.zcode/skills/(project) or~/.zcode/skills/(global), withnpx impeccable link --providers=zcodeand the usual build/sync paths.The build pipeline gets a
zcodetransformer config (.zcodedir,license/metadatafrontmatter, version in metadata like Codex). Runtime treats ZCode like Codex for UX:$impeccablecommand prefix, Codex-style pinned shortcuts, and.agentsfallback for skill discovery per harness docs.Rust skills/context layers register
.zcodein provider lists, aliases, install hints (~/.zcode), pin harness dirs, and content-hash normalization. Docs (README, HARNESSES, CLI contract, DEVELOP), issue/PR templates, and CI sync for.zcode/**are updated; tests cover name resolution and home-dir detection.Reviewed by Cursor Bugbot for commit 7597c19. Bugbot is set up for automated code reviews on this repo. Configure here.