You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: urn:local: namespace for context-local identifiers #4
Adopt urn:local: as a de facto standard for context-local identifiers:
urn:local:treasury → "treasury" in THIS ledger/document/system
urn:local:config → "config" in THIS context
urn:local:user:alice → "alice" in THIS namespace
Why This Matters for LLMs
Property
Benefit
Self-documenting
LLM instantly understands scope
No resolution needed
Won't hallucinate external lookups
Context-native
Matches how LLMs process information
Collision-free
Can't conflict with global identifiers
Portable
Copy document anywhere, meaning preserved
Semantics
When an agent (human or AI) encounters urn:local:X:
Do NOT attempt to resolve externally
Interpret X within the current document/context/system
Treat as equivalent to a local variable or internal reference
Use Cases
WebLedgers: urn:local:treasury, urn:local:amm
Config files: urn:local:database, urn:local:cache
JSON-LD documents: Local entity references
LLM contexts: Scoped identifiers in prompts
Multi-tenant systems: Per-tenant namespacing
Specification
urn:local:<local-name>
where:
- "urn" = Uniform Resource Name scheme
- "local" = Namespace Identifier (NID) indicating local scope
- <local-name> = Any valid URN Namespace Specific String
Activity
Add urn:local: URI normalization support