chore: migrate to agent-harness v2 prompt-sections - #7
Open
AlexPagnotta wants to merge 1 commit into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Migrates the
.harness/workspace from the legacypromptentity to the v2 composableprompt_sectionmodel, and bumps@madebywild/agent-harness-frameworkfrom^1.10.1to^2.0.0.Why
agent-harnessv2 removed thepromptentity type; running any harness command against the old workspace fails withPROMPT_ENTITY_REMOVED. This applies the rename the diagnostic asks for.Changes
.harness/src/prompts/system.md→.harness/src/prompt-sections/system/SECTION.md.harness/src/prompts/system.overrides.<provider>.yaml→.harness/src/prompt-sections/system/OVERRIDES.<provider>.yaml(claude, codex, copilot, cursor)manifest.json,manifest.lock.json, andmanaged-index.jsontoprompt_section@madebywild/agent-harness-frameworkto^2.0.0and refreshedpnpm-lock.yamlVerification
harness validate→ passesharness plan→ all NOOP (provider outputs unchanged)harness apply→ wrote 0 artifacts (content identical; only source layout moved)🤖 Generated with Claude Code