Files
oikos/inventory.yaml
dtoro a2410cf9c2 docs(R5): rewrite knowledge schema + llm-wiki for DB-native model; deprecate root inventory.yaml
Rewrote .agents/domains/knowledge/schema.md and .agents/shared/llm-wiki.md
which described the deleted Python substrate (bin/homelab, oikos/cards/,
oikos/ledger.py, root inventory.yaml, knowledge/sources/, get_page/
search_docs MCP tools). Now reflect ADR 0003: Postgres DB is the single
source of truth for structured data and narrative knowledge; seeds/*.yaml
are bootstrap+DR manifests (content-hashed via seed_versions); archive/
knowledge/ is the frozen legacy wiki; MCP search_knowledge/get_entity_
knowledge replace get_page/search_docs.

Swept substrate refs in .agents/shared/{writing-style,page-templates}.md
and .agents/domains/operations/schema.md: bare inventory.yaml ->
seeds/inventory.yaml; knowledge/sources/ -> archive/knowledge/sources/
(historical); get_changelog/oikos/ledger.py -> DB audit trail / structured
document changelog field; HERMES -> Nomos.

Root inventory.yaml (618-line Python-era file superseded 2026-07-07 by
seeds/inventory.yaml) replaced with a deprecation stub pointing to the seed
and DB. Kept as a stub rather than deleted because AGENTS.md §1/§2 still
point clients at /opt/homelab-context/inventory.yaml; full on-client path
reconciliation deferred to R13.

Flagged export gap: oikos export regenerates seeds/{ontology,inventory,
policy}.yaml but NOT seeds/knowledge.yaml — API-added knowledge lives only
in the DB until hand-edited into the seed.

VERSION 0.7.7 -> 0.7.8. Plan R5 marked done.
2026-07-17 22:36:41 +02:00

29 lines
1.3 KiB
YAML

# DEPRECATED — 2026-07-17 (R5). Do not edit. Do not consume.
#
# This root-level inventory.yaml is the Python-era topology file. It was
# superseded on 2026-07-07 by the DB-native model (ADR 0003):
#
# - The Postgres database is the single source of truth for all structured
# data. Query it via MCP `get_entity` / `list_entities` or the REST API.
# - `seeds/inventory.yaml` is the bootstrap + DR seed manifest, ingested
# idempotently into the DB at deploy time (content-hashed via
# `seed_versions`). `oikos export` regenerates it from the DB for VC.
# - `archive/knowledge/` holds the frozen legacy narrative wiki.
#
# This file is kept only because AGENTS.md §1/§2 still point clients at
# `/opt/homelab-context/inventory.yaml` (the on-client clone path). Reconcile
# that path to `seeds/inventory.yaml` and delete this stub — tracked as R13
# in plans/2026-07-17-codebase-review-and-cleanup.md.
#
# The live topology is in the DB. The seed is `seeds/inventory.yaml`. This
# file is not read by any Go code, script, or test in the repo.
---
deprecated: true
superseded_by: seeds/inventory.yaml
source_of_truth: postgres (see ADR 0003)
see_also:
- seeds/inventory.yaml
- seeds/ontology.yaml
- seeds/policy.yaml
- docs/adr/0003-db-native-ontology-yaml-seeds.md