intense-visions/harness-engineering/harness-integration

Claude Code and agent skill by intense-visions/harness-engineering

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install intense-visions/harness-engineering/harness-integration

SKILL.md

The same SKILL.md was published earlier as intense-visions/harness-engineering/harness-integration.

Harness Integration

Verify system wiring, materialize knowledge artifacts, and update project metadata. Integration is a gate, not a discovery phase -- it confirms that planned integration tasks completed. <!-- not-a-pause: skill summary line, not a step -->

When to Use

  • After execution completes and verification passes (between VERIFY and REVIEW in the workflow)
  • When the autopilot state machine reaches the INTEGRATE state
  • When validating that a feature is properly wired into the system (barrel exports, skill discovery, route mounts)
  • When materializing architectural decisions as durable ADRs
  • When invoked standalone to check integration completeness of a feature branch
  • NOT as a replacement for verification (verification checks code correctness; integration checks system connectivity)
  • NOT for discovering integration work (integration work is planned upfront in brainstorming and planning)
  • NOT for implementing fixes (integration identifies gaps; the executor fixes them)

Process

Pause points

Every point below where this skill stops for the human carries a marker line, _Pause point (<class>): resolve per the Pause Protocol._ followed by a <!-- pause: <class> --> comment. Resolve each one with the Pause Protocol: agents/skills/templates/pause-protocol.md (also shipped in the harness CLI package at dist/agents/skills/templates/pause-protocol.md).

  • Re-read autonomy at every pause point: gather_context({ path, session, include: ["autonomy"] }).
  • irreversible and gate pauses stop at every autonomy level.
  • A ceremony or judgment pause auto-resolves only when autonomy is trusted, the pause states a recommendation, a judgment fork passed the self-audit, and record_auto_decision returned recorded: true. In every other case, pause exactly as written below.
  • If you cannot read the protocol or resolve autonomy, pause.
Iron Law

No integration claim may be made without checking every planned integration task against the codebase.

Integration checking is mechanical: did the planned task produce the expected artifact? "It should be there" is not evidence. Check the file, check the import, check the registration. Report what you observed.

The words "should", "probably", "seems to", and "I believe" are forbidden in integration reports. Replace with "verified: [evidence]" or "not verified: [what is missing]."


Argument Resolution

When invoked by autopilot (or with explicit arguments), resolve paths before starting:

  1. Session slug: If session-slug argument provided, set {sessionDir} = .harness/sessions/<session-slug>/. Pass to gather_context({ session: "<session-slug>" }). All report writes go to {sessionDir}/.
  2. Apply autonomy flags first (D17). Before any subagent dispatch and before the first marked point below: if this skill was invoked with --supervised, call manage_state({ action: "set-autonomy", path, session, level: "supervised" }); if with --audit, call it with audit: true. Flags only lower autonomy: on --trusted or --no-audit, change nothing and print the raise hint from the Pause Protocol. Then read autonomy with gather_context({ path, session, include: ["autonomy"] }). With no session slug nothing can auto-resolve, so there is nothing to lower.
  3. Plan path: Discover from {sessionDir}/handoff.json (read upstream execution/verification output). The plan contains integration tasks tagged category: "integration" and the integrationTier field.
  4. Rigor level: If fast/thorough argument provided, use it. Otherwise default to standard.

When no arguments are provided (standalone invocation), discover plan from docs/changes/<topic>/plans/ (preferred) or docs/plans/ (legacy fallback) or prompt. Global .harness/ paths used as fallback.


Tier Resolution

Before running sub-phases, resolve the effective integration tier:

  1. Read plan-time tier. Extract integrationTier from the plan header (small, medium, or large). If absent, default to small.
  1. Derive execution-time tier. Read the execution start commit from the session handoff (startCommit field in {sessionDir}/handoff.json). If unavailable, use the autopilot's startingCommit from {sessionDir}/autopilot-state.json. Diff startCommit..HEAD to analyze the execution phase:

`` newPackages > 0 -> large newPublicExports > 5 -> large (minimum) filesChanged > 15 AND newExports -> medium (minimum) else -> keep plan estimate ``

To count these signals:

  • newPackages: count new package.json files in the diff
  • newPublicExports: count new export statements in barrel/index files
  • filesChanged: count total files changed in the diff
  • newExports: boolean, true if any new export statements exist
  1. Apply max(planned, derived). The effective tier is the higher of the two.
  1. Notify on escalation. If derived tier exceeds planned tier, notify the human:

`` Tier escalated from small to medium: 8 new exports detected. ``

