feat(core): add v3 lifecycle models, automation levels, subplan support, and security hardening #42

Merged
CoreRasurae merged 6 commits from feat/luis-A5-A6-E1-SEC1 into master 2026-02-12 20:27:21 +00:00

6 Commits

Author SHA1 Message Date
CoreRasurae 5d1825fb60 ci: CI jobs need to have git command
CI / lint (pull_request) Successful in 16s
CI / typecheck (pull_request) Successful in 28s
CI / security (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 17s
CI / build (pull_request) Successful in 12s
CI / behave (3.13) (pull_request) Successful in 4m26s
CI / docker (pull_request) Successful in 8s
CI / coverage (pull_request) Successful in 5m14s
CI / lint (push) Successful in 15s
CI / typecheck (push) Successful in 25s
CI / security (push) Successful in 17s
CI / quality (push) Successful in 14s
CI / build (push) Successful in 12s
CI / behave (3.13) (push) Successful in 4m32s
CI / docker (push) Successful in 8s
CI / coverage (push) Successful in 5m7s
Some tests require it
2026-02-12 20:20:00 +00:00
CoreRasurae e7ad541b71 build(env): Update security Vulture check exceptions 2026-02-12 20:19:57 +00:00
CoreRasurae aa299966ad build(env): Update noxfile config to include a secuity check with vulture 2026-02-12 20:19:55 +00:00
CoreRasurae 091c93838c build(env): Update noxfile config to also lint the behave features and robot tests 2026-02-12 20:19:52 +00:00
CoreRasurae c8f6bbaf9a build(env): Update noxfile config to be backward compatible with older behave 2026-02-12 20:19:49 +00:00
CoreRasurae f2f7aa5dc9 feat(core): add v3 lifecycle models, automation levels, subplan support, and security hardening
Implement multiple Stage A/B/E/SEC milestones for the v3 lifecycle system:
- Stage A5.3+A5.4: Add LifecycleActionModel and LifecyclePlanModel SQLAlchemy
  models with to_domain()/from_domain() conversion methods
- Stage A5.6: Implement ActionRepository with full CRUD, namespace/state
  queries, referential integrity checks, and retry decorator
- Stage E1: Add subplan domain models (ExecutionMode, SubplanMergeStrategy,
  SubplanConfig, SubplanStatus, SubplanAttempt, SubplanFailureHandler) with
  computed properties on Plan (is_subplan, is_root_plan, depth, has_subplans)
- Stage A6: Add AutomationLevel enum (MANUAL, REVIEW_BEFORE_APPLY,
  FULL_AUTOMATION), settings integration, PlanLifecycleService auto-progression,
  pause/resume, and CLI commands (--automation-level, set-automation-level)
- Stage SEC1: Remove eval()/exec() from stream_router.py, replace with named
  operation and transform registries; code blocks and unregistered transforms
  now raise StreamRoutingError
- Add langchain-anthropic dependency
- Update BDD tests for security changes and relax ADR directory requirement
2026-02-12 20:19:42 +00:00