Repository Harness

SkillDev tools

Composed Arcanum spell: repository-harness.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Repository Harness skill

What this skill tells your AI

The instructions your AI receives, as published by cyberalchemyai/arcanum in .claude/skills/repository-harness/SKILL.md and read by ahel’s review.

Identity

  • Canonical ID: repository-harness
  • Aliases: Repository Codex
  • Scope: library

Repository Harness composes inventory, architecture-pattern-inventory, and context-builder so a repository gains a reusable knowledge substrate, architecture package, and focused task-context retrieval path.

When a repository contains vault-like knowledge governance, Repository Harness can also run an optional ontology branch through ontology-vault. This keeps repository harnessing and deeper ontology-vault work available without making ontology governance mandatory for every run.

When that vault-like material spans both domain intent and implementation evidence, the ontology branch can become branch-aware: business ontology for intent, system ontology for realization, and bridge outputs for traceability and drift.

Trigger Conditions

  • A repository lacks a stable knowledge harness for future agents.
  • Architecture mapping and task-context retrieval should share reusable evidence.
  • The user wants repository setup before implementation work.

Required Sigils

SigilRole In SpellRequired Mode
inventoryInstall or validate the compiled knowledge layer.install, ingest, validate, lookup
architecture-pattern-inventoryMap architecture and produce architecture package artifacts.create or update
context-builderProve task-context retrieval can consume inventory and architecture evidence.dry-run or standard

Optional Sigils

SigilUse WhenNotes
ontology-vaultThe repository has vault, ontology, discovery, premise, constitution, session, confidence, or delegated-research materials.Map and distill ontology knowledge after inventory ingest.
decision-gateOntology promotion or convention changes require user decisions.Use only for blocker trade-offs.

Prerequisites

  • Repository root is known.
  • User agrees where local harness files should live.
  • Existing docs, architecture notes, or source entrypoints are available for first ingest or mapping.

Shared State

StateOwnerUpdated ByConsumed By
.arcanum/inventory/repositoryinventorycontext-builder, architecture-pattern-inventory
architecture packagerepositoryarchitecture-pattern-inventorycontext-builder, inventory
ontology outputsrepositoryontology-vaultinventory, context-builder
spell run reportspellall phasesuser, observability

Execution Phases

PhaseSigilInputOutputGateFailure Policy
1inventoryrepository rootinventory packagepackage exists or install plan approvedblock if no storage decision
2inventoryREADME, docs, architecture notessource summaries and entriesraw sources remain unmodifiedflag uncovered sources
3architecture-pattern-inventoryrepository root and inventory lookuparchitecture packageobserved architecture separated from recommendationsblock on missing repository evidence
4inventoryarchitecture packagearchitecture entriesindex and log updatedflag if backfill incomplete
5ontology-vaultvault-like source folders and inventory lookupontology map, optional branch maps, session distillation, premise review, bridge map, or validation reportlocal labels mapped to generic concepts; branch-aware path justified when usedskip when no vault-like materials exist
6inventoryontology outputsontology entriesindex and log updatedflag if backfill incomplete
7context-buildersample task or user-selected taskcontext pack or dry-run summaryselected context maps to obligationsflag if no suitable task exists
8spell reportphase outputsrun reportall blockers namedreport partial if optional phases skipped

Observability

Record spell-level telemetry for install decisions, sources ingested, architecture artifacts produced, optional ontology outputs, context lookup quality, gates, and follow-ups when .arcanum/observability/ exists.

Output Contract

Return a spell run report with inventory path, architecture package path, optional ontology output path, context-builder result, gates, validation, and recommended next repository harness action.

Signals

GitHub stars
25
Forks
3
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
repository-harness
Source
github.com/cyberalchemyai/arcanum