_Pause point (ceremony): resolve per the Pause Protocol._ <!-- pause: ceremony --> Inform the human and get acknowledgment in plain text in your reply (do NOT route this through emit_interaction or AskUserQuestion — they record the prompt but do not display it to the human, so they won't see it).


Rigor Level Interaction
RigorINTEGRATE behavior
fastWIRE only (default checks), no ADR drafting
standardFull tier-appropriate checks (WIRE for all; MATERIALIZE + UPDATE for medium and large)
thoroughFull checks + human reviews every ADR draft + force knowledge graph verification

Context Loading

Before running sub-phases, load session context:

json
gather_context({
path: "<project-root>",
intent: "Verify integration of executed plan",
skill: "harness-integration",
session: "<session-slug-if-provided>",
include: ["state", "learnings", "handoff", "graph", "businessKnowledge", "sessions", "validation"]
})

Load the plan, identify integration tasks (tagged category: "integration"), and group them by sub-phase:

  • WIRE tasks: Entry point registration, barrel exports, skill discovery, route mounts
  • MATERIALIZE tasks: ADR writing, knowledge graph enrichment, documentation updates
  • UPDATE tasks: Roadmap sync, changelog, spec cross-references

Sub-Phase 1: WIRE (all tiers)

Report progress: **[WIRE]** Checking system wiring

WIRE always runs, regardless of tier. It has two parts: default checks (always) and task-specific checks (when integration tasks exist).

Default Checks (always run)

These run even with zero explicit integration tasks (D8: barrel exports and validation are cheap and catch real problems).

  1. Barrel export check. Run pnpm run generate-barrel-exports --check. If the --check flag is not supported, fall back to:
  • Run pnpm run generate-barrel-exports
  • Run git diff --name-only
  • If barrel files changed, the previous execution missed this step. Record as FAIL with the list of changed barrel files.
  • If no changes, barrel exports are current. Record as PASS.
  1. Harness validate. Run pnpm harness validate. Must pass. Record result.
Task-Specific Checks (when integration tasks exist)

For each integration task tagged category: "integration" that relates to wiring:

  1. Entry point reachability. Trace from known entry points to new code:
  • CLI: search for the new command/function in the createProgram() registration chain
  • MCP: search for the new tool in getToolDefinitions() or tool registration files
  • Skill: verify skill.yaml + SKILL.md exist at the expected path and skill appears in harness skill list output or discovery glob results
  • If the task claims a new entry point, verify it is reachable from at least one system entry point. An unreachable entry point is dead code.
  1. Skill discovery verification. If a new skill was created:
  • Verify agents/skills/claude-code/<skill-name>/skill.yaml exists and has valid YAML
  • Verify agents/skills/claude-code/<skill-name>/SKILL.md exists and is non-empty
  • Verify the skill appears in harness skill list output (or would appear based on glob pattern)
  1. Route mount verification. If a new API route was added:
  • Verify the route handler file exists
  • Verify the route is imported and mounted in the router/app configuration
  • Verify a request to the route path would be handled (trace the mount chain)
  1. Produce wiring report. Write {sessionDir}/integration-wiring.json:

``json { "subPhase": "wire", "tier": "<effective-tier>", "timestamp": "<ISO-8601>", "defaultChecks": { "barrelExports": { "status": "pass|fail", "detail": "<description>" }, "harnessValidate": { "status": "pass|fail", "detail": "<output summary>" } }, "taskChecks": [ { "taskRef": "Task N: <name>", "check": "<what was verified>", "status": "pass|fail", "evidence": "<file:line or command output>" } ], "verdict": "pass|fail" } ``


Sub-Phase 2: MATERIALIZE (medium + large tiers)

Report progress: **[MATERIALIZE]** Checking knowledge materialization

Skip this sub-phase for small tier or fast rigor. For medium and large tiers:

Decision Harvesting
  1. Read handoff decisions. Load {sessionDir}/handoff.json from all phases in this session. Collect all entries from the decisions array.
  1. Classify decisions. For each decision:
  • Architectural (large tier): Decisions that affect system structure, introduce new patterns, or change integration boundaries. These warrant ADRs.
  • Minor (medium + large tier): Decisions about implementation approach, naming, or local design. These enrich the knowledge graph directly without an ADR.
ADR Auto-Drafting (large tier only)
  1. Auto-draft ADRs from architectural decisions. For each architectural decision:

a. Assign ADR number. Scan docs/knowledge/decisions/ for existing ADR files matching NNNN-*.md. Take the highest number and increment by 1. If the directory does not exist, create it and start at 0001.

b. Generate slug. Convert the decision title to a URL-safe slug (lowercase, hyphens, no special characters).

c. Write ADR to docs/knowledge/decisions/NNNN-<slug>.md:

```markdown


number: NNNN title: <decision title> date: <ISO date> status: accepted tier: large source: <spec path or session slug> supersedes: <prior ADR number, if any>


## Context

<What situation prompted this decision? What constraints existed?>

## Decision

<What was decided and why?>

## Consequences

<What follows from this decision -- positive, negative, and neutral?> ```

_Pause point (ceremony): resolve per the Pause Protocol._ <!-- pause: ceremony --> d. Present for review. In thorough rigor, present each ADR draft in plain text in your reply and wait for human approval — do NOT route it through emit_interaction or AskUserQuestion, which record the prompt but do not display it to the human (the client collapses the call to "Called harness" and the text only returns to the model). In standard rigor, auto-approve but log the draft for review.

Knowledge Graph Enrichment (medium + large tiers)

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
14
Repository forks
7
7-day trend score
14

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/intense-visions/harness-engineering/harness-integration/badge)](https://verified-skill.com/skills/intense-visions/harness-engineering/harness-integration)

Something wrong with this skill or its page? Tell us.