Echo-aloha/asphalt-codex-skills-5 / skills/pfc5-asphalt-workflow
pfc5-asphalt-workflow
VerifiedOrchestrate PFC2D/PFC3D 5.0 asphalt-mixture case handoff, specimen generation, fistPkg26 integration, Burger calibration, Marshall or rutting tests, validation, and reproducible delivery; use whenever a user mentions PFC5 asphalt, AC mixtures, fistPkg, Marshall, wheel tracking, or rutting.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.6 KB |
| agents/openai.yaml | config | 327 B |
| dependencies.json | config | 1.4 KB |
| references/fistpkg-contract.md | markdown | 2.6 KB |
| references/intersection-rutting-research-evidence.md | markdown | 5.8 KB |
| references/runtime-verification-manifest.json | config | 2.3 KB |
| references/standards-method-map.md | markdown | 5.9 KB |
| references/standards-policy.md | markdown | 3.2 KB |
| references/standards-source-ledger.json | config | 7.9 KB |
| references/version-matrix.md | markdown | 1.0 KB |
| scripts/check_fistpkg.py | script | 685 B |
| scripts/check_runtime_manifest.py | script | 2.3 KB |
| templates/pfc5-asphalt-intake.yaml | config | 3.5 KB |
| tests/test_check_fistpkg.py | script | 2.1 KB |
| tests/test_pfc5_runtime_assets.py | script | 2.4 KB |
scripts/check_runtime_manifest.py
View on GitHub#!/usr/bin/env python3
"""Check that recorded PFC5 runtime evidence matches the current probe sources."""
from __future__ import annotations
import hashlib
import json
from pathlib import Path
SKILL_DIR = Path(__file__).resolve().parents[1]
PACKAGE_ROOT = Path(__file__).resolve().parents[3]
MANIFEST_PATH = SKILL_DIR / "references" / "runtime-verification-manifest.json"
def sha256(path: Path) -> str:
digest = hashlib.sha256()
with path.open("rb") as stream:
for block in iter(lambda: stream.read(1024 * 1024), b""):
digest.update(block)
return digest.hexdigest()
def check_manifest() -> dict[str, object]:
manifest = json.loads(MANIFEST_PATH.read_text(encoding="utf-8"))
errors: list[str] = []
checked: list[str] = []
assets = manifest.get("assets")
if not isinstance(assets, list) or not assets:
errors.append("assets must be a non-empty array")
assets = []
package_root = PACKAGE_ROOT.resolve()
for index, entry in enumerate(assets):
if not isinstance(entry, dict):
errors.append(f"assets[{index}] must be an object")
continue
relative = entry.get("path")
expected = entry.get("sha256")
if not isinstance(relative, str) or not isinstance(expected, str):
errors.append(f"assets[{index}] must contain string path and sha256 fields")
continue
candidate = (PACKAGE_ROOT / relative).resolve()
if candidate != package_root and package_root not in candidate.parents:
errors.append(f"unsafe asset path: {relative}")
continue
if not candidate.is_file():
errors.append(f"missing asset: {relative}")
continue
actual = sha256(candidate)
if actual != expected:
errors.append(f"hash mismatch: {relative}; expected {expected}, got {actual}")
checked.append(relative)
return {
"ok": not errors,
"manifest": str(MANIFEST_PATH.relative_to(PACKAGE_ROOT)).replace("\\", "/"),
"checked": checked,
"errors": errors,
"evidence_quality": manifest.get("evidence_quality"),
}
def main() -> int:
result = check_manifest()
print(json.dumps(result, ensure_ascii=False, indent=2))
return 0 if result["ok"] else 1
if __name__ == "__main__":
raise SystemExit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |