Skip to content

feat(context): estate orientation package + estate-orient skill#23

Merged
todie merged 1 commit into
mainfrom
feat/estate-context
Jul 16, 2026
Merged

feat(context): estate orientation package + estate-orient skill#23
todie merged 1 commit into
mainfrom
feat/estate-context

Conversation

@todie

@todie todie commented Jul 16, 2026

Copy link
Copy Markdown
Member

What

New packages/context/ — single-source estate brief (clusters, repo map, SOP index, memory-of-record, secrets model, intake protocol) rendered into per-harness user context files, plus a shared estate-orient skill for live intake.

Source Rendered target Mechanism
omp-prelude.md + estate.md ~/.omp/agent/AGENTS.md omp native user context (prio 100) — deliberately shadows the Claude-specific ~/.claude/CLAUDE.md omp was inheriting
invariants.md ~/.omp/agent/RULES.md omp sticky rule, survives compaction
estate.md ~/.agents/estate.md imported by ~/.claude/CLAUDE.md via @~/.agents/estate.md

render.sh is idempotent, shellcheck-clean, and gates estate.md at ~2400 est. tokens (currently ~1169).

Why

omp had no native user context, so every omp session was oriented by ~/.claude/CLAUDE.md — RTK proxy, Claude hook paths, Claude tool priorities — wrong harness, wasted tokens in GLM/Nemotron lanes. The estate (2 clusters, ~60 ArgoCD apps, litany of SOPs) had no harness-neutral orientation surface at all.

Verified

Live omp -p run after render: correctly answered Lyra/Calico (AGENTS.md), the ApplicationSet apply doctrine (sticky RULES.md), and confirmed estate-orient in its skill list.

Post-merge

Run packages/skills/install.sh (replaces the temporary local copies of estate-orient with symlinks) and packages/context/render.sh from the main checkout.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Single-source estate brief rendered into per-harness user context:
- packages/context/{estate,invariants,omp-prelude}.md + render.sh (budget-gated)
- renders ~/.omp/agent/AGENTS.md (shadows Claude-specific CLAUDE.md at omp
  user scope), ~/.omp/agent/RULES.md (sticky invariants), ~/.agents/estate.md
  (imported by ~/.claude/CLAUDE.md)
- packages/skills/estate-orient: live cluster/GitOps/OpenBao/engram intake
  probe shared by all harnesses

Verified live: omp -p answers estate questions from the rendered files and
lists the skill.
@todie
todie force-pushed the feat/estate-context branch from 6a6cb03 to 47f5124 Compare July 16, 2026 20:07
@todie
todie merged commit 6ba71d1 into main Jul 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant