- Add dialogue prompt file writing for audit/debugging - Update README install instructions - Add new RFCs (0053, 0055-0059, 0062) - Add recorded dialogues and expert pools - Add ADR 0018 dynamodb-portable-schema - Update TODO with hook configuration notes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.8 KiB
UKFS Specification Review - Background
Document Under Review
Universal Knowledge Filesystem (UKFS) v0.1.0 - A hierarchical directory-based architecture for organizing arbitrary knowledge in a format optimized for autonomous agent navigation.
Core Innovation
Unlike RAG (probabilistic embedding similarity) or Tool-Based Retrieval (query languages), UKFS enables deterministic semantic path traversal - agents reason about knowledge location rather than search for it.
Current Specification
Root Directory Structure
/{root}/
├── .spec/ # UKFS specification metadata
├── e/ # ENTITIES (nouns)
├── r/ # RELATIONS (edges)
├── t/ # TIMELINE (events)
├── s/ # STATE (current snapshots)
├── p/ # PROCEDURES (how-to)
└── q/ # QUERIES (cached Q&A)
Entity Types (/e/)
- person, org, place, concept, project, asset, task, word
Relation Convention
{subject}+{object}.yaml in /r/{relation-type}/
Design Principles
- Path as identifier (human-readable, greppable)
- No UUIDs in paths (speakable, memorable)
- Type as namespace (disambiguation through hierarchy)
- English structure, universal content
- Relations as first-class files
- State separation (current vs timeless)
Agent Navigation Algorithm (8 steps)
- Parse query for entity references and intent
- Identify relevant entity types
- Resolve entity paths: /e/{type}/{slug}/
- Find relations: /r/{relation-type}/{entity}.yaml
- Check state if "current": /s/
- Check timeline if temporal: /t/
- Check procedures if "how to": /p/
- Synthesize response
Key Questions for Deliberation
-
Naming Convention: Single-character (e/, r/, t/, s/, p/, q/) vs full names (entities/, relations/...)
- Trade-offs: brevity vs discoverability vs agent navigation efficiency
-
Entity Type Coverage: Are person, org, place, concept, project, asset, task, word sufficient?
-
Relation Modeling: Is {subject}+{object}.yaml adequate? What about:
- N-ary relations (3+ participants)
- Relation attributes
- Bidirectional relations
-
State vs Timeline: Is /s/ vs /t/ separation clear? Edge cases?
-
Query Caching (/q/): Staleness concerns? Invalidation strategy?
-
Scalability: Millions of entities? Sharding strategies?
-
Agent Navigation: Is the 8-step algorithm complete? Disambiguation? Fallbacks?
-
Git Integration: Merge conflicts? Concurrent edits?
-
Security/Privacy: Access control? Encryption?
-
Missing Concepts: What fundamental categories are absent?
Success Criteria
The dialogue should produce concrete, actionable improvements to the UKFS specification that maintain its core philosophy (deterministic semantic navigation) while addressing practical concerns.