Parent: #649
Parallel with: #654
Outcome
Create the smallest credible qualification contract required to evaluate roadmap changes without grading Madar using expectations produced by Madar itself.
This issue establishes the Tier 1/Tier 2 baseline definitions, frozen tasks, independent truth, invalidation rules, and explicit stop/rollback policy. It does not yet run the full public superiority experiment.
Problem
The current public production-default benchmark contains zero valid Native-vs-Madar outcome comparisons. Existing evidence is divided among:
- historical controlled runs using task-specific profiles;
- synthetic CI output;
- packed source/package parity checks;
- invalid current production-default runs where Madar was not called or quality gates failed.
Without a frozen independent contract, production heuristics can drift toward known benchmark repositories or task wording, and token/latency changes can be presented without valid outcome evidence.
Scope
- Select and pin a small set of natural software-engineering tasks and repository SHAs for development qualification.
- Define hidden holdout repositories/tasks unavailable to production-rule authors.
- Separate task categories, initially including:
- architecture understanding;
- execution-flow explanation;
- impact analysis;
- bug/root-cause investigation;
- implementation planning or bounded implementation;
- review/security where independent truth is practical.
- Define independent truth sources and scoring rubrics for:
- correctness;
- critical-fact completeness;
- unsupported claims;
- correct uncertainty;
- evidence/citation support;
- intended tool adoption;
- broad fallback exploration.
- Pin the full experimental identity:
- repository SHA and dependency lock;
- Madar commit/package SHA and configuration;
- host and agent/model version;
- system/user prompts;
- tool permissions;
- cache mode;
- environment receipt.
- Define valid/invalid run criteria.
- Define a stop rule and rollback/publication rule for roadmap changes.
- Clearly label synthetic and package-parity checks as non-product-outcome evidence.
Independent truth requirements
Do not derive ground truth solely from:
- Madar retrieval output;
- Madar
implementationGuidance;
- Madar-selected files;
- Madar-generated validation commands;
- current production special cases.
Preferred truth sources include:
- independently authored root-cause maps;
- repository tests plus hidden task-specific acceptance tests;
- independently curated affected-file/symbol sets;
- independently reviewed execution-flow maps;
- seeded defects;
- blinded expert rubrics.
The benchmark authoring process must record who produced the task truth and whether they inspected Madar output before freezing it.
Run validity contract
A run is invalid rather than a loss/win when any required identity or gate is missing, including:
- Madar arm did not make an attributable Madar call when the task contract requires it;
- prompt/answer contract failure;
- repository or package revision mismatch;
- isolation failure;
- incomplete transcript/receipt;
- judge failure;
- unresolved environment mismatch;
- quality gate failure that prevents meaningful comparison.
Invalid rows must remain visibly not_measured; they must not be aggregated into cost or quality claims.
Stop and rollback rule
Freeze a written rule stating that a roadmap change must not ship, or must be rolled back/disabled, when:
- critical-fact completeness regresses beyond the pre-registered non-inferiority margin;
- unsupported-claim rate increases materially;
- false-ready behavior appears;
- host adoption falls below the phase target;
- graph/artifact integrity fails;
- results depend on qualification-repository literals;
- output differences remain unexplained;
- cost improves only by reducing outcome quality.
Explicit non-goals
- Do not run the 480+ public superiority experiment in this issue.
- Do not tune production ranking against the selected repositories.
- Do not accept string-presence scoring as sufficient truth for complex tasks.
- Do not treat canned CI runners as agent-outcome evidence.
- Do not require every task category to use the same scoring method.
- Do not publish superiority claims from this setup issue.
Deliverables
- Versioned corpus manifest.
- Versioned task definitions.
- Independent truth/rubric files.
- Environment and run receipt schema.
- Validity/invalidation rules.
- Hidden-holdout handling policy.
- Stop/rollback/publication rule.
- Clear evidence-category documentation.
- Small deterministic Tier 1 subset suitable for pull requests.
- Planned Tier 2 repeated-run matrix.
Acceptance criteria
Agent execution contract
This is primarily specification, fixture, and evaluation work. Do not modify production retrieval or context logic to make the frozen tasks pass. Any discovered product failure becomes a separate linked issue.
Parent: #649
Parallel with: #654
Outcome
Create the smallest credible qualification contract required to evaluate roadmap changes without grading Madar using expectations produced by Madar itself.
This issue establishes the Tier 1/Tier 2 baseline definitions, frozen tasks, independent truth, invalidation rules, and explicit stop/rollback policy. It does not yet run the full public superiority experiment.
Problem
The current public production-default benchmark contains zero valid Native-vs-Madar outcome comparisons. Existing evidence is divided among:
Without a frozen independent contract, production heuristics can drift toward known benchmark repositories or task wording, and token/latency changes can be presented without valid outcome evidence.
Scope
Independent truth requirements
Do not derive ground truth solely from:
implementationGuidance;Preferred truth sources include:
The benchmark authoring process must record who produced the task truth and whether they inspected Madar output before freezing it.
Run validity contract
A run is invalid rather than a loss/win when any required identity or gate is missing, including:
Invalid rows must remain visibly
not_measured; they must not be aggregated into cost or quality claims.Stop and rollback rule
Freeze a written rule stating that a roadmap change must not ship, or must be rolled back/disabled, when:
Explicit non-goals
Deliverables
Acceptance criteria
not_measuredand cannot enter aggregate wins.Agent execution contract
This is primarily specification, fixture, and evaluation work. Do not modify production retrieval or context logic to make the frozen tasks pass. Any discovered product failure becomes a separate linked issue.