← Back to PRs

#22427: feat(experimental): add project radar, ops board snapshot, and replay trace foundation

by nulljosh open 2026-02-21 04:38 View on GitHub →
docs gateway scripts size: L
## Summary Adds three experimental local-operator scripts (no runtime behavior changes): - `project-radar`: scans repos and reports branch/sync/dirty/age/tooling hints - `ops-board`: snapshots local OpenClaw state/memory/heartbeat/log indicators - `replay-trace`: parses JSONL traces and reports deterministic timeline + malformed lines Also includes: - docs: `docs/experimental/ops-radar-replay.md` - package scripts: `exp:project-radar`, `exp:ops-board`, `exp:replay-trace` - tests: `test/experimental/*.test.ts` ## Validation - `pnpm exec vitest run test/experimental/*.test.ts` - manual smoke checks for each script with JSON and strict-mode behavior ## Scope This is intentionally an MVP foundation under `scripts/experimental` for fast iteration and low merge risk. <!-- greptile_comment --> <h3>Greptile Summary</h3> Adds three well-structured experimental operator scripts under `scripts/experimental/` with corresponding npm scripts and unit tests. The scripts provide local development utilities: `project-radar` scans git repos for branch health, `ops-board` snapshots OpenClaw state directories, and `replay-trace` parses JSONL trace files. All scripts follow existing codebase patterns (`.mjs` format, export functions for testability, `--json` output mode) and include appropriate error handling with safe fallbacks. Tests cover argument parsing and core logic. No runtime behavior changes. <h3>Confidence Score: 5/5</h3> - This PR is safe to merge with minimal risk - The PR adds only experimental scripts with no runtime impact, follows established codebase patterns, includes unit tests, and implements proper error handling with safe fallbacks for all file system and git operations - No files require special attention <sub>Last reviewed commit: 965ffd2</sub> <!-- greptile_other_comments_section --> <sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub> <!-- /greptile_comment -->

Most Similar PRs