OrangePro

ai.orangepro由 orangepro.ai 发布v0.2.60更新于 Nov 8, 2026

Find test gaps, generate grounded tests, and dynamically prove behavior with mutation testing.

概览

AI 生成的概览

本地 MCP 服务器:把仓库中的函数与调用它们的测试对应起来,按风险排序测试缺口,并用变异测试证明测试是否有效。

可以做什么
  • 分析仓库并构建函数与调用它们的测试之间的证据图
  • 按风险评分排序未证明的行为,列出最需要补测的缺口及建议位置
  • 在隔离副本中破坏目标函数并重跑测试,以证明测试是否真正生效
  • 为排名前 20 的函数起草有依据的测试,并生成 HTML 报告和测试用例 CSV
  • 报告代码差异影响范围、追溯矩阵、图谱就绪度和汇总统计
  • 导出仅含元数据的证据包并记录测试运行结果
适用场景
适合希望让助手找出代码库中哪些部分其实没有被测试真正保护、为最高风险缺口起草测试,并验证现有测试在代码被破坏时是否真的会失败。适用于使用 TypeScript/JavaScript、Python、Go 或 Java 且有 git 历史的仓库。
运行要求
通过 npx 以 stdio 本地运行;需要已修补的 Node.js 22.23.4+、24.22.1+ 或 26.12.1+,支持 macOS 或 Linux(Windows 未测试)。git 历史可提升排序质量,且需先安装仓库自身依赖,证明过程才能运行其测试。可选模型密钥:OPENAI_API_KEY、ANTHROPIC_API_KEY 或 OLLAMA_BASE_URL,用于起草可运行测试。
安装前请注意
分析、排序和证明无需密钥,也不会向厂商发送数据;但配置 OPENAI_API_KEY 或 ANTHROPIC_API_KEY 后,包含函数名、文件和证据的提示会直接发送给该提供商,密钥只从 shell 环境或 MCP 客户端的 env 块读取。证明会在隔离副本中运行你的测试,不会修改源码,但会执行仓库中的测试代码。生成的测试写入单独目录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OrangePro,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[OrangePro]

See which code your tests really protect. Prove it by breaking the code on purpose.

[npm version] [MIT License] [npm downloads] [Glama score] [MCP Registry]


OrangePro maps every public function in your repository, links each one to the tests that actually call it, and ranks what's left by what it can break. For a test you care about, it breaks the function in an isolated copy and checks that the test fails. It runs on your machine, uses no AI model for scoring, and sends nothing to OrangePro. Mapping, gap ranking and proof work with no model key. Drafting a runnable test needs a provider. orangepro_generate_tests with provider set to deterministic runs with no key and returns placeholders only: the body is expect(true).toBe(true); // placeholder — replace with a concrete assertion, runnable is false, and there is no suggested_path, run_command or prove_run. That mode smoke-tests the pipeline.

bash
npx -y @orangepro/mcp-server@latest start .

Contents


What you get

Every run writes two reports and a spreadsheet of tests to .orangepro/:

FileForWhat's in it
short_behavior-coverage.htmlLeads, managers, anyone in a hurryOne page: what to do with the 20 highest-priority functions, the top five with the reason and the tests drafted for each, what changed since the last report, and how to reproduce the run.
behavior-coverage.htmlDevelopersWorklist: every ranked function with what to do, filters, and a side panel with the evidence, why it ranks, two drafted tests and the proof command. Map: where tests reach, by area. Run details: inputs, counts, proofs, fingerprints and settings.
tests.csvQA, test managersOne row per test slot (preconditions, steps, test data, expected result, priority, folder), ready for Excel, Google Sheets, TestRail, Jira Xray or Zephyr Scale. Export tests (CSV) in the detailed report downloads it, and its Run details show how the columns map (Importing tests.csv).

Every function gets one of four things to do:

What it meansWhat to do
DoneA test fails when this code breaks.Nothing. It moves back to Prove if the code changes.
ProveA test runs it, or a coverage run executes it, but no test is proven to catch a break.Run the proof command.
CheckA test file or test name points here, but no call was traced.Read that test file first; prove it if it drives the function, otherwise write one.
WriteNo test catches a break here yet.Write a test (two are drafted for the top 20), then prove it.

The one-page summary

[OrangePro one-page summary: what to do with the 20 highest-priority functions, and the top five with their tests]

The detailed report

