Commit graph

4 commits

Author SHA1 Message Date
darbs-claude
8c1cd9ed4f fix: verify prompt_versions migration exists, add model docblock
Investigation confirms migration exists at
Migrations/0001_01_01_000004_create_prompt_tables.php with all
required columns, foreign keys, and indexes:

- prompt_id FK (cascadeOnDelete)
- version (unsignedInteger)
- system_prompt, user_template (text, nullable)
- variables (json, nullable)
- created_by FK to users (nullOnDelete)
- composite index on [prompt_id, version]

Feature tests at tests/Feature/PromptVersionTest.php cover
creation, relationships, restore, and version history.

Adds @property docblock to PromptVersion model for IDE support,
consistent with AgentWorkspaceState.

Closes #22

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 06:41:45 +00:00
Snider
adcc163775 refactor: update namespaces for L1/L2 package convention
- Core\Mod\Tenant -> Core\Tenant
- Core\Service\Agentic -> Core\Mod\Agentic\Service

Part of namespace restructure to align with L1/L2 module conventions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 17:34:46 +00:00
Snider
ad83825f93 refactor: rename namespace Core\Agentic to Core\Mod\Agentic
Updates all classes to use the new modular namespace convention.
Adds Service/ layer with Core\Service\Agentic for service definition.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:12:58 +00:00
Snider
1350472d11 monorepo sepration 2026-01-27 00:28:29 +00:00