feat: enhance profile path resolution and add example profiles for better project adaptability

This commit is contained in:
2026-05-21 10:21:52 -06:00
parent fb8a6ba2d9
commit f0d3cd4ce9
12 changed files with 234 additions and 34 deletions

View File

@@ -36,7 +36,7 @@ AI clients and agent workflows
## Current Repository Shape
The current repo still keeps the first real profile's vault at root-level `project-knowledge/`. That is acceptable during migration, but reusable code should increasingly resolve paths from profile configuration rather than hardcoding Fidelity-specific locations.
The current repo still keeps the first real profile's vault at root-level `project-knowledge/`. That is acceptable during migration, but reusable code should resolve paths from `profiles/<profile>/workspace.json` rather than hardcoding Fidelity-specific locations.
Target direction:

View File

@@ -46,7 +46,7 @@ Human-readable summary for agents and developers:
### `workspace.json`
Planned path configuration. Initial versions can point to current paths:
Profile path configuration. Initial versions can point to current paths:
```json
{
@@ -58,6 +58,8 @@ Planned path configuration. Initial versions can point to current paths:
}
```
Reusable scripts should resolve these paths through `scripts/aiw/profile.py`.
### `services.json`
Profile-specific local service manifest for `scripts/aiw/services.py`.