feat(domain): add project data model foundation (B1) #43

Closed
hamza.khyari wants to merge 11 commits from feat/b1-data-models into master
Member
  • Implement ResourceType (6 values) and SandboxStrategy (6 values + helper properties) enums for classifying project resources and sandboxing behavior
  • Add Resource Pydantic model with ULID validation, frozen immutability, and computed properties (supports_sandbox, can_write, get_sandbox_path)
  • Add ValidationConfig model for project validation commands with get_all_commands() and has_any_validation() helpers
  • Add ContextConfig model for context indexing/filtering with default ignore patterns (.git/, node_modules/, etc.) that merge with user-provided patterns
  • Extend the existing Project model with project_id (ULID), namespace (validated, reserved names rejected), description, tags, resources, validation_config, and context_config -- all with defaults for full backward compatibility with existing code
- Implement `ResourceType` (6 values) and `SandboxStrategy` (6 values + helper properties) enums for classifying project resources and sandboxing behavior - Add `Resource` Pydantic model with ULID validation, frozen immutability, and computed properties (`supports_sandbox`, `can_write`, `get_sandbox_path`) - Add `ValidationConfig` model for project validation commands with `get_all_commands()` and `has_any_validation()` helpers - Add `ContextConfig` model for context indexing/filtering with default ignore patterns (`.git/`, `node_modules/`, etc.) that merge with user-provided patterns - Extend the existing `Project` model with `project_id` (ULID), `namespace` (validated, reserved names rejected), `description`, `tags`, `resources`, `validation_config`, and `context_config` -- all with defaults for full backward compatibility with existing code
hamza.khyari added this to the (deleted) milestone 2026-02-11 15:27:46 +00:00
hamza.khyari force-pushed feat/b1-data-models from 5cc6c78324
Some checks failed
CI / lint (pull_request) Failing after 16s
CI / typecheck (pull_request) Failing after 25s
CI / coverage (pull_request) Has been skipped
CI / security (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 15s
CI / build (pull_request) Successful in 11s
CI / behave (3.13) (pull_request) Successful in 3m50s
CI / docker (pull_request) Has been skipped
to 93fe2c53e0
Some checks failed
CI / lint (pull_request) Failing after 16s
CI / typecheck (pull_request) Failing after 27s
CI / coverage (pull_request) Has been skipped
CI / security (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 15s
CI / build (pull_request) Successful in 11s
CI / behave (3.13) (pull_request) Successful in 3m45s
CI / docker (pull_request) Has been skipped
2026-02-12 14:38:52 +00:00
Compare
chore: untrack working notes files
Some checks failed
CI / lint (pull_request) Failing after 16s
CI / typecheck (pull_request) Failing after 26s
CI / coverage (pull_request) Has been skipped
CI / security (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 15s
CI / build (pull_request) Successful in 12s
CI / behave (3.13) (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
62e6243285
chore: reset implementation_plan.md to match master
Some checks failed
CI / typecheck (pull_request) Failing after 24s
CI / security (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 14s
CI / build (pull_request) Successful in 11s
CI / behave (3.13) (pull_request) Successful in 3m46s
CI / lint (pull_request) Failing after 14s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
ccacbcc64f
refactor: fix linting issues
Some checks failed
CI / lint (pull_request) Successful in 15s
CI / typecheck (pull_request) Failing after 24s
CI / coverage (pull_request) Has been skipped
CI / security (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 14s
CI / build (pull_request) Successful in 12s
CI / behave (3.13) (pull_request) Successful in 3m46s
CI / docker (pull_request) Has been skipped
aa9f9c4d0b
refactor: standardize Field defaults in project model classes
All checks were successful
CI / lint (pull_request) Successful in 18s
CI / typecheck (pull_request) Successful in 26s
CI / security (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 15s
CI / build (pull_request) Successful in 12s
CI / behave (3.13) (pull_request) Successful in 3m57s
CI / docker (pull_request) Successful in 39s
CI / coverage (pull_request) Successful in 4m21s
99c29d5e66
feat: add scenarios for parsing namespaced project names and name validation
All checks were successful
CI / lint (pull_request) Successful in 17s
CI / typecheck (pull_request) Successful in 25s
CI / security (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 15s
CI / build (pull_request) Successful in 13s
CI / behave (3.13) (pull_request) Successful in 3m46s
CI / docker (pull_request) Successful in 38s
CI / coverage (pull_request) Successful in 4m21s
80eeca540b
hamza.khyari changed title from [WIP] feat(domain): add project data model foundation (B1) to feat(domain): add project data model foundation (B1) 2026-02-12 15:21:03 +00:00
hamza.khyari closed this pull request 2026-02-13 22:00:56 +00:00
Member

Removed; all the work has been moved to #51 .

Removed; all the work has been moved to https://git.cleverthis.com/cleveragents/cleveragents-core/pulls/51 .
freemo modified the milestone from (deleted) to v3.0.0 2026-02-23 00:36:47 +00:00
Some checks are pending
CI / lint (pull_request) Successful in 17s
Required
Details
CI / typecheck (pull_request) Successful in 25s
Required
Details
CI / security (pull_request) Successful in 17s
Required
Details
CI / quality (pull_request) Successful in 15s
Required
Details
CI / build (pull_request) Successful in 13s
Required
Details
CI / behave (3.13) (pull_request) Successful in 3m46s
CI / docker (pull_request) Successful in 38s
Required
Details
CI / coverage (pull_request) Successful in 4m21s
Required
Details
CI / integration_tests*
Required
CI / unit_tests*
Required

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!43
No description provided.