• scripts/demo-harness-company.js creates a company, hires a Base Agent
    worker, and simulates the full RPEV lifecycle with real API calls:
    - Company creation (skipBootstrap)
    - Agent hiring with base template
    - meta-research initial skill mount
    - 3 transition API calls (plan → execute → verify)
    - Hot Swap verification at each stage
    - Artifact production validation
    yibo authored
     
    Browse Code »
  • scripts/test-harness.js covers:
    - Meta-Skill file existence & content
    - Base Agent template completeness
    - Hot Swap simulation
    - Context Flush simulation
    - _lessons.md injection
    - billing.log format
    - GoalsService new statuses
    - CLI registration
    - Transition API route verification
    - Optional --online mode for live API tests
    yibo authored
     
    Browse Code »
  • The plugin bootstrap was calling resolveOpenclawDist() synchronously
    at module load time, which crashed the entire server if the optional
    @mas/openclaw-dist package wasn't installed. Now all three call sites
    defer resolution to runtime with try/catch graceful fallback.
    yibo authored
     
    Browse Code »
  • - Add task transition CLI and API for Context Flush & Hot Swap
    - Enforce strict bash-only tool policy for Base Agents
    - Inject  into system prompt for self-retrying loop
    - Implement Goal node updates on transitions
    - Add P0 Execute pre-approval block (Human-in-the-loop)
    - Track token metrics to billing.log
    yibo authored
     
    Browse Code »