An always-on second brain you talk to. Voice notes in Telegram → typed, linked knowledge in your Obsidian vault. Runs 24/7 on the Claude subscription you already have.
Schema Reference
Full documentation for schema.json — generated per vault, never shipped with hardcoded values.
Structure
{
"node_types": { ... },
"type_aliases": { ... },
"field_fixes": { ... },
"domain_inference": { ... },
"path_type_hints": { ... },
"status_order": { ... },
"status_defaults": { ... },
"richness_fields": { ... },
"entity_extraction": { ... },
"decay": { ... },
"ignore_tags": [ ... ]
}
node_types
Map of type name → definition. Each type has:
description— what this type representsrequired— fields that must be present (e.g.["description", "tags", "status"])status— valid status enum values for this type- Optional:
priority,potential,source— additional enum fields
Example:
"project": {
"description": "Project with deliverables",
"required": ["description", "tags", "status"],
"status": ["draft", "active", "done", "paused", "cancelled"]
}
type_aliases
Map of old type values → canonical type. Auto-fixed on enforce.
Example: "blog-post": "note" — any card with type: blog-post gets rewritten to type: note.
field_fixes
Map of field name → {old_value: fixed_value}. Catches typos.
Example: "status": {"actve": "active"} — fixes a common typo across the vault.
domain_inference
Map of folder prefix → domain name. Used when a card has no explicit domain: field.
Example: "projects/": "work" — any file under projects/ gets domain: work.
decay
Controls relevance decay over time.
| Parameter | Description | Default |
|---|---|---|
| rate | Relevance loss per day | 0.015 |
| floor | Minimum relevance | 0.1 |
| tiers.active | Days threshold for "active" | 7 |
| tiers.warm | Days threshold for "warm" | 21 |
| tiers.cold | Days threshold for "cold" | 60 |
Formula: relevance = max(floor, 1.0 - rate × days_since_access)
Tier beyond cold = "archive".
Special tier core = manual only, never auto-demoted.
path_type_hints
Map of folder substring → type name. Used by infer_type() when a card has no explicit type: field.
Example: "leads/": "lead" — files in a leads/ folder get type: lead.
status_order
Map of status name → sort priority (integer). Used by moc.py for MOC generation ordering. Lower number = higher priority.
Example: "active": 0, "draft": 9, "cancelled": 11
status_defaults
Default status assigned when a card has no status: field. Key = type name, "default" = fallback.
Example: "default": "active" — all types default to active unless overridden per type.
richness_fields
Configuration for dedup content scoring.
bonus_fields— list of frontmatter field names that indicate content richness. Each present field adds 15 points to the richness score.
Example: "bonus_fields": ["telegram", "email", "company", "role"]
entity_extraction
Configuration for daily.py entity extraction.
noise_words— list of words to filter out when detecting Bold Name patterns in daily files (e.g."TODO","FIX").
ignore_tags
List of tags to skip during processing (e.g. bulk import artifacts).
System Fields (auto-managed by engine.py)
| Field | Values | Description |
|---|---|---|
| tier | core, active, warm, cold, archive | Decay tier |
| relevance | 0.0–1.0 | Decay score |
| last_accessed | ISO date | Last touched |
| domain | (from domain_inference) | Auto-inferred from path |
Generating Your Schema
- Run
discover.py <vault>→ save discovery JSON - Run
generate_schema.py discovery.json schema.json→ draft schema - Review the generated schema, adjust as needed
- Run
enforce.py <vault> schema.jsonto validate - Iterate: add missing values, fix typos, re-run