Skip to content

chore: migrate to agent-harness v2 prompt-sections - #7

Open
AlexPagnotta wants to merge 1 commit into
mainfrom
migrate/prompt-sections-v2
Open

chore: migrate to agent-harness v2 prompt-sections#7
AlexPagnotta wants to merge 1 commit into
mainfrom
migrate/prompt-sections-v2

Conversation

@AlexPagnotta

Copy link
Copy Markdown

What

Migrates the .harness/ workspace from the legacy prompt entity to the v2 composable prompt_section model, and bumps @madebywild/agent-harness-framework from ^1.10.1 to ^2.0.0.

Why

agent-harness v2 removed the prompt entity type; running any harness command against the old workspace fails with PROMPT_ENTITY_REMOVED. This applies the rename the diagnostic asks for.

Changes

  • Moved .harness/src/prompts/system.md.harness/src/prompt-sections/system/SECTION.md
  • Moved .harness/src/prompts/system.overrides.<provider>.yaml.harness/src/prompt-sections/system/OVERRIDES.<provider>.yaml (claude, codex, copilot, cursor)
  • Updated manifest.json, manifest.lock.json, and managed-index.json to prompt_section
  • Bumped @madebywild/agent-harness-framework to ^2.0.0 and refreshed pnpm-lock.yaml

Verification

  • harness validate → passes
  • harness plan → all NOOP (provider outputs unchanged)
  • harness apply → wrote 0 artifacts (content identical; only source layout moved)

🤖 Generated with Claude Code

Migrate the legacy `prompt` entity to composable `prompt_section` entities
and bump `@madebywild/agent-harness-framework` to ^2.0.0.

- Move `.harness/src/prompts/system.*` -> `.harness/src/prompt-sections/system/`
  (SECTION.md + OVERRIDES.<provider>.yaml).
- Update manifest, lock, and managed-index to `prompt_section`.
- `harness validate` passes; `harness apply` is a no-op (provider outputs unchanged).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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