Commit Graph

278 Commits

Author SHA1 Message Date
CoreRasurae 3adc9c1f47 chore: Fix conflicts in the implementation plan 2026-02-12 22:17:32 +00:00
freemo 89184689dc build: Coverage was broken, now fixed. 2026-02-12 17:02:21 -05:00
freemo 3d96c3d9ff Docs: made the glossary a little less verbose 2026-02-12 16:29:40 -05:00
CoreRasurae 5d1825fb60 ci: CI jobs need to have git command
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
freemo a1c1540a00 Docs: updated plan 2026-02-12 15:01:51 -05:00
freemo 453c1479de Docs: Fixed several descrepencies within the specification document 2026-02-12 14:48:30 -05:00
freemo ea81a5856b Docs: updated the glossary to make it more succinct 2026-02-12 14:20:29 -05:00
freemo 6c7a48e7dc Docs: split out some sections from the specification 2026-02-12 14:04:10 -05:00
freemo 687bf6b6ec Docs: using standard kroki server since ours appears to be down (or broken) 2026-02-12 13:41:26 -05:00
freemo 578bfbf102 Docs: updated implementation plan to remove discrepencies between it and the specification 2026-02-12 13:24:44 -05:00
freemo 31fd332c7b Docs: Updated implementation plan to eliminate indescrepencies with specification 2026-02-12 13:11:38 -05:00
freemo dc2fa53942 Docs: Updated the implementation plan, included more schedule adherance data as well 2026-02-12 13:08:01 -05:00
freemo a4b56fa308 Docs: Cleaned up some minor issues like docs not being in nav 2026-02-12 11:08:54 -05:00
freemo f9d3aa6f3a Docs: Made the ACMS more extensible 2026-02-12 11:02:10 -05:00
freemo e4febab61e Docs: Updated the depth / detail level concept to be more extensible with additional levels as well 2026-02-12 10:07:37 -05:00
freemo bce6109e2f Docs: First iteration of ACMS added 2026-02-12 08:54:01 -05:00
freemo 013408961a Docs: Removed Context section as we are about to rewrite it in the next commit 2026-02-12 08:53:57 -05:00
brent.edwards 13a0aaeb9d Merge pull request 'feat: Add Q0: Pre-commit hooks setup.' (#41) from Q0-quality-automation into master
Reviewed-on: cleveragents/cleveragents-core#41
Reviewed-by: Rui Hu <rui.hu@cleverthis.com>
2026-02-12 07:21:52 +00:00
brent.edwards 63b54ac8ab fix(nox): run asv machine --yes before benchmarks
asv requires machine info to be configured before running benchmarks.
Without this, asv run fails on first use or in CI/containers.
2026-02-12 07:03:31 +00:00
brent.edwards 64f58f6406 fix(deps): pin behave==1.2.6 in tests extra to match dev extra
behave-parallel pulls behave>=1.2.6 which resolves to 1.3.3. Behave
1.3.3 no longer strips trailing colons from step text before tables,
breaking the architecture.feature step matcher.
2026-02-12 07:01:08 +00:00
brent.edwards 58d79558ce fix(docker): copy README.md into build stage for hatchling 2026-02-12 06:35:02 +00:00
brent.edwards d0f1c8bae3 fix(ci): use docker:dind as main container instead of services
Forgejo act_runner service container networking fails with 'network not
found'. Use docker:dind directly with --privileged and start dockerd
inline to avoid the services networking issue.
2026-02-12 06:26:56 +00:00
brent.edwards 945cced381 fix(ci): fix docker build job and Dockerfile
- Add DinD service container and docker:cli image so docker CLI is available
- Fix Dockerfile: remove missing uv.lock, fix build order (copy source before build)
- Remove helm job (k8s/ directory does not exist yet)
2026-02-12 06:17:36 +00:00
brent.edwards 04070ca3ff Merge branch 'master' into Q0-quality-automation
# Conflicts:
#	implementation_plan.md
2026-02-12 06:05:43 +00:00
brent.edwards c9605c9381 test(features/steps): remove ansi codes
Remove rich formatting from output
2026-02-12 05:44:57 +00:00
brent.edwards d4a48caeec test(features/steps): fix features that depend on running as user not superuser 2026-02-12 05:23:29 +00:00
freemo 4363fbe7c4 Docs: moved implementation plan here 2026-02-12 00:23:19 -05:00
brent.edwards 17fe46d925 test(behave): fix behave tests
There had been over 100 behave tests failing. There should be none failing now.
2026-02-12 04:47:02 +00:00
freemo 2bceddeed3 Docs: revampted implementation plan again 2026-02-11 23:24:18 -05:00
brent.edwards 3ed11f7988 build(behave.ini): remove ", src" from "paths"
The code was seeing the whole text as one path.
2026-02-12 03:36:51 +00:00
brent.edwards 4ae8a9ee3a ci(.forgejo/workflows/ci.yml): remove unused behave-parallel
No longer installing behave-parallel. Also removed other uploads that won't work.
2026-02-12 03:30:13 +00:00
brent.edwards ea783c57e9 ci(.forgejo/workflows/ci.yml): remove behave 3.11 and 3.12 2026-02-12 03:17:26 +00:00
brent.edwards 3cc662f5cc ci(.forgejo/workflows/ci.yml): remove the attempt to upload complexity report
Forgejo shows the following error: ::error::@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES.
2026-02-12 03:14:37 +00:00
brent.edwards a40d48cbea style(src/cleveragents/reactive/application.py): simplify the code that gets an F on complexity metric 2026-02-12 03:04:18 +00:00
brent.edwards 51bfee28a9 style(robot/-and-typings/numpy): fix style problems found by ruff check 2026-02-12 02:47:08 +00:00
brent.edwards c5004ae918 build(features/steps): fix 14 files to match new ruff format 2026-02-12 02:26:03 +00:00
brent.edwards 16794e43ae build(.pre-commit-config.yaml): moving ruff to version 0.15.0
The version of ruff wasn't right in .pre-commit-config.yaml
2026-02-12 02:15:34 +00:00
brent.edwards 1774debbc4 ci(pyproject.toml): force the version of ruff
ruff should now be version 0.15.
2026-02-12 02:07:59 +00:00
freemo 395ae04539 Docs: updated the implementation plan again 2026-02-11 21:04:11 -05:00
freemo 736da7799c Docs: Updated implementation plan with new plan plus added asv requirements to commits 2026-02-11 20:30:59 -05:00
freemo bb7d71f3bb Docs: removed the concept of drafts 2026-02-11 20:30:43 -05:00
brent.edwards 3c63a4c132 ci(.forgejo/workflows/ci.yml): adding node to the jobs
Many steps in ci were failing due to missing `node`.
2026-02-12 01:27:19 +00:00
freemo f01d1d6170 Docs: fixed a few inconsistencies in the documentation 2026-02-11 20:23:17 -05:00
brent.edwards 761db2518c test: harden code sandbox, add path traversal protection, and fix test mocks 2026-02-12 01:07:44 +00:00
freemo ab561adc6c Docs: Cleaned up the lead in a bit. 2026-02-11 19:27:02 -05:00