Skip to content

feat: consolidate observability logging, add CLI commands, and update orchestrator#42

Merged
etylsarin merged 2 commits intomainfrom
feat/observability-cli-improvements
Mar 7, 2026
Merged

feat: consolidate observability logging, add CLI commands, and update orchestrator#42
etylsarin merged 2 commits intomainfrom
feat/observability-cli-improvements

Conversation

@etylsarin
Copy link
Owner

Summary

Consolidates observability logging, adds new CLI commands, and updates the orchestrator framework.

Changes

  • New CLI commands: lesson (manage lessons-learned) and log (observability logging)
  • Consolidated logging: Merged separate NDJSON log files into a single events.ndjson format
  • New skills: Added git-workflow and observability-logging skills
  • Simplified instructions: Streamlined ai-optimization and general instruction files
  • Agent updates: Updated all agent files with streamlined configuration
  • Dashboard improvements: Updated seed data generation and UI
  • CLI enhancements: Improved reporter and loop-reporter output
  • Updated agents: Refined session-guard and team-lead definitions
  • Demo asset: Added opencastle-init.gif

Files Changed

57 files changed, 1149 insertions(+), 568 deletions(-)

Add loop execution mode (mode: loop) to opencastle run, implementing the
Ralph Loop pattern for autonomous iterative agent workflows.

New features:
- LoopConfig schema with max_iterations, prompt file, backpressure commands
- Loop executor with fresh session per iteration, prompt re-read from disk
- Backpressure gating (tests, typecheck, lint must pass between iterations)
- Graceful SIGINT shutdown with active task/process cleanup
- Loop reporter with iteration progress and JSON report output
- CLI flags: --mode loop, --max-iterations N
- Dry-run support for loop specs
- 23 new schema validation tests (69 total in schema.test.ts)
… orchestrator

- Add new CLI commands: lesson (manage lessons-learned) and log (observability logging)
- Consolidate NDJSON logs into single events.ndjson format
- Add git-workflow and observability-logging skills
- Simplify instruction files (ai-optimization, general)
- Update all agent files with streamlined configuration
- Improve dashboard seed data generation and UI
- Enhance CLI reporter and loop-reporter
- Update session-guard and team-lead agent definitions
- Add opencastle-init.gif demo asset
@etylsarin etylsarin merged commit 24a954e into main Mar 7, 2026
2 checks passed
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