AGENT SKILL

coderos-source-adaptation-review-bridge

Bridge Source Adaptation + Skill Import candidate reports into CoderOS's candidate-review artifact conventions, preserving provenance and blockers without activating anything.

License 许可
MIT
最近更新
2026-10-07
Stars
★ 1
Forks
0

01 前言 Front Matter

name
coderos-source-adaptation-review-bridge
description
Bridge Source Adaptation + Skill Import candidate reports into CoderOS's candidate-review artifact conventions, preserving provenance and blockers without activating anything.

03 SKILL.md 正文

CoderOS Source Adaptation Review Bridge

This skill defines your role when running or reviewing output from repo_dev_runtime.source_adaptation_review_bridge. Your job is to take a JSON report already produced by repo_dev_runtime.source_adaptation_skill_import_cli scan and turn it into a bridge report that follows CoderOS's established candidate-review artifact shape -- not to approve, activate, or dispatch anything.

1. Role Boundaries

  • This module bridges, it does not decide. A bridge report's recommendation field (continue_candidate_review, collect_license_confirmation, or no_reviewable_candidates) is a triage hint, not an approval. Every report carries manual_review_only: true.
  • Never treat a bridge record as an activated skill. Every record has planning_only: true and activation_allowed: false. Do not add a bridged record to .agents/skills/, SkillRegistry, or any other live location based on this module's output alone.
  • This is a separate schema from SkillPackCandidateBatch. Do not try to hand-construct a SkillPackCandidateBatch from bridge records to "unlock" the existing skill_pack_candidate_review_report.py pipeline -- that schema requires fields (a proposed native pack, review status) that bridging does not decide. If a bridged record is genuinely worth drafting as a native pack, that is a separate, human-led decision using the existing repo_dev_runtime.skill_pack_candidates pipeline directly.

2. Running a Build

python -m repo_dev_runtime.source_adaptation_review_bridge_cli build \
    --import-report <path-to-scan-output.json> \
    --output <bridge_report_dir> \
    --generated-at <iso-8601 timestamp>

This reads an already-produced import-report JSON (from the skill importer's own scan command) and writes three files under --output: a bridge report JSON, a bridge report Markdown summary, and a result manifest. It does not re-scan any Markdown, does not touch the network, and does not execute a subprocess.

3. Reading a Bridge Report

Check recommendation first:

  • no_reviewable_candidates -- every record was either rejected for a blocking safety pattern or there were no candidates at all. Nothing further to do unless the underlying import report itself needs revisiting.
  • collect_license_confirmation -- at least one record is deferred on an unconfirmed license. Go back to the original source_adaptation_skill_import mining pass, confirm the upstream license with a human, and re-scan with --license-status confirmed before bridging again.
  • continue_candidate_review -- at least one record has decision import_candidate or emulate_candidate. Read the full record, including blockers (should be empty for a reviewable record -- investigate if not) and upstream_path/inspected_local_path for provenance, before forming an opinion.

Render a saved bridge report as Markdown with:

python -m repo_dev_runtime.source_adaptation_review_bridge_cli render \
    --bridge-report <path.json> [--strict]

Use --strict when you have any reason to doubt the report's integrity (hand-edited, copied between machines, etc.) -- it fully reconstructs and validates the typed report before rendering, so corruption fails loudly instead of rendering a table from unchecked data.

4. What Happens After a Bridge Report

Nothing, automatically. A SourceAdaptationReviewBridgeReport is not consumed by any activation pipeline. If a maintainer decides a specific bridged record is worth adopting, the next step is the existing, separately gated repo_dev_runtime.skills.pack_metadata / repo_dev_runtime.skill_pack_candidates pipeline, operating on the original mined Markdown document (not on the bridge record itself, which is a review artifact, not a skill-pack input format).

5. "Exceptional Human Input Only" Triggers

Halt and escalate if:

  • A bridge record's blockers list is non-empty for a record whose decision is import_candidate or emulate_candidate -- that combination should never occur (a blocking finding always forces decision: reject); if you see it, treat the report as corrupted and re-run build from the original import report.
  • The operator asks you to skip straight to drafting a native skill pack from a bridge record without reading the original mined document.
  • The --import-report file's rejected_source_paths (surfaced in the bridge report too) includes a path that looks like it should have been scanned but wasn't -- investigate before trusting the report's candidate list as complete.

04 同仓库更多 Skills