Skip to content

feat: watch one-shot mode + always-on security-lite#76

Merged
KryptosAI merged 2 commits intomainfrom
feat/watch-and-security-lite
Mar 22, 2026
Merged

feat: watch one-shot mode + always-on security-lite#76
KryptosAI merged 2 commits intomainfrom
feat/watch-and-security-lite

Conversation

@KryptosAI
Copy link
Copy Markdown
Owner

Summary

  • observatory watch <cmd> — single command that runs a server, auto-diffs against the previous run, and exits 1 on regression. Replaces the manual run→diff workflow (88% of user activity).
  • Lightweight security in every run — static rule matching on tool schemas with zero extra network calls. --security flag remains for deep scanning.

Changes

  • src/storage.tsfindLatestArtifact() to locate previous runs
  • src/checks/security.tsrunLightweightSecurityCheck() operating on already-fetched tools
  • src/runner.ts — always runs security-lite after tools check
  • src/commands/watch.ts — one-shot run+diff+alert mode (default), continuous polling via --interval
  • src/commands/test.ts + scan.ts — updated --security help text
  • src/cli.ts — watch added to interactive menu

Test plan

  • npm test — 222 tests pass
  • observatory watch tests/fixtures/fixture-server.mjs — runs, shows result, no diff on first run
  • Run again — shows diff against previous
  • Verify security-lite check appears in all run artifacts

🤖 Generated with Claude Code

`observatory watch <cmd>` runs a server, auto-diffs against the last
run, and exits 1 on regression — replacing the manual run+diff workflow
that accounts for 88% of usage. Continuous polling still available via
--interval.

Every run now includes a security-lite check (static rule matching on
tool schemas, zero extra network calls). The --security flag remains
for deep scanning with credential pattern analysis.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

MCP Observatory Report


Generated by MCP Observatory action

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@KryptosAI KryptosAI merged commit 0f26c65 into main Mar 22, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 0.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant