Commit Graph

295 Commits

Author SHA1 Message Date
khyari hamza e880aa13d9 docs(plan): check off M3.1 quality gates for PR #128 2026-02-23 22:20:44 +00:00
khyari hamza bd58cc04f4 docs(plan): check off M3.1 decision-domain tasks from merged PR #128 2026-02-23 22:20:44 +00:00
khyari hamza 78213084ae feat(resource): add resource registry and DAG metadata 2026-02-23 22:20:44 +00:00
khyari hamza 229dbc8925 refactor(decision): address PR review feedback
- add with_superseded_by() helper for frozen model mutation
- document frozen model + superseded_by interaction in docstring
- clarify sequence_number uniqueness is a persistence concern
- add scenario for invalid corrects_decision_id ULID validation
- add scenario for with_superseded_by copy behavior
- type step helper dict as dict[str, Any]
2026-02-23 22:20:03 +00:00
khyari hamza abcfba7e66 feat(decision): add decision domain and context snapshots 2026-02-23 22:19:19 +00:00
freemo bb7612c0d3 Docs: Daily update to implementation plan 2026-02-23 12:31:07 -05:00
freemo f69224e7e9 feat(cli): add action and plan CLI extensions 2026-02-23 10:46:53 +00:00
freemo 999013a4a4 feat(plan): add phase reversion state machine 2026-02-23 10:45:01 +00:00
freemo 234a2fe52a feat(config): add config service with multi-level resolution 2026-02-23 10:44:58 +00:00
brent.edwards f48eb5a05f feat(cli): add interactive repl
Implement `agents repl` command providing an interactive read-eval-print
loop that dispatches to existing CLI commands without the `agents` prefix.

Features:
- Command dispatch via existing Typer app
- readline history with --no-history opt-out (default: ~/.cleveragents/history)
- Tab-completion for all CLI commands and built-in commands
- !! last-command repetition
- Prompt context from CLEVERAGENTS_PROJECT / CLEVERAGENTS_PLAN env vars
- Ctrl+C (continue) and Ctrl+D (exit) signal handling
- Multi-line input with \ continuation
- :help and :exit/:quit built-in commands

Test coverage:
- 15 Behave scenarios (features/repl.feature)
- 10 Robot Framework smoke tests (robot/repl_smoke.robot)
- ASV benchmark suite (benchmarks/repl_bench.py)
- All nox sessions pass: lint, typecheck, unit_tests, integration_tests
- Coverage: 97.2% (threshold: 97%)
2026-02-23 03:11:12 +00:00
freemo 18b7cf8107 Docs: daily update to implementation plan 2026-02-22 17:12:54 -05:00
freemo 2097a548d8 docs: mark M1.2, M4.2, M6.1 checklist items as complete (PRs #149, #147, #148) 2026-02-22 17:11:22 +00:00
freemo 9371992525 Merge remote-tracking branch 'origin/feature/m5-automation-profiles' into feature/jeff-combined-day14-batch2 2026-02-22 16:50:42 +00:00
freemo 5946dcc636 merge: resolve M3.5+M4.1 conflict in services/__init__.py 2026-02-22 16:49:56 +00:00
freemo 62605bc6f8 merge: resolve M2.7+M3.5 conflict in cli/main.py 2026-02-22 16:46:07 +00:00
freemo dc2a42889a Merge remote-tracking branch 'origin/feature/m2-lsp-stubs' into feature/jeff-combined-day14-batch2 2026-02-22 16:43:52 +00:00
freemo 67bd287a6c feat(correction): add correction model and CLI hooks 2026-02-22 11:07:35 +00:00
freemo cbb985627d feat(automation): add automation profiles and guards 2026-02-22 10:19:43 +00:00
freemo 50316e97be feat(lsp): add registry and runtime stubs 2026-02-22 10:15:25 +00:00
freemo 2d4b330f75 feat(invariant): add invariant models and enforcement 2026-02-22 09:23:35 +00:00
freemo c6d831b5ff feat(actor): add tool-calling runtime for execution actors 2026-02-22 08:31:45 +00:00
freemo e3aa0984bb Docs: Updated implementation plan to include missing v2 actor functionality 2026-02-21 21:44:18 -05:00
CoreRasurae e3ddf6c868 fix(security): remove eval-based config parsing 2026-02-21 16:32:03 +00:00
CoreRasurae ca6dbd4576 feat(skill): add skill registry persistence 2026-02-21 16:30:40 +00:00
CoreRasurae 975fbba070 feat(skill): add git operation skills 2026-02-21 16:30:33 +00:00
CoreRasurae 8a219286d6 feat(change): add ChangeSet models and invocation tracker 2026-02-21 16:27:40 +00:00
freemo 8892a810ff Docs: Updated implementation plan 2026-02-21 10:37:00 -05:00
freemo 5bdca88eca feat(change): add tool router for providers 2026-02-21 10:23:31 -05:00
freemo 9f2e7e88b0 feat(plan): add diff review and apply integration
Add PlanApplyService with diff(), artifacts(), persist_apply_summary(),
handle_merge_failure(), and guard_empty_changeset() methods.

- plan diff: renders changeset in rich/plain/json/yaml formats
- plan artifacts: shows plan metadata, changeset summary, sandbox refs
- persist_apply_summary: stores files_changed/validations_run in plan metadata
- handle_merge_failure: transitions plan to error state with conflict details
- guard_empty_changeset: blocks apply on empty changeset (--allow-empty override)

CLI: plan diff and plan artifacts commands with --format flag.
Tests: 20 Behave scenarios, 8 Robot integration tests, 4 ASV benchmarks.
Docs: docs/reference/plan_apply.md with CLI reference.

Implements D0b.apply from the implementation plan.
2026-02-21 10:22:18 -05:00
freemo 1df21e6a64 feat(cli): add output rendering framework with materialization strategies 2026-02-21 10:19:45 -05:00
freemo eae18c7578 feat(skill): add directory and search skills 2026-02-21 10:18:26 -05:00
freemo 582af29a24 feat(skill): add file operation skills 2026-02-21 10:18:26 -05:00
freemo 7aa36759c6 feat(plan): execute strategize and execute via actors 2026-02-21 10:18:26 -05:00
brent.edwards 12ae59a0db Merge branch 'master' into develop-brent-3 2026-02-21 00:15:56 +00:00
brent.edwards 4d559d9691 docs(plan): mark off remaining quality and PR items for completed Brent branches
Mark as complete the post-commit quality verification and Forgejo PR
items for four commit groups whose code was already merged to master
via develop-brent-2 PR #132:

- C1.tool.domain.tests (feature/m3-tool-domain-robot): Forgejo PR
- C0.skill.domain.tests (feature/m3-skill-domain-robot): Forgejo PR
- 10C.edge (feature/m6-validation-edge): coverage, nox, Forgejo PR
- 10C.performance (feature/m6-perf-scale): coverage, nox, Forgejo PR

All quality checks were validated on develop-brent-2: lint, typecheck,
4437 behave scenarios, 515 robot tests, 97% coverage. Confirmed again
on develop-brent-3 (this branch).
2026-02-20 23:28:32 +00:00
brent.edwards 37018341e3 Merge remote-tracking branch 'origin/master' into develop-aditya 2026-02-20 23:02:06 +00:00
brent.edwards 85dc638093 Merge branch 'master' into develop-aditya
# Conflicts:
#	implementation_plan.md
2026-02-20 18:58:05 +00:00
brent.edwards d1b3c25a5e Merge branch 'master' into develop-brent-2
# Conflicts:
#	implementation_plan.md
#	src/cleveragents/cli/main.py
2026-02-20 18:25:28 +00:00
brent.edwards a181b774c9 Merge branch 'feature/m6-perf-scale' into develop-brent-2
# Conflicts:
#	docs/development/testing.md
2026-02-20 16:31:01 +00:00
brent.edwards 5c323470e2 Merge branch 'feature/m6-validation-edge' into develop-brent-2 2026-02-20 16:30:19 +00:00
brent.edwards 4d41459800 Merge branch 'feature/m6-review-playbook' into develop-brent-2 2026-02-20 16:30:15 +00:00
brent.edwards 2cfa9eafbc Merge branch 'feature/m5-subplan-tests' into develop-brent-2 2026-02-20 16:30:11 +00:00
brent.edwards 96b5704c8a Merge branch 'feature/m3-config-cli' into develop-brent-2
# Conflicts:
#	src/cleveragents/cli/main.py
2026-02-20 16:29:54 +00:00
brent.edwards 881750ad54 Merge branch 'feature/m3-session-cli' into develop-brent-2 2026-02-20 16:29:16 +00:00
brent.edwards 06c01a1d7b Merge branch 'feature/m1-persistence-tests-robot' into develop-brent-2 2026-02-20 16:29:11 +00:00
freemo 773f1b8fd7 Docs: Updated the implementation plan 2026-02-20 10:58:51 -05:00
freemo 174e117d8e refactor(automation): remove automation_level legacy fields 2026-02-20 15:57:21 +00:00
freemo 81162bfe91 feat(skill): add inline tool executor 2026-02-20 08:50:08 -05:00
freemo c0eb9d1efd feat(skill): add skill context and registry 2026-02-20 08:50:08 -05:00
freemo b18bace06b feat(skill): add skill protocol and metadata 2026-02-20 08:50:08 -05:00