Commit Graph

269 Commits

Author SHA1 Message Date
khyari hamza 80eeca540b feat: add scenarios for parsing namespaced project names and name validation 2026-02-12 16:18:34 +01:00
khyari hamza 99c29d5e66 refactor: standardize Field defaults in project model classes 2026-02-12 16:11:55 +01:00
khyari hamza aa9f9c4d0b refactor: fix linting issues 2026-02-12 15:59:21 +01:00
khyari hamza ccacbcc64f chore: reset implementation_plan.md to match master 2026-02-12 15:54:38 +01:00
khyari hamza 62e6243285 chore: untrack working notes files 2026-02-12 15:48:17 +01:00
freemo 93fe2c53e0 Docs: revampted implementation plan again 2026-02-12 14:32:17 +00:00
freemo 234ce87682 Docs: updated the implementation plan again 2026-02-12 14:32:17 +00:00
freemo a7d702e85d Docs: Updated implementation plan with new plan plus added asv requirements to commits 2026-02-12 14:32:17 +00:00
freemo 5a2953b99c Docs: Updated implementation plan with the new specification 2026-02-12 14:32:17 +00:00
khyari hamza 676810d62b feat: Add ValidationConfig and ContextConfig models with step definitions
- Introduced ValidationConfig for project validation commands including test, lint, type-check, and build commands.
- Added ContextConfig for project context indexing and filtering, with support for ignore/include patterns and file size limits.
- Implemented step definitions for both models in project_config_model_steps.py.
- Enhanced Project model to include validation_config and context_config fields.
- Created comprehensive step definitions for Resource model, including validation and manipulation steps in resource_model_steps.py.
- Updated resource.py to define Resource model with necessary fields and validation.
- Refactored project.py to integrate new models and maintain backward compatibility.
2026-02-12 14:32:10 +00:00
khyari hamza 76f9e37b18 feat: add ResourceType and SandboxStrategy enums with associated tests 2026-02-12 14:32:10 +00: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
freemo 6b5e3e816b Docs: Removed the notes on permiassions as they are forward looking post-serverE 2026-02-11 19:15:01 -05:00
freemo 93be2664fe Docs: Cleaned up some of the redundant sections 2026-02-11 19:14:01 -05:00
freemo 4a1bb5fbfa Docs: Refined the calidation attachment semantics a bit 2026-02-11 19:02:14 -05:00
freemo 1838a62800 Docs: Removed the tag concept 2026-02-11 18:44:11 -05:00
freemo 654248f4f6 Docs: Removed the optional overriding arguments on most of the add commands, for now this will exclusively be handled via the respective config files. 2026-02-11 18:16:18 -05:00
freemo 1cb1d9f95b Docs: Reworked the validation to make it an extension of a tool 2026-02-11 17:27:19 -05:00
freemo 0ef6e2a73a Docs: Updated the details around the verbosity flag and added some related config items 2026-02-11 14:22:30 -05:00
freemo a4dafc58bb Docs: Fixed some improperly indented bullet point items. 2026-02-11 14:21:43 -05:00
freemo 5839e7e3f2 Docs: Added command synopsis to each subcommands more detailed explanation. 2026-02-11 14:07:55 -05:00