feat: add .architect/ project mapping system with architect-indexer agent and Docker containerization
- Add .architect/ directory structure (10 template files) as project brain for agent orientation - Add architect-indexer agent that scans codebase and generates structured architecture docs - Add Docker containerization: Dockerfile.architect-indexer, docker-compose.architect.yml - Add TypeScript project-mapper module with staleness detection and context injection - Add /index-project command, architect-first-contact rule, project-mapping skill - Integrate orchestrator first-contact check: triggers indexing before any task delegation - Add npm arch:* scripts for Docker-based indexing workflow - Register agent in capability-index.yaml and AGENTS.md
This commit is contained in:
71
.architect/state.json
Normal file
71
.architect/state.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"version": 1,
|
||||
"status": "not_indexed",
|
||||
"last_full_index": null,
|
||||
"last_incremental_update": null,
|
||||
"last_file_count": 0,
|
||||
"file_hashes": {},
|
||||
"directory_hashes": {},
|
||||
"dependency_hashes": {
|
||||
"package_json": null,
|
||||
"composer_json": null,
|
||||
"go_mod": null,
|
||||
"pubspec_yaml": null,
|
||||
"cargo_toml": null,
|
||||
"requirements_txt": null
|
||||
},
|
||||
"sections": {
|
||||
"architecture_overview": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"dependency_graph": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"entities": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"db_schema": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"api_surface": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"conventions": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"tech_stack": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"file_graph": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
},
|
||||
"module_graph": {
|
||||
"last_updated": null,
|
||||
"file_hash": null,
|
||||
"status": "stale"
|
||||
}
|
||||
},
|
||||
"staleness_threshold_hours": 24,
|
||||
"indexing_agent": "architect-indexer",
|
||||
"pipeline_integration": {
|
||||
"check_on_first_contact": true,
|
||||
"incremental_on_file_change": true,
|
||||
"full_reindex_on_dependency_change": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user