Skip to content

Polish learning summary CLI experience#98

Merged
jbarnes850 merged 5 commits intomainfrom
feat/learning-summary-stream
Oct 30, 2025
Merged

Polish learning summary CLI experience#98
jbarnes850 merged 5 commits intomainfrom
feat/learning-summary-stream

Conversation

@jbarnes850
Copy link
Copy Markdown
Contributor

Summary

  • streamline README onboarding flow around autodiscovery and make postgres requirement explicit
  • harden env config synthesis to tolerate missing capability metadata while preserving learning/runtime_safety blocks
  • make StepwiseAgentAdapter more defensive when callables drop keyword support
  • rework quickstart to highlight dual-pass telemetry, reuse the learning summary helper, and suppress noisy warnings

Testing

  • pytest tests/unit/cli/test_run_summary.py

jbarnes850 and others added 3 commits October 30, 2025 12:15
- Cherry-pick rationale display from PR #97 (console.py)
- Simplify Recent Candidates to single line (run.py)
- Filter token deltas < 50 in playbook entries (run.py)
- Refactor quickstart.py to use shared _render_learning_summary
- Fix test_runtime_rejects_stale_metadata with ATLAS_DISCOVERY_VALIDATE=1
- Fix module naming test assertions (atlas_generated_factories)
- Fix wrapper_only_project fixture and synthesis test assertions

All tests passing: 9/9 test_env_discovery.py, 3/3 test_run_summary.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings October 30, 2025 16:31
@jbarnes850 jbarnes850 self-assigned this Oct 30, 2025
@jbarnes850 jbarnes850 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 30, 2025
@jbarnes850 jbarnes850 linked an issue Oct 30, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the Atlas SDK's CLI and telemetry capabilities by introducing comprehensive learning summary rendering, live execution streaming, and improved test coverage. The changes focus on making the runtime experience more transparent and user-friendly while refactoring configuration discovery for better flexibility.

Key Changes

  • Added a new learning summary rendering system with support for reward stats, token usage, playbook entries, and learning notes
  • Introduced live streaming support (--stream flag) for CLI runs with real-time execution event monitoring
  • Refactored test fixtures to better represent non-Atlas-compatible projects and updated discovery validation logic

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tests/unit/cli/test_run_summary.py New comprehensive test suite for _render_learning_summary function covering rich metadata, missing sections, and stream mode
tests/test_env_discovery.py Updated test assertions for more flexible discovery validation and env_vars configuration
tests/conftest.py Simplified wrapper_only_project fixture to better represent projects without Atlas-compatible classes
examples/quickstart.py Refactored quickstart script with improved error handling, API key validation, and integration of learning summary rendering
atlas/sdk/wrappers.py Enhanced error handling to catch both AttributeError and TypeError in optional method calls
atlas/runtime/telemetry/console.py Extended reward rationale display logic and updated learning highlight collection to support new metadata keys
atlas/cli/run.py Added 500+ lines implementing learning summary rendering, stream monitoring, and enhanced CLI functionality
atlas/cli/env.py Made capabilities and runtime_metadata parameters optional with defaults and updated config composition logic
README.md Streamlined documentation by removing verbose Docker instructions and focusing on core quickstart workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread atlas/cli/run.py
Comment thread atlas/cli/env.py
Comment thread atlas/runtime/telemetry/console.py Outdated
Comment thread atlas/cli/run.py Outdated
Comment thread atlas/cli/run.py
Comment thread atlas/cli/run.py
@jbarnes850 jbarnes850 merged commit 7dba12f into main Oct 30, 2025
1 check passed
@jbarnes850 jbarnes850 deleted the feat/learning-summary-stream branch October 30, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

Polish CLI learning summary and refactor quickstart

2 participants