feat: implement skin_tone_trace node builder and standardize TKG node naming

- Add build_skin_tone_trace_nodes() to tkg.rs (Fitzpatrick I-VI classification)
- Add skin_tone_trace_nodes field to TkgResult
- Standardize node naming: _trace -> _track (text uses _region)
- Add external_id format column to Node Types table
- Add storage names to Edge Types table
- Create TKG_FORMATION_V1.0.md with Phase 0-4 definition, flow diagram, queries
- Add cross-reference from identity_agent_v4.0.md to TKG Formation
- Update Python scripts to executable mode
This commit is contained in:
Accusys
2026-06-25 03:09:16 +08:00
parent 406b2d5524
commit 4273576612
8 changed files with 680 additions and 72 deletions

View File

@@ -163,4 +163,16 @@ status: Completed
- **Rust API integration**: Call Python scripts from stubbed Rust functions
- **Production deployment**: Generate TMDb seeds for all identities
- **Workflow documentation**: User guide for Identity Agent CLI usage
- **Workflow documentation**: User guide for Identity Agent CLI usage
## Related Documents
- `docs_v1.0/DESIGN/TKG_FORMATION_V1.0.md` — TKG formation phases, node/edge types, data flow diagram
- `docs_v1.0/API_WORKSPACE/modules/15_tkg.md` — TKG API endpoints
## Version History
| Version | Date | Changes |
|---------|------|--------|
| 1.0 | 2026-06-25 | Initial architecture doc, all phases completed |
| 1.1 | 2026-06-25 | Added reference to TKG Formation V1.0 |