Skip to content

Add open-core readiness evidence slice - #332

Draft
KryptosAI wants to merge 2 commits into
mainfrom
agent/open-core-readiness-slice
Draft

Add open-core readiness evidence slice#332
KryptosAI wants to merge 2 commits into
mainfrom
agent/open-core-readiness-slice

Conversation

@KryptosAI

Copy link
Copy Markdown
Owner

Summary

This draft PR turns the open-core readiness plan into a focused, reproducible implementation slice.

What changed

  • Added deterministic per-tool decisions to run artifacts:
    • high-severity tool findings → block
    • low/medium findings → review
    • no tool-level findings → allow
    • decisions retain the originating finding IDs and are shown in terminal and MCP output.
  • Added the public benchmark corpus structure under benchmarks/ with safe, high-risk, and ambiguous seeded fixtures.
  • Added docs/rules.md with evidence sources, severity/decision mapping, reproduction guidance, and limitations.
  • Added a provider-neutral behavioral evaluation scaffold:
    • deterministic trace evaluation
    • allowed/forbidden tool assertions
    • result-pattern assertions
    • resource-scoped and global side-effect assertions
  • Added docs/behavioral-evals.md and focused tests.
  • Corrected documentation/code drift:
    • README MCP server count updated from 10 to the 13 tools currently registered.
    • removed the duplicate recordSessionStart call in the scan flow.
    • corrected the architecture description of the actual check pipeline.
  • Centralized the pure scoring model in src/score-model.ts, shared by the CLI and hosted worker, removing scoring drift risk while preserving the worker's security-lite scope.
  • Made optional seatbelt detection local-only so report rendering never starts network package resolution.

Validation

  • npm test — full suite completed with no failing-test output after the worker-hardening expectation was updated for the shared scorer.
  • npm run lint — passed.
  • npm run typecheck — passed for the package and API worker.
  • npm run build — passed.
  • npm run validate:artifacts — passed for checked-in artifacts.
  • npm pack --dry-run — readiness docs and benchmark assets included.
  • Focused readiness tests: 22 passed; worker hardening tests: 3 passed.

Remaining gaps

Open-core boundary

This PR keeps the scanner, evidence engine, artifact schemas, receipts, local baselines/diffs, public benchmark fixtures, and deterministic local eval runner open. Hosted fleet coordination, organization/team management, central policy administration, historical retention, scheduled rescans, hosted approvals, blast-radius analysis, enterprise IAM, managed orchestration, private indexes, compliance workflows, and hosted decision APIs remain proprietary control-plane work.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

🔭 MCP Observatory — Action needed: run did not clear the gate

Safety verdict

Blocked — One or more checks can break agent dependence and should be fixed before production use.
Top risks: startup: server failed to start

📊 Summary

Gate: fail · 0 tools · 0 prompts · 0 resources

Next action

Run the target command manually, compare stderr with the diagnosis below, and only raise timeoutMs if startup is genuinely slow.
Add CI: npx @kryptosai/mcp-observatory setup-ci --all --command "npx -y "


🔭 MCP Observatory — test your MCP servers for breaking changes · ⭐ Star

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