[OrangePro detailed report: the worklist with filters and the side panel for one function]

Both from OrangePro run on its own repository at commit 64a5213, without a model key, so no tests were drafted. With a key, each of the top 20 shows two drafted tests, and the side panel shows their steps and code.


Why developers use it

  • It tells you what a test actually checks, not just what it runs. A test that calls a function isn't necessarily checking it. opro prove replaces the function body with a fixed return value in an isolated copy and reruns your own test, unchanged. If the test still passes, it wasn't protecting that function.
  • It puts consequences first. One filter shows the code paths that reach a delete or purge (cache evictions don't count); others show code that changes often, has many callers or runs on a schedule.
  • It's honest about evidence. A function is "linked" only when a test calls that exact function. A test with a similar name is a lead, never coverage. Tests that only check mocks don't count.
  • It's repeatable. Same commit, full git history, same config and same version give the same ranking. Each report records fingerprints, so you can tell when a change in results came from the code and when it came from the tool.
  • Your coding agent can drive it. As an MCP server it gives Claude Code, Cursor, Copilot, Codex and others the ranked gaps, the suggested test location and the proof step in one loop.
  • It's free, local and open source (MIT). No account, no API key for analysis, and no upload.

Quick start

bash
cd /path/to/your/repo# install the repo's own dependencies first (npm ci, uv sync, go mod download, ...)npx -y @orangepro/mcp-server@latest start .open .orangepro/short_behavior-coverage.html

Mapping, gap ranking and proof work with no model key. Drafting a runnable test needs a provider (see Model setup). Deterministic mode returns placeholders only, as described above.

Tips for the most accurate run:

  • Use a full clone, not a shallow one. Change history drives part of the ranking, and the report says when history was partial.
  • Exclude what isn't product code with rank_exclude_paths (see Configuration).
  • Rerun after a change. Each report says what changed since the last one. When nothing changed (same commit, files, settings, coverage and proofs), start reuses the last reports at once and says so; --fresh runs in full anyway.

What's written:

.orangepro/├── short_behavior-coverage.html   ← one-page summary├── behavior-coverage.html         ← detailed report: worklist, map, run details├── tests.csv                      ← drafted tests, one row per test├── report-data.json               ← the data both reports show (used to compare and reuse runs)├── run-key.json, last-start.json  ← what the last run saw, so an unchanged repo is not analysed again├── graph.json                     ← the evidence graph (deterministic)├── ledger.json                    ← proof certificates├── rtm.md                         ← traceability matrix└── config.json                    ← optional per-repo settings
orangepro_generated/               ← generated tests (a runnable draft needs a provider; deterministic mode returns placeholders only); your files are never edited

Evidence tiers

Every function gets exactly one evidence label. The four things to do above are read from it.

EvidenceWhat it meansTo do
ProvenA test passed on the original code and failed at its own assertion when this function was broken in an isolated copy.Done
Runs under testsA coverage tool you ran executed this code.Prove
LinkedA test calls this exact function. That's a structural link, not proof.Prove
UnconfirmedA test file or a test with a similar name points here, but no call was traced. That's a lead, not evidence.Check
No test foundNothing links a test to it.Write

A proof that ran and did not catch the break turns the function into Write; a proof made before the code changed turns it back into Prove.

A successful orangepro_prove sets the oracle field proven to true and writes the ledger status reproven. That status is used the first time too. The report's Proven count is how many behaviors still match one of those certificates. The traceability row says Reproven (this run). That label does not mean the function was proved earlier.

What OrangePro doesn't count, so linked numbers are a floor, not a coverage percentage:

  • tests that only assert on mocks;
  • calls made over HTTP or from end-to-end suites;
  • in Python, objects that reach a test only through a fixture.

Check the tests before writing new ones for a flagged path.

"Proven 0" is normal on a first run. Proof runs your tests, so it happens only for the functions you choose, or within the attempt budget of opro start.


How the ranking works

Each unproven function gets an OrangePro Risk Score, ORS = P × I × D:

  • P: how likely it is to change. Change history, fan-out, new code and size.
  • I: what it can break. Incoming references, entry-point position, data sensitivity, and a floor for paths that reach a delete or purge within two calls.
  • D: how hard a break would be to notice. Evidence tier (a linked test or a coverage run makes a break easier to notice than a name match or nothing), and whether it runs unattended (jobs and schedulers).

The score sets the order of work. It is not a defect probability. The weights are fixed and no AI model is involved. The report shows the inputs behind every row.


Prove a test

bash
# Python: the mutation value is derived from the function (return annotation or its observed result)opro prove-loop --target-symbol 'sym:app/billing/invoices.py#void_invoice' \  --test 'tests/test_invoices.py::test_void_marks_invoice_void' --replacement sentinel
# TypeScript / JavaScript: give the inert body to substituteopro prove-loop --target-symbol 'sym:src/orders.service.ts#OrdersService.cancel' \  --test src/orders.service.spec.ts --replacement 'return null;'
  • Proven: the test passes on the original code and fails at its own assertion on the broken copy. The oracle then says proven: true. The ledger stores that attempt as reproven, including the first time, and the traceability row says Reproven (this run).
  • Not proven: the test still passes on the broken copy, so it doesn't protect that function. That's a finding too.
  • Unrunnable: setup failed. This is never counted either way.

Arguments for orangepro_prove

For a JavaScript or TypeScript function the call needs:

  • target_symbol: sym:<file>#<Symbol>. A bare name is refused.
  • test_path: the test file, relative to the repo.
  • replacement: empty, or a single return of a literal, such as return null;. A throw, a call, or any other statement is refused.
  • replacement_mode: return-json for a normal function (the default). promise-json when the function is async, so the literal is returned as a resolved promise.
  • runner: jest, vitest, mocha, or auto. Use the runner the repo uses.

Worked example for an async run in index.js, tested with Jest:

json
{  "target_symbol": "sym:index.js#run",  "test_path": "index.test.js",  "replacement": "return null;",  "replacement_mode": "promise-json",  "runner": "jest"}

Go and Java do not take replacement. They take test_run (^TestName$ for Go, TestClass#testMethod for Java).

Find weak tests without a model key:

bash
opro roast .   # passing tests whose targeted mutant still survives

Use with your coding agent

OrangePro runs as an MCP server. Add it to your client's config:

json
{  "mcpServers": {    "orangepro-local": {      "command": "npx",      "args": ["-y", "@orangepro/mcp-server@latest", "mcp"]    }  }}
ClientWhere to put it
Claude Code.mcp.json or ~/.claude.json
Cursor~/.cursor/mcp.json or Settings → MCP
VS Code / CopilotMCP settings
Codex / OpenCode / Windsurfnpx -y @orangepro/mcp-server@latest agent --client codex prints the setup

A prompt that runs the whole loop:

"Use orangepro_start, then orangepro_find_test_gaps. For the top gap, write a test at the suggested path, run it, then call orangepro_prove_loop and tell me whether it was proven."


Configuration

Optional. Put it in .orangepro/config.json in the repository, or in ~/.orangepro/config.json for defaults across repositories. Every setting that changes the ranking is shown in the report.

json
{  "classification": {    "rank_exclude_paths": ["ui/**", "docs/**", "scripts/**"],    "test_support_paths": ["internal/testutil/**"],    "destructive_sinks": ["archive*"]  },  "tuning": { "churn_window_days": 180 },  "proof": { "python_runner": "auto", "attempt_limit": 20 },  "overrides": [    { "symbol": "sym:src/legacy/shim.ts#shim", "action": "suppress", "reason": "generated shim, not product code" }  ]}
  • rank_exclude_paths removes paths from the ranking. They are still counted as behaviors.
  • destructive_sinks adds delete-like calls for your codebase.
  • Overrides (suppress, pin, reclassify) each require a reason, and the report lists them.
  • Weights and tiers can't be configured.

Language support

LanguageMap functionsLink tests that call themDraft testsMutation proof
TypeScript / JavaScript✓✓✓ Jest, Vitest, Mocha✓ Jest, Vitest, Mocha
Python✓✓✓ pytest✓ pytest
Go✓✓✓ *_test.go✓ go test
Java✓✓✓ JUnit 4 and 5✓ Maven with JUnit 5 only
Kotlin, Rust, PHP, C#, Ruby, Swift, C, C++✓name match onlynot yetnot yet
  • "Name match only" means a test file or test name that looks like the function makes it Unconfirmed (Check). No call is traced, so these languages never reach Linked or Proven today.
  • TypeScript and JavaScript are parsed with the TypeScript compiler; the other languages with tree-sitter.
  • Python proof runs pytest through the repository's own environment: an existing .venv or venv, then uv or poetry when their lock files are present, else python -m pytest. Set proof.python_runner to use your own command.
  • Java proof needs Maven (Surefire) and JUnit 5. Gradle and JUnit 4 projects are mapped and linked, but not proven yet.
  • Not traced yet, so tested code can show as Unconfirmed: calls through Go test-suite methods and helper constructors, dependency injection that is wired at runtime, reflection, and calls made over HTTP or RPC.

Requirements and limits

  • A patched Node.js: 22.23.4 or newer 22.x, 24.22.1 or newer 24.x, or 26.12.1 or newer, on macOS or Linux. Windows isn't tested: proofs use POSIX paths and symlinks.
  • Use a patched Node.js. The October 21, 2026 Node.js security releases (22.23.4, 24.22.1, 26.12.1) fix several high-severity issues, and Node.js 20 is end-of-life and gets no fix. Odd-numbered lines (23, 25) have no patched release. The engines field in package.json records this, but npm only warns about it unless you set engine-strict=true. Check your version with node -v. See the Node.js security release notice.
  • Git, for change history. Without it, or in a shallow clone, the ranking uses structure only and the report says so. A folder that isn't a git checkout always runs in full.
  • Install the repository's dependencies first (npm ci, uv sync, go mod download, mvn -q install, …). Proof runs your own tests in an isolated copy and needs them to pass there.
  • What's read: source and test files, skipping anything in .gitignore or .orangeproignore (negations with ! aren't supported), the usual build and dependency folders (node_modules, vendor, dist, build, target, coverage, .venv, …), files over 1 MB, and generated code (files marked Code generated … DO NOT EDIT). Up to 100,000 files; ORANGEPRO_MAX_FILES lowers that and ORANGEPRO_MAX_ANALYZE_MS sets a time limit for the scan.
  • Test drafting covers the 20 highest-priority functions, two tests each, in the order the worklist shows, and the reports show those 20. Drafts are kept until the function's code changes.
  • What counts as "nothing changed" for reusing a run: the commit, every modified or untracked file that git doesn't ignore, OrangePro's settings and ignore files, coverage files, the proof ledger, the start options, whether a model key is set, and the analysis version. A run whose test drafting failed on a provider error (out of credits, rate limit) runs again in full.
  • The CSV column mapping follows each tool's CSV importer (see Importing tests.csv). Check the import preview the first time.

Privacy and network use

  • Nothing about your code or your runs is sent anywhere. There is no usage telemetry.
  • Source is read in-process and never stored or uploaded. Reports and the evidence graph contain metadata, not your source.
  • Your source files are never edited. Proofs run in an isolated copy.
  • Model calls happen only if you configure a key, and they go directly from your machine to the provider you chose. Keys, the provider, its endpoint and the model are read only from your shell environment, or from the env block of your MCP client's config. OrangePro reads no .env file, so a repository you scan cannot choose where your key is sent, and OrangePro never writes keys anywhere. opro setup saves only the provider and model name.
  • With a key, the reports and tests.csv include the tests your model drafted, and the prompts include the function names, files and evidence they're based on.
  • Reports load nothing from the network. The only outbound links are ones you click.

Feedback

Reports include a Give feedback link and a This looks wrong link on each finding. Once in a while, after the findings, they also ask whether the report helped.

  • The links carry nothing about your project. The form sends only what you review and submit.
  • You stay anonymous unless you leave an email.
bash
opro feedback          # print the link and your settingsopro feedback off      # stop the "Did this help?" question (links stay)ORANGEPRO_FEEDBACK_URL=off   # hide every feedback link

The question appears at most once every 14 days (ORANGEPRO_FEEDBACK_COOLDOWN_DAYS). That preference is stored only on your machine. MCP clients get the link as optional result metadata (_meta["ai.orangepro/feedback_url"]), and your agent is never asked to prompt you for feedback.


Reference

CLI
bash
opro                          # same as opro start .opro start . --no-ai --no-auto   # analyze + reports, no model calls, no proof attemptsopro start . --fresh          # run in full even when nothing changed since the last runopro start --base main        # scope to a branch diffopro analyze                  # build the evidence graph and reportsopro gaps --limit 10          # top unproven behaviors, rankedopro prove-loop ...           # mutation proof for one function (see above)opro roast .                  # find tests whose mutant survives (no key needed)opro doctor --proof           # why top targets aren't proven yetopro generate --base main     # runnable tests for this branch (needs a provider; --provider deterministic returns placeholders only)opro rtm                      # traceability matrixopro export                   # metadata-only evidence packopro coverage                 # find or generate runtime coverage artifactsopro feedback [on|off]        # feedback link and invitation settingopro mcp                      # run as an MCP server (stdio)

Add --json to any read command for machine output. Run opro help for every flag.

MCP tools (18)
ToolWhat it does
orangepro_startAnalyze, write both reports and tests.csv, return next actions; returns at once with unchanged_since when nothing changed (fresh forces a full run)
orangepro_analyze_sourcesBuild or refresh the evidence graph
orangepro_find_test_gapsUnproven behaviors ranked by ORS
orangepro_prove_loopSetup + mutation proof + report refresh for one behavior
orangepro_proveMutation proof only
orangepro_generate_testsGrounded tests. A runnable draft needs a provider. provider: deterministic returns placeholders only, with no key.
orangepro_changed_impactWhat a diff touches
orangepro_statusWorkspace state without running anything
orangepro_doctorWhat evidence to add next
orangepro_graph_scoreGraph readiness (0–100)
orangepro_rtmTraceability matrix
orangepro_statsAggregate statistics
orangepro_record_runRecord a test run result
orangepro_explain_testWhy a test was generated
orangepro_export_evidence_packMetadata-only evidence pack
orangepro_update_graphIncremental graph update
orangepro_ai_linksWeak behavior→code suggestions (optional AI, never evidence)
orangepro_ai_flowsCandidate flows (optional AI, never evidence)
Coverage artifacts

Run your own unit and integration coverage first, then opro start. OrangePro ingests Go coverprofiles, lcov, coverage.py XML and JaCoCo XML, and keeps unit, integration and unclassified coverage separate. To label artifacts, add .orangepro/coverage-suites.json:

json
{  "artifacts": {    ".orangepro/coverage/unit.coverprofile": { "suite": "unit", "command": "make unit-test-coverage" },    ".orangepro/coverage/integration.coverprofile": { "suite": "integration", "command": "make integration-test-coverage" }  }}
Model setup (BYOK, only for generation)
ProviderEnvironment variable
OpenAI-compatibleOPENAI_API_KEY (optional: OPENAI_BASE_URL, OPENAI_MODEL)
AnthropicANTHROPIC_API_KEY (optional: ANTHROPIC_MODEL)
Ollama (local, no key)OLLAMA_BASE_URL (optional: OLLAMA_MODEL)

Auto-detect order: OpenAI → Ollama → Anthropic. Override with --provider and --model, or run opro setup.

  • Model output never changes an evidence tier. Only the mutation proof can mark a behavior Proven.
  • Generated tests land in orangepro_generated/ with the files and existing tests they're grounded on, and where and how to run them.
  • Drafts whose code fails the compile check are kept as plans ("Plan only"), with the reason named. Without a key, each of the top 20 shows two empty slots with a prompt you can copy into your coding agent.
Importing tests.csv

One row per test, UTF-8. The first 12 columns are for import; the rest keep the priority, evidence and proof command with each test. Priority is High for the five highest-ranked functions and Medium for the rest.

Column in tests.csvTestRailJira XrayZephyr Scale
IDTest Case Identifier(leave Key empty)
TitleTitleSummaryName
Section (a > b)Sections Hierarchy
Folder (a/b)Test Repository PathFolder
PriorityPriorityPriorityPriority (map Medium to Normal)
Test typeTypeLabelsLabels
PreconditionsPreconditions(separate issues in Xray; add to Description if you want them)Precondition
StepsManual Test Step: Action
Test dataManual Test Step: Data
Steps with dataStepsTest Script (Steps) - Step
Expected resultExpected ResultManual Test Step: Expected ResultTest Script (Steps) - Expected Result
ReferencesReferencesDescriptionObjective
  • TestRail: Import from CSV with the Test Case (Text) template, one row per test case.
  • Jira Xray: Test Case Importer; each test imports as one manual step.
  • Zephyr Scale: it has no test-data field, so Steps with data carries it.
  • Check the importer's preview before you confirm.
PR workflow
bash
opro generate --base main     # tests for what this branch changed (read-only git diff)opro generate --changed       # current branch vs its baseopro generate --pr 1234       # checks out PR #1234 (asks first; refuses on a dirty tree)

Hosted platform

This repository is the free local tool. The OrangePro platform adds:

  • a persistent graph across PRs and repositories;
  • CI gates on evidence and risk changes;
  • requirement and incident correlation;
  • team dashboards.

Contributing

bash
git clone https://github.com/OrangeproAI/orangepro-mcp.gitcd orangepro-mcp && npm ci && npm run buildnpm test

PRs welcome. Please open an issue first for large changes.


MIT License · orangepro.ai

来源:README.md,提交 479971c

工具

19

orangepro_start

Start OrangePro

One-command local setup for a repo or PR: analyze sources, auto-apply weak AI candidate links and candidate flows when a real BYOK provider is configured, write behavior-coverage.html (detailed report), short_behavior-coverage.html (summary), tests.csv + rtm.md, summarize changed/gap targets, and return agent next actions. When nothing changed since the last run it returns at once with unchanged_since and reuses the reports (fresh=true forces a full run). AI lanes stay separate and never affect Proven coverage.

输入参数freshmodelno_aiai_allsourcebase_refproviderworkspaceno_ai_flowsprompt_versioninclude_markdowngenerate_coverage另有 1 个

orangepro_analyze_sources

Analyze local sources

Build or refresh the local OrangePro evidence graph from a local checkout/path plus optional CSV/Markdown enrichers. Metadata-only by default — reads source in-process but never stores or uploads code. Optionally stages/applies AI candidate flows and refreshes the report when ai_flows=true.

输入参数modemodelpathsai_flowsproviderworkspaceinclude_markdowninclude_source_snippets

orangepro_graph_score

Graph readiness score

Return the local graph readiness score (0-100), band, per-dimension breakdown, and plain-language missing evidence. Readiness signal, not a proof of test lift.

输入参数workspace

orangepro_status

Local workspace status

Show local workspace state without generating anything: whether the graph is fresh/stale/missing, source mix, score, and privacy settings (always local, no upload).

输入参数workspace

orangepro_doctor

Recommend next evidence

Recommend the smallest next source that would most improve generated-test quality, with expected score impact. Teaches what data improves output.

输入参数goalproofworkspace

orangepro_find_test_gaps

Find test gaps

List requirements/flows with weak or missing test evidence, plus top_risk_gaps for unproven code symbols ranked by the OrangePro Risk Score (Probability × Impact × DetectionDifficulty). Risk is prioritization only; it never changes coverage/proof status.

输入参数limitworkspacemin_priority

orangepro_record_run

Record gap-fill outcome

Record an agent test-writing attempt as static diagnostics. When test_path is provided for TS/JS, OrangePro first tries scoped deterministic re-prove; otherwise it re-analyzes the repo. Static hard COVERS edges render as Linked; public Proven requires orangepro_prove.

输入参数modelrun_idsourcevacuousprovidertarget_idtest_pathworkspaceagent_passevidence_idstarget_symbolprompt_version

orangepro_prove

Run dynamic targeted proof

Run the dynamic targeted-proof oracle for a CodeSymbol and append a metadata-only ledger certificate. Public Proven closes only when baseline green plus a valid sentinel mutation of the credited symbol fails the same test at an assertion. Static record_run is diagnostics only.

输入参数methodrun_idrunnersourcetest_envtest_runtarget_idtest_pathworkspacetimeout_msjest_configreplacement另有 5 个

orangepro_prove_loop

Setup, run dynamic proof, refresh report

Product wrapper around orangepro_prove: run trusted-local setup_commands in the source checkout, then the UNCHANGED dynamic targeted-proof oracle, then refresh the behavior report. Setup is non-secret repo prep only (build/install/shim); a setup failure returns unrunnable, does not run the oracle, and leaves the ledger untouched (never Proven). Public Proven still closes only through the unchanged certificate.

输入参数methodrun_idrunnersourcetest_envtest_runtarget_idtest_pathworkspacetimeout_msjest_configreplacement另有 7 个

orangepro_stats

Gap-fill ledger stats

Summarize the local gap-fill ledger: attempted, dynamic-reproven, unproven, legacy static-associated, generated-but-unverifiable, and kept rate. Metadata-only.

输入参数workspace

orangepro_rtm

Deterministic traceability matrix

Write and return a deterministic Requirements Traceability Matrix. Status comes only from the local graph and gap-fill ledger: Proven, Runs under tests, Linked, Unconfirmed, No test found, Reproven, or Generated-unverifiable. No LLM calls.

输入参数limitformatstatusbase_refworkspaceoutput_path

orangepro_update_graph

Incrementally update graph

Refresh the local graph from changed files. Incremental and non-destructive by default — preserves evidence and marks affected generated tests stale.

输入参数workspaceforce_full_rebuild

orangepro_changed_impact

Changed-file impact

DIFF/PR TOOL — only for real code-review situations. Summarizes what changed vs a base git ref and which local graph behaviors/tests are affected (basic changed-file impact; no deep route/API shape analysis). Requires a git repo and a real diff: returns status 'no_diff' / 'no_code_changes' (diff was docs-only) / 'missing_base_ref' / 'not_a_git_repo' with guidance instead of fabricated impact when there is nothing to analyze. For baseline (no-PR) test opportunities use orangepro_find_test_gaps.

输入参数base_refworkspace

orangepro_ai_flows

Stage/apply AI candidate flows

Opt-in AI lane: propose candidate behavior-flow chains over existing deterministic entry and CodeSymbol ids. Generate writes .orangepro/flows.json only; apply=true stores survivors under analysis.candidate_flows. Candidate flows are a verify-these worklist and never affect Proven, deterministic flow counts, tiers, or coverage.

输入参数applymodelproviderworkspace

orangepro_generate_tests

Generate grounded tests

Generate a small capped set (1-5) of grounded tests from local evidence using your own model key (BYOK: OpenAI-compatible, Ollama, or Anthropic). Tests are diversified across lightweight LOCAL scenario buckets (happy_path, validation_error, edge_case, integration_flow, security_privacy, regression) chosen from the evidence — unjustified buckets are skipped, never padded. By default it focuses the top-gap behavior and returns up to `limit` bucket-diverse tests for it; pass multiple target_ids to split the budget across them. Each test reports its bucket plus VALIDATED grounding `evidence` (every cited entity resolved against the local graph with its kind, evidence strength, and source_ref) and discloses weak/candidate evidence; `evidence_summary` reports proof coverage and any broken citations, so the grounding is verifiable rather than asserted. If evidence is too thin, returns missing-evidence guidance instead of generic tests. Returns each test's code plus `run_hints` (a suggested file path + run command) and an `agent_workflow`: YOU (the agent) write each file and run it with your shell tools, then report pass/fail + stack traces — OrangePro never writes to or runs anything in the repo. Requires the repo's test framework/deps to already be installed.

输入参数limitmodelcomparebase_refproviderframeworkworkspacetarget_idswrite_filesprompt_version

orangepro_explain_test

Explain a generated test

Explain why a generated test exists: which graph evidence anchors support it, source refs, and whether weak/candidate evidence was used. Exposes trust artifacts only, not internal generation logic.

输入参数workspacegenerated_test_id必填

orangepro_export_evidence_pack

Export evidence pack

Export a portable evidence pack (JSON) plus a human-readable Markdown summary for review or later hosted promotion. Includes facts, provenance, generated outputs, and high-level score metadata — never prompts, weights, traces, or raw source. Validates against the local schema.

输入参数workspacegraph_htmloutput_pathinclude_generated_bodies

orangepro_install_github_action

Install the post-merge GitHub Actions workflow

Preview, by default, the opt-in post-merge workflow (.github/workflows/orangepro-proof.yml: contents: read, no secrets, pinned actions) and the .orangepro/actions/ folder it reads (the profile: target, oracle, fault, selected tests, the test to replay). Writes nothing unless dry_run is false and confirm is "install" (or "uninstall" with uninstall: true). Never commits, pushes, creates secrets, grants permissions or opens pull requests; a file changed since OrangePro wrote it is reported as a conflict and never overwritten or removed. Tested locally; a real Actions run is separate.

输入参数baseconfirmdry_rununinstallworkspacebuild_sha256opro_versionprofile_from

版本历史

9
  1. v0.2.59Oct 29, 2026
  2. v0.2.58Oct 10, 2026
  3. v0.2.57Oct 9, 2026
  4. v0.2.56Oct 7, 2026
  5. v0.2.50Oct 7, 2026
  6. v0.2.49Oct 6, 2026
  7. v0.2.47Oct 6, 2026
  8. v0.2.46Oct 3, 2026
  9. v0.2.40Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分