dse120071750/m8m-harness-builder / skills/m8m/m8m-harness-builder
m8m-harness-builder
FlaggedBuild and edit M8M harnesses that coordinate existing tools and FlowSteps, validate milestone outputs, and track progress and resume. Reuse working implementations in place. Compile workflow changes without runtime packaging; build portable packages when requested and deliver server installations through the dedicated M8M server installer.
flowsteps/tools/toolbox_ready_judge/tool.py
View on GitHub"""Deterministically judge the Builder toolbox-state consistency."""
from __future__ import annotations
from typing import Any
def run(
input_data: dict[str, Any],
params: dict[str, Any] | None = None,
**_: Any,
) -> dict[str, Any]:
del params
candidate = input_data.get("candidate")
outputs = candidate.get("outputs") if isinstance(candidate, dict) else None
manifest = outputs.get("toolbox_manifest") if isinstance(outputs, dict) else None
build_required = manifest.get("build_required_tools") if isinstance(manifest, dict) else None
unfinished = bool(build_required) if isinstance(build_required, list) else None
consistent = bool(
isinstance(manifest, dict)
and isinstance(manifest.get("tools"), list)
and isinstance(build_required, list)
and (
(
unfinished is False
and manifest.get("status") == "PASS"
and manifest.get("runnable") is True
and manifest.get("non_runnable") is False
)
or (
unfinished is True
and manifest.get("status") == "BUILD_REQUIRED"
and manifest.get("runnable") is False
and manifest.get("non_runnable") is True
)
)
)
return {
"ok": consistent,
"code": "toolbox_manifest_consistent" if consistent else "toolbox_manifest_inconsistent",
"reasons": [
"Every staged tool is consistently classified as runnable or BUILD_REQUIRED."
if consistent
else "The toolbox status, runnable flags, and BUILD_REQUIRED list disagree."
],
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |