RedHeartSecretMan/dag-skill / skill/dag
dag
VerifiedCoordinate an Approved DAG in a Git-backed Target Project by selecting runnable Tickets, dispatching one end-to-end Execution Agent per Ticket, and accepting verified results. Use when the user asks to execute, advance, continue, or resume an Approved DAG.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 38.9 KB |
| agents/openai.yaml | config | 218 B |
| references/definition-binding.md | markdown | 9.4 KB |
| references/execution-artifacts.md | markdown | 8.1 KB |
| references/integration-transitions.md | markdown | 16.4 KB |
| references/outcome-closure.md | markdown | 9.9 KB |
| references/runnable-scheduling.md | markdown | 6.8 KB |
| references/ticket-execution.md | markdown | 12.6 KB |
| scripts/commit.pyexecutable | script | 7.5 KB |
| scripts/lib/__init__.py | script | 92 B |
| scripts/lib/artifacts.py | script | 57.9 KB |
| scripts/lib/common.py | script | 12.1 KB |
| scripts/lib/git_ops.py | script | 10.3 KB |
| scripts/lib/receipt.py | script | 8.0 KB |
| scripts/lib/scheduling.py | script | 33.2 KB |
| scripts/lib/tracker.py | script | 48.4 KB |
| scripts/lib/transitions.py | script | 61.8 KB |
| scripts/promote.pyexecutable | script | 2.0 KB |
| scripts/publish.pyexecutable | script | 9.3 KB |
| scripts/runtime.pyexecutable | script | 16.4 KB |
| scripts/verify.pyexecutable | script | 4.4 KB |
scripts/promote.py
View on GitHub#!/usr/bin/env python3
"""Verify frozen pending evidence and CAS-promote one local integration ref."""
from __future__ import annotations
import argparse
import sys
from pathlib import Path
from lib.common import RecordError, print_json, require_supported_python
from lib.git_ops import ValidationError
from lib.transitions import promote_local_transition
def build_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(
description="Verify frozen pending evidence and CAS-promote one local integration ref. The Coordinator keeps writers and worktree changes quiescent; semantic acceptance remains separate."
)
parser.add_argument(
"--repository", required=True, type=Path, help="existing non-bare Git worktree"
)
parser.add_argument("--transition", required=True, type=Path)
parser.add_argument(
"--expected-transition-sha256",
required=True,
help="SHA-256 of the exact pending transition record bytes",
)
parser.add_argument("--promotion-evidence", type=Path)
parser.add_argument("--expected-promotion-sha256")
parser.add_argument("--receipt", type=Path)
parser.add_argument("--expected-receipt-sha256")
return parser
def main() -> int:
parser = build_parser()
arguments = parser.parse_args()
try:
require_supported_python()
result = promote_local_transition(
arguments.repository,
arguments.transition,
arguments.expected_transition_sha256,
arguments.promotion_evidence,
arguments.expected_promotion_sha256,
arguments.receipt,
arguments.expected_receipt_sha256,
)
except (
OSError,
RecordError,
ValidationError,
ValueError,
UnicodeError,
TypeError,
RecursionError,
) as error:
print(f"error: {error}", file=sys.stderr)
return 1
print_json(result) # type: ignore[arg-type]
return 0
if __name__ == "__main__":
raise SystemExit(main())
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 |