You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "shenxianpeng (via GitHub)" <gi...@apache.org> on 2026/07/28 20:36:14 UTC
[PR] fix(specs): update stale Known gap about adapter authoring smoke validation [magpie]
shenxianpeng opened a new pull request, #996:
URL: https://github.com/apache/magpie/pull/996
<!-- SPDX-License-Identifier: Apache-2.0
https://www.apache.org/licenses/LICENSE-2.0 -->
## Summary
The Known gap in `tools/spec-loop/specs/adapters.md` claimed adapter authoring smoke validation is missing. `validate_adapter_authoring` (SOFT advisory) already checks that each `contract:*` adapter README declares credential/privacy handling, operations documentation, and config keys. `substrate:*` tools are excluded from this check.
-
## Type of change
<!-- Tick all that apply. -->
- [ ] Skill change (`.claude/skills/<name>/`) — eval fixtures updated below
- [ ] Tool / bridge contract (`tools/<system>/*.md`)
- [ ] Python package (`tools/*/` with `pyproject.toml`)
- [ ] Groovy reference impl
- [ ] Cross-cutting (RFC, AGENTS.md, sandbox, privacy-LLM)
- [ ] Documentation (`docs/`, `README.md`, `CONTRIBUTING.md`)
- [ ] Project template (`projects/_template/`)
- [ ] CI / dev loop (`prek`, workflows, validators)
- [ ] Other:
## Test plan
<!--
How you verified the change. Be specific. The reviewer reads this to
decide what to spot-check vs trust. Empty "ran the tests" doesn't help.
-->
- [ ] `prek run --all-files` passes
- [ ] For Python packages touched: `uv run pytest` / `ruff check` / `mypy` passes
- [ ] For Groovy bridges touched: command-line invocation tested end-to-end
- [ ] For skill changes: eval suite passes for the affected skill
(`PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/`)
- [ ] For skill *behaviour* changes: a new or updated eval fixture is included in this PR
(a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
- [ ] Other:
## RFC-AI-0004 compliance
<!--
Tick the principles the change touches. Skip rows that don't apply.
RFC-AI-0004 is the framework's constitution — see
docs/rfcs/RFC-AI-0004.md.
-->
- [ ] **HITL** — any new mutation is gated on explicit user confirmation
- [ ] **Sandbox** — no new unrestricted host access; network reach declared in the adapter
- [ ] **Vendor neutrality** — placeholders (`<PROJECT>`, `<tracker>`, `<upstream>`, `<security-list>`) used in all skill / tool prose (the `check-placeholders` prek hook is the mechanical gate)
- [ ] **Conversational + correctable** — agentic-override path documented if behaviour is adopter-tunable
- [ ] **Write-access discipline** — no autonomous outbound messages; drafts only, sent on confirmation
- [ ] **Privacy LLM** — private content does not reach a non-approved LLM; redactor invoked where needed
## Linked issues
Closes #934
## Notes for reviewers (optional)
<!--
Anything specific you want the reviewer to look at. Areas of uncertainty.
Trade-offs you considered and rejected. Decisions that the agent and you
disagreed on during the authoring loop.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(specs): update stale Known gap about adapter authoring smoke validation [magpie]
Posted by "shenxianpeng (via GitHub)" <gi...@apache.org>.
shenxianpeng commented on PR #996:
URL: https://github.com/apache/magpie/pull/996#issuecomment-5120940809
Thanks for the review — you're right that dropping capability and prerequisites from the picture left the same gap the issue intended to fix.
I've updated the bullet to mention that `validate_tools` (HARD) separately enforces the **Capability:** declaration and the **Prerequisites** section on every tool README, so all five original gap items are now accounted for across the two validators.
The updated commit has been pushed — please take another look when you get a chance.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(specs): update stale Known gap about adapter authoring smoke validation [magpie]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on PR #996:
URL: https://github.com/apache/magpie/pull/996#issuecomment-5113099256
The old bullet listed five declarations as unchecked: capability, prerequisites, credential/privacy, operations, config keys. The rewrite correctly documents the three that validate_adapter_authoring covers, but silently drops capability and prerequisites. Those two are checked, just by a different validator: validate_tools enforces the **Capability:** contract:NAME line (tool-capability, HARD) and the prerequisites declaration (tool-prerequisites / tool-prerequisites-fields). As written, a reader still comes away believing capability and prerequisites are unvalidated, which is the same misinformation the issue set out to remove, and issue #934's acceptance criterion asks the bullet to "specify which declarations are checked".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(specs): update stale Known gap about adapter authoring smoke validation [magpie]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #996:
URL: https://github.com/apache/magpie/pull/996
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org