Fix absolute paths for cloud sessions (no shared filesystem)
**Path Fixes for Multi-Machine Deployment:** Session 2: - Changed `/home/setup/navidocs/ARCHITECTURE_INTEGRATION_ANALYSIS.md` → `ARCHITECTURE_INTEGRATION_ANALYSIS.md` - Changed `/home/setup/navidocs/YACHT_ACCOUNTING_RESEARCH.md` → `YACHT_ACCOUNTING_RESEARCH.md` Session 5: - Changed `/home/setup/infrafabric/schemas/citation/v1.0.schema.json` → `schemas/citation/v1.0.schema.json` - Copied citation schema from infrafabric repo into navidocs repo (no external dependency) - Fixed example citation paths (absolute → relative) **Why This Matters:** Cloud sessions run on separate machines with NO shared filesystem. All paths must be: 1. Relative to git repo root (e.g., `./file.md` not `/home/setup/navidocs/file.md`) 2. Files must exist IN the navidocs repo (not external repos) **Test Command:** ```bash git clone https://github.com/dannystocker/navidocs.git cd navidocs git checkout navidocs-cloud-coordination # All referenced files now accessible via relative paths ``` Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
894df54f7d
commit
cb7ad641cd
3 changed files with 39 additions and 7 deletions
|
|
@ -18,9 +18,9 @@ Design technical architecture for **sticky daily-use features** (inventory track
|
|||
## Context (Read First)
|
||||
|
||||
**Prerequisites:**
|
||||
1. Read `intelligence/session-1/session-1-market-analysis.md`
|
||||
2. Read `intelligence/session-1/session-1-handoff.md`
|
||||
3. Read `/home/setup/navidocs/ARCHITECTURE_INTEGRATION_ANALYSIS.md` (if accessible)
|
||||
1. Read `intelligence/session-1/session-1-market-analysis.md` (once Session 1 completes)
|
||||
2. Read `intelligence/session-1/session-1-handoff.md` (once Session 1 completes)
|
||||
3. Read `ARCHITECTURE_INTEGRATION_ANALYSIS.md` (in repo root)
|
||||
|
||||
**Current NaviDocs Tech Stack:**
|
||||
- Frontend: Vue 3 + Vite
|
||||
|
|
@ -133,7 +133,7 @@ Each agent MUST:
|
|||
**Research + Design:**
|
||||
|
||||
**Open-Source Accounting Module Research:**
|
||||
- Review `/home/setup/navidocs/YACHT_ACCOUNTING_RESEARCH.md` (Haiku research completed)
|
||||
- Review `YACHT_ACCOUNTING_RESEARCH.md` (in repo root - Haiku research completed)
|
||||
- **Recommended:** Spliit (MIT, 2.3K stars) - receipt scanning, expense splitting, PWA mobile
|
||||
- **Alternative:** SplitPro (MIT, 916 stars) - BigInt precision, multi-currency
|
||||
- **Foundation:** Medici (MIT, 330 stars) - double-entry GL, hierarchical accounts
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ Synthesize all intelligence from Sessions 1-4 into comprehensive dossier, valida
|
|||
- All claims MUST have ≥2 independent sources
|
||||
- Citations include: file:line references, web URLs with SHA-256 hashes, git commits
|
||||
- Status tracking: unverified → verified → disputed → revoked
|
||||
- Citation schema: `/home/setup/infrafabric/schemas/citation/v1.0.schema.json`
|
||||
- Citation schema: `schemas/citation/v1.0.schema.json` (in repo)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -922,14 +922,14 @@ Signature: ed25519:[signature_bytes]
|
|||
"sources": [
|
||||
{
|
||||
"type": "file",
|
||||
"path": "/mnt/c/users/setup/downloads/NaviDocs-Medium-Articles.md",
|
||||
"path": "intelligence/session-1/market-analysis.md",
|
||||
"line_range": "45-67",
|
||||
"quality": "primary",
|
||||
"credibility": 9
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "/home/setup/navidocs/docs/debates/02-yacht-management-features.md",
|
||||
"path": "docs/debates/02-yacht-management-features.md",
|
||||
"line_range": "120-145",
|
||||
"quality": "primary",
|
||||
"credibility": 9
|
||||
|
|
|
|||
32
schemas/citation/v1.0.schema.json
Normal file
32
schemas/citation/v1.0.schema.json
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "IF.citation.v1",
|
||||
"type": "object",
|
||||
"required": ["citation_id","claim_id","sources","created_by","created_at","status","signature"],
|
||||
"properties": {
|
||||
"citation_id": {"type":"string","description":"if://citation/<uuid> or URL"},
|
||||
"claim_id": {"type":"string","description":"if://claim/<doc>/<section> or external id"},
|
||||
"sources": {
|
||||
"type":"array",
|
||||
"items": {
|
||||
"type":"object",
|
||||
"required":["type","ref","hash"],
|
||||
"properties":{
|
||||
"type":{"type":"string","enum":["paper","code","conversation","dataset","web","other"]},
|
||||
"ref":{"type":"string","description":"doi:/path or path:line or URL"},
|
||||
"hash":{"type":"string","description":"sha256:<hex> or content-address"},
|
||||
"note":{"type":"string"}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rationale":{"type":"string"},
|
||||
"verified_at":{"type":["string","null"], "format":"date-time"},
|
||||
"verified_by":{"type":["string","null"]},
|
||||
"status":{"type":"string","enum":["unverified","verified","disputed","revoked"], "default":"unverified"},
|
||||
"created_by":{"type":"string"},
|
||||
"created_at":{"type":"string","format":"date-time"},
|
||||
"signature":{"type":"string","description":"ed25519:<base64sig> or placeholder"},
|
||||
"adjacent_decisions":{"type":"array","items":{"type":"string"}},
|
||||
"meta":{"type":"object","additionalProperties":true}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue