cskwork/supergoal-skill / skills/supergoal
supergoal
UnverifiedRoute objective-driven development, verification, planning, "teach/explain", codebase learning, and skill evaluation through the Supergoal workflow. Use when Supergoal is requested or an autonomous delivery workflow is needed.
templates/harness-eval-cases/authored/authored-underspec-001-deepmerge.yaml
View on GitHubid: authored-underspec-001
title: "deepMerge - under-specified, latent-correctness"
difficulty: under-specified
category: code-generation
source: "authored (supergoal under-specified frontier)"
runtime_adapter: portable
runnable_fixture: "templates/harness-eval-cases/fixtures/underspec-001-deepmerge/"
origin_experiment: "2026-06-07 underspecified-n3 (case u1); raw dir removed 2026-07-06, runner: templates/harness-eval-cases/run-underspec-n3.mjs"
discriminates: true
task: |-
Implement deepMerge(target, source) in src/merge.mjs. It merges the source object
into the target object and returns the merged result. Export deepMerge.
(Deliberately thin: the contract below is implied, not stated in the prompt.)
acceptance:
- "Merges two flat objects; source overrides target (the only stated/visible behavior)."
latent_requirements:
- "Deep-merges nested objects instead of shallow overwrite (implied by 'deep')."
- "Does not pollute Object.prototype via a __proto__ key (security; the separating check)."
- "null/undefined source returns the target values unchanged (robustness)."
- "Object replaces primitive and primitive replaces object."
machine_checks:
- "node --test on the visible + hidden suites"
hidden_checks:
- "nested deep merge"
- "prototype-pollution guard on __proto__"
- "null and undefined source"
- "type replacement both directions"
discrimination_check:
stub: "throws not implemented -> fails all"
reference_impl: "proto-safe immutable deep merge -> passes all"
lazy_impl: "shallow {...t,...s} fails deep; recursive-no-guard fails proto-pollution"
finding: |-
n=3, gpt-5.5/low: harness (role-loop) hidden 3.3/4 vs baseline 2.3/4. Baseline shipped the
prototype-pollution vuln in 2/3 seeds as a false-GREEN; the critic surfaced it and the fixer
guarded it 3/3. The only non-noise harness correctness win in the 2026-06-07 sweep. ~6x token cost.
rubric:
quality_score:
method: "RevFactory-style 100-point; 10 dimensions, each 0-10."
anchors:
- "Failed hidden checks cap correctness at 6."
- "Missing requested behavior caps feature_completeness at 7."
cost_fields:
- wall_clock_minutes
- model
- reasoning_effort
- tool_calls
- token_estimate
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |