본문으로 건너뛰기
cccskills
무료GitHub에 공개

dag-dependency-resolver

Validates typed DAG dependency declarations, returns Kahn linear extensions or generations and residual cycle witnesses, and identifies changed consumers for revalidation. NOT for constructing graphs, scheduling resource capacity, granting effects, or executing nodes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.3 KB
  • references/source-and-hand-checks.md9.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DAG Dependency Resolver

A dependency resolver checks a declared graph. It does not repair its semantics, schedule capacity, delete safety/authority edges, or prove that a node ran. See the worked resolution procedure for the edge contract, Kahn hand trace, residual witness, and versioned invalidation method. Direction is producer → consumer.

Method 1 — validate typed contracts before ordering

For each node, record an ID and declared output contract. For each edge record its type and evidence: artifact/data prerequisite (producer artifact digest, schema and completion predicate), authority/approval gate, decision, resource exclusion, or soft preference/order. Reject duplicate IDs, missing endpoints, unknown edge types, and an artifact edge with no exact producer/version contract. Only prerequisite-like edges determine readiness. Authority and resource facts remain separate gates; a test receipt does not satisfy deployment approval.

Method 2 — run Kahn and preserve residuals

Initialize indegree from prerequisite-like edges. Emit any zero-indegree node, decrement its consumers, and retain both the emitted linear extension and each ready set. A ready set is an antichain of this declared relation; it is not a resource-safe execution batch. If the process leaves nodes, return the residual subgraph plus an SCC and a concrete directed witness. Ask the named graph owner to interpret or repair it; never silently merge nodes, remove self-edges, add a buffer, or insert serialization.

flowchart TD
  A[Typed nodes and edge contracts] --> B{IDs endpoints and contracts valid?}
  B -->|no| X[Reject with field witness]
  B -->|yes| K[Kahn indegree process]
  K -->|all emitted| R[Linear extension and ready sets]
  K -->|residual| S[SCC plus directed cycle witness]
  S --> O[Owner repairs declared semantics]
  R --> Q[Scheduler applies resources and authority]

Method 3 — distinguish generations from a streaming queue

For fetch→parse→report and lookup→report, synchronous generations are {fetch, lookup}, {parse}, {report}. A streaming Kahn implementation may emit fetch, then enqueue parse while lookup remains ready. That queue state is not a generation barrier. Choose one representation and label it.

For changed producer P, traverse its consumer closure in the producer→consumer graph (or use a reverse-dependency index). Revalidate only consumers whose declared input/version changed. This is a static invalidation set, not permission to restart or cancel work.

flowchart LR
  F[fetch artifact v1] --> P[parse exact v1]
  L[lookup source] --> R[report]
  P --> R
  A[deploy approval] -. gate .-> D[deploy]
  R --> D

Worked repair boundary

Given transform-A→summarize→transform-A, return the witness and hold the plan. The former example's GPU contention between analyze-A and analyze-B is a scheduler input, not a reason to add analyze-A→analyze-B. A proposed report→parse edge likewise requires semantic review; dropping it only to make Kahn finish can change the contract.

Sources and limits

Bazel Skyframe documents incremental reverse-dependency invalidation. Bazel query docs describe graph order and warn cycle handling is unspecified. These build-graph sources do not prove agent scheduling, authority, or external-effect safety. See reference note.

Related skills

  • dag-graph-builder creates graph structures; this skill checks declared ones.
  • dag-task-scheduler applies resource capacity and schedule policy after dependency validation.
  • dag-dynamic-replanner owns runtime graph changes; this skill reports static invalidation scope.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/port-daddy32026년 10월 18일 업데이트

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/port-daddy32026년 10월 18일 업데이트

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/port-daddy32026년 10월 18일 업데이트

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/port-daddy32026년 10월 18일 업데이트

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/port-daddy32026년 10월 18일 업데이트

Apply cognitive task analysis to expert work that depends on perceptual cues, branching judgment, and recurring monitoring loops. Use when decomposing expert capability into agent structure, simulation design, or validation interviews. NOT for ordinary step-by-step SOP capture or simple pipelines with no tacit cue layer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/port-daddy32026년 10월 18일 업데이트

curiositech의 스킬 모두 보기

이 스킬의 문제 신고