AGENT SKILL

coderos-source-mining-wave4

Workspace-native skill for operating, auditing, and generating Source-Mining Wave 4 catalog records, retrofit decisions, and implementation waves for external agent OS systems.

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

01 前言 Front Matter

name
coderos-source-mining-wave4
description
Workspace-native skill for operating, auditing, and generating Source-Mining Wave 4 catalog records, retrofit decisions, and implementation waves for external agent OS systems.

03 SKILL.md 正文

CoderOS Source-Mining Wave 4 Skill

This workspace skill equips AI agents (such as Antigravity, Jules, Codex Terminal, Codex Remote, and Grok) and human operators with standardized procedures for mining, classifying, and retrofitting external agent and operator operating systems into the CoderOS architecture.


1. Core Principles & Governance Boundaries

  1. Zero Upstream Vendoring: Never copy entire third-party repositories into CoderOS. Mined intelligence must be distilled into typed models, local JSON fixtures, and deterministic retrofit specifications.
  2. Local-Only & Hermetic: All mining evaluation tools run strictly offline using local fixtures and standard Python. Zero runtime network requests or subprocess invocations.
  3. Fail-Closed Security Gating: Any external pattern involving un-gated permission bypasses, autonomous live code rewriting, or credential proxying must be classified as reject or gated by hard policy blockers.
  4. Human Review Gate: No auto-merging of runtime or feature PRs. All mined capability integrations must be delivered via isolated, evidence-backed PRs for manual operator signoff.

2. Audited Systems in Wave 4

System Key Display Name Upstream Reference Decision Mode Target Subsystem Executor Lane
hermes_bot_mode Hermes Bot Mode / Profiles NousResearch/hermes-agent emulate operator_workspace antigravity
brigade Brigade Multi-Agent Crew spinabot/brigade emulate operator_workspace antigravity
evolver_a_evolve Evolver / A-Evolve GAIR-NLP/ASI-Evolve copy_pattern self_improvement_governance grok
figranium Figranium Visual Browser OS figranium/figranium emulate browser_workflow_evidence jules
reverse_skill reverse-skill Framework reverse-skill/reverse-skill copy_pattern operator_lane_router codex_remote
floci Floci Local Cloud Emulator floci-cloud/floci integrate_lightly local_cloud_emulator_policy jules
turbovec turbovec SIMD Engine turbovec/turbovec defer vector_memory_backend codex_remote
opencodex OpenCodex Provider Proxy opencodex/opencodex reference_only cost_tier_routing_policy codex_terminal

3. Operational CLI Commands

3.1 Building Reports from Fixtures

To scan local JSON fixtures, build a unified Wave 4 report, and write out both .json and .md reports:

python -m repo_dev_runtime.source_mining_wave4_cli build \
    --fixtures tests/fixtures/source_mining_wave4 \
    --output artifacts/wave4_reports \
    --generated-at "2026-08-19T15:00:00Z"

To emit JSON directly to standard output:

python -m repo_dev_runtime.source_mining_wave4_cli build \
    --fixtures tests/fixtures/source_mining_wave4 \
    --output artifacts/wave4_reports \
    --json

3.2 Rendering an Existing JSON Report to Markdown

To format and render an existing JSON report file into human-readable Markdown:

python -m repo_dev_runtime.source_mining_wave4_cli render \
    --report artifacts/wave4_reports/source-mining-wave4-report-v1.json

4. Source Evaluation & Audit Workflow

When evaluating a new external repository or capability for Wave 4:

  1. Step 1: Inspect Upstream Architecture

    • Identify memory model (isolated vs shared).
    • Identify execution model (in-process vs daemon vs subprocess).
    • Identify dependency footprint (stdlib vs native compilation vs heavy ML).
  2. Step 2: Classify Adaptation Mode

    • Choose from: emulate, copy_pattern, integrate_lightly, reference_only, defer, or reject.
  3. Step 3: Conduct Risk Classification

    • Audit against the 10 standardized risk dimensions:
      • credential_handling
      • permission_bypass
      • uncontrolled_browser
      • uncontrolled_self_improvement
      • provider_proxy_tos
      • native_dependency
      • offensive_security_surface
      • cloud_cost_surface
      • secret_exposure
      • auto_merge_or_autonomous_mutation
  4. Step 4: Draft Fixture JSON

    • Save fixture into tests/fixtures/source_mining_wave4/<source_id>.json.
    • Validate with scan_single_fixture_file() or CLI build.
  5. Step 5: Define Retrofit Specification

    • Map findings to concrete CoderOS subsystems and define PR title template, guardrails, and required evidence.

5. Anti-Collision & Parallel Execution Rules

  • Do Not Touch Forbidden Files:
    • repo_dev_runtime/cli.py
    • repo_dev_runtime/operator_workspace.py
    • repo_dev_runtime/operator_lane_router.py
    • repo_dev_runtime/cost_tier_routing_policy.py
    • repo_dev_runtime/pr_acceptance_critic.py
    • repo_dev_runtime/runtimes/*
  • Assigned Wave 4 Workspace:
    • repo_dev_runtime/source_mining_wave4.py
    • repo_dev_runtime/source_mining_wave4_cli.py
    • tests/test_source_mining_wave4.py
    • tests/test_source_mining_wave4_cli.py
    • tests/fixtures/source_mining_wave4/*
    • docs/*SOURCE_MINING_WAVE4*
    • .agents/*source-mining-wave4*

04 同仓库更多 Skills