Skip to content
AI-generated research idea🟡Fairly easy💡Moderate InnovationRelated work found

Hierarchical Prompt Arbitration for Policy Alignment in Agent Harnesses

A method that resolves semantic conflicts between end-user harness system prompts and task-specific developer instructions using formal constraint graphs.

Time

several weeks

Compute level

Single GPU or less

Resources

Standard API keys for frontier LLMs and the open-source MultiVerse harness codebase.

What the paper used

Evaluated 12 models across 5 harnesses and 396 validation tasks in 3 runs (71,280 attempts total) using API provider endpoints with high reasoning effort and up to 320 model calls per attempt.

Prerequisites

Prompt engineering, agent harness orchestration, and constraint logic.

Scope

modify existing code

The Gap

Section 4.5, Section E.1, and Table 12 document how fixed prompts embedded within production harnesses (such as OpenCode, OpenClaw, and Hermes) introduce conflicting directives regarding autonomy, user confirmation, and output brevity that override task-level instructions.

“Pinned harness prompts can conflict with task requirements on autonomy, consultation, response format, and temporal context (Table 12).”
From the paper, Section E.1, page 51. Matched against the PDF text.

Limitation

End-user harnesses inject rigid meta-instructions and behavioral defaults that directly contradict task-specific developer instructions, causing substantial performance drops for specific model-harness combinations (e.g., a 15.2 point drop for GPT 5.4 under OpenClaw on MTIF).

Proposed Solution

Construct a dynamic prompt arbitration layer within the agent harness that parses both harness-level operational guidelines and task-specific developer prompts into an intermediate representation of deontic constraints (permissions, obligations, and prohibitions). When conflicting instructions are detected (such as 'come back with answers not questions' vs 'ask the user for missing info'), the arbitrator generates a reconciled context-specific preamble that explicitly prioritizes task-level constraints over harness defaults.

Why This Matters

Eliminating prompt collisions is expected to minimize harness-induced variance and allow agent developers to achieve consistent steerability across different deployment platforms.

How to Get Started

How to test it: Compare reconciled harness prompts against default pinned prompts on the MultiVerse IF and MTIF splits using GPT 5.4 and Claude Sonnet 5; validation succeeds if the instruction violation rate drops by more than 5 percentage points without harming task completion.

  1. Catalog the specific conflicting clauses across OpenCode, OpenClaw, and Hermes mapped in Table 12 against MultiVerse instruction rubrics.
  2. Implement a lightweight parsing module that classifies task constraints into permissions and prohibitions prior to agent rollout.
  3. Inject the resolved instruction hierarchy into the first user message under OpenClaw and Hermes.
  4. Benchmark the modified harness on the 97 IF validation tasks to measure reduction in rubric violation rates.

Suggested by AI. Adapt it to your setup.

Has This Been Done?

Related work found

Works such as 'Many-Tier Instruction Hierarchy in LLM Agents' and 'Improving Instruction Hierarchy by Learning from Goal-Goal Conflicts' address instruction hierarchies and goal-goal conflicts within agent systems. These papers discuss managing conflicting guidelines, but do not specifically cover the proposed intermediate representation of deontic constraints and dynamic preamble generation for agent harnesses.

We searched OpenAlex and arXiv for “prompt conflict resolution agent harness instruction hierarchy” and “Hierarchical Prompt Arbitration for Policy Alignment in Agent Harnesses” and an AI compared the idea with the top 10 results. A small search can miss relevant work.

Source Paper

MultiVerse: A Trustworthy Tool-Use Benchmark for Real-World Task Delegation under Harnesses

Sohee Yang, Selcuk Gun, Nora Kassner +25 more · 2026

The paper introduces MultiVerse, a benchmark designed to evaluate real-world task delegation for LLM agents across 35 simulated services with 809 tools in a reproducible sandbox. It systematically evaluates single-turn execution, multi-turn clarification with a reticent user simulator, and instruction-based behavioral steering across twelve models and five harnesses. The findings reveal that agents frequently fail to consult users for missing information and exhibit significant, model-dependent performance variations under different agent harnesses.

Related Ideas

Is this a good idea?

Share onXLinkedIn