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 self-assigned this 2026-02-11 15:27:46 +00:00
hamza.khyari added this to the Sprint Jan 1st- 14th project 2026-02-11 15:27:46 +00:00
hamza.khyari force-pushed feat/b1-data-models from 5cc6c78324 to 93fe2c53e0 2026-02-12 14:38:52 +00:00 Compare
hamza.khyari added 1 commit 2026-02-12 14:51:17 +00:00
chore: untrack working notes files
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
hamza.khyari added 1 commit 2026-02-12 14:54:49 +00:00
chore: reset implementation_plan.md to match master
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
hamza.khyari added 1 commit 2026-02-12 14:59:29 +00:00
refactor: fix linting issues
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
hamza.khyari added 1 commit 2026-02-12 15:12:03 +00:00
refactor: standardize Field defaults in project model classes
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
hamza.khyari added 1 commit 2026-02-12 15:18:46 +00:00
feat: add scenarios for parsing namespaced project names and name validation
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 marked the pull request as ready for review 2026-02-12 15:21:03 +00:00
hamza.khyari requested review from brent.edwards 2026-02-12 15:21:10 +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 Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#43