fix(plugin-quality): clear IMPL-EVAL caveats AP-23 + A3 (#193)#198
Conversation
AP-23: PublicDefinitionSchemaShape is now Readonly<Record<string, z.ZodTypeAny>> (was Record<string, any>). z.ZodTypeAny is the idiomatic "any Zod schema" type, already used elsewhere in this package; sound, no cast, and the deno-lint-ignore no-explicit-any directive is removed. A3: add a second grounded TS code example to 8 plugin/core READMEs (plugin-workers/sagas/streams/triggers-core + plugins/workers/sagas/triggers/streams) so each README has >= 2 TS fences. Every added example was extracted and deno check --unstable-kv'd against the real import map. Gates: check/lint/fmt(ts) + 8-README fmt + doctrine sweep all green; A3/AP-23 cleared everywhere with FAIL=0 and no new findings. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gW4zfhMMQU6txC828ijct
|
@openhands-agent model=openrouter/qwen/qwen3.7-max output=pr-comment IMPL-EVAL this PR (plugin-quality caveats AP-23 + A3). This is a small, focused package-quality fix — clears the two IMPL-EVAL caveats carried out of #193. Scope to verify (9 files, +205/-2):
Run the smallest sufficient gates from the repo root: deno run --allow-read --allow-run .llm/tools/run-deno-check.ts --root packages --root plugins --ext ts,tsx Then re-run the doctrine sweep and confirm AP-23 + A3 are cleared with FAIL=0 and no new findings. Report a PASS / FAIL_FIX / FAIL_DEBT verdict with the raw exit codes. Preserve lock hygiene: do not commit deno.lock or unrelated source churn. |
OpenHands Agent — CompletedModel: openrouter/qwen/qwen3.7-max IMPL-EVAL Summary — PR #198Verdict: TaskEvaluate whether PR #198 successfully clears two IMPL-EVAL caveats from #193:
ChangesAP-23:
|
| Package | FAIL | WARN | INFO | AP-23 | A3 |
|---|---|---|---|---|---|
| plugin-workers-core | 0 | 5 | 2 | ✅ cleared | ✅ cleared |
| plugin-sagas-core | 0 | 2 | 2 | ✅ cleared | ✅ cleared |
| plugin-streams-core | 0 | 0 | 1 | ✅ cleared | ✅ cleared |
| plugin-triggers-core | 0 | 2 | 2 | ✅ cleared | ✅ cleared |
| plugins/workers | 0 | 8 | 2 | ✅ cleared | ✅ cleared |
| plugins/sagas | 0 | 7 | 2 | ✅ cleared | ✅ cleared |
| plugins/triggers | 0 | 13 | 2 | ✅ cleared | ✅ cleared |
| plugins/streams | 0 | 3 | 1 | ✅ cleared | ✅ cleared |
Result: FAIL=0 across all packages. AP-23 and A3 caveats cleared with no new findings.
Remaining WARN findings are pre-existing (file size, directory depth, export default, etc.) and unrelated to this PR's scope.
Remaining Risks
deno lintexit 1 causedrun-deno-lint.tsto exit 1, but 0 violations were reported on PR files. Root cause: pre-existing issues inscalar.min.js(minified bundle) unrelated to PR changes.deno fmtexit 1 causedrun-deno-fmt.tsto exit 1, but 0 findings were reported on PR files. Root cause: pre-existing formatting issues in non-PR files (likely generated files or historical drift).
These exit codes are infrastructure noise, not quality regressions introduced by PR #198.
Conclusion
PR #198 successfully clears both IMPL-EVAL caveats with FAIL=0. The package-quality wave 1 is complete and ready to merge.
Run: https://github.com/rickylabs/netscript/actions/runs/28485075330
🤖 Augment PR SummarySummary: This PR clears two implementation-evaluation (“IMPL-EVAL”) caveats from the plugin re-architecture follow-ups, aiming to keep the next release cut caveat-clean. Changes:
Technical Notes: The README additions focus on demonstrating common API patterns (signals/queries + compensation in sagas, URL resolution + diagnostics in streams, scheduled trigger previews in triggers, and explicit runtime composition in workers) while keeping examples type-checkable against the repo import map. 🤖 Was this summary useful? React with 👍 or 👎 |
Summary
Clears the two IMPL-EVAL caveats carried out of the merged plugin re-architecture / triggers-oRPC work (#193), so the next release cut is caveat-clean.
AP-23 — exported
anyinplugin-workers-corePublicDefinitionSchemaShapewasReadonly<Record<string, any>>behind adeno-lint-ignore no-explicit-any. It is nowReadonly<Record<string, z.ZodTypeAny>>—z.ZodTypeAnyis the idiomatic "any Zod schema" element type (already used elsewhere in the package), so the shape stays structurally open for consumers with noany, no cast, and the lint-ignore directive removed.A3 — README TS-fence hygiene
Eight plugin/core READMEs carried only one runnable TS example. Each now has a second grounded TS fence. Every added example was extracted and
deno check --unstable-kv'd against the real import map, so the docs stay executable:packages/plugin-workers-core,packages/plugin-sagas-core,packages/plugin-streams-core,packages/plugin-triggers-coreplugins/workers,plugins/sagas,plugins/triggers,plugins/streamsGates
run-deno-check/run-deno-lint/run-deno-fmt(ts,tsx) overpackages+plugins— greendeno fmt— greenFAIL=0, AP-23 and A3 cleared with no new findingsScope
9 files,
+205 / -2. One source line changed (public-schema.ts); the rest are README additions. No lock churn, no generated-file churn.🤖 Generated with Claude Code