Prior art
Inspect bounded local repository and Runx catalog evidence before a design, draft, or operator decision, then produce citation-bound findings and a reuse, amendment, new-work, or stop recommendation. Use when existing tools, skills, standards, or project patterns must constrain downstream work; use research or web-fetch first for external sources.
You’re reading version sha-cb6a6bc8ea32. Go to the current version
Overview
Ground the next decision in sources that were actually inspected.
In the manual
Runner
prior-art-agent
Declared by its execution profile. Read the profile
SKILL.md
Prior Art
Ground the next decision in sources that were actually inspected.
Direct use
Do the inspection and return the recommendation in the same task. Do not stop after announcing a search plan, ask the operator to enumerate obvious files, or turn bounded discovery into a repository-wide grep.
- Start from the operator's objective and current workspace. When exact
source_pathsare already supplied, reuse them. - Otherwise, make one targeted discovery pass for the smallest likely owning set: repository instructions and conventions, the named product or package, exact active plans or specs implicated by the objective, and adjacent Runx skill manifests. Select at most sixteen files. Listing filenames is discovery, not the prior-art result; continue through inspection.
- Invoke the default runner with the objective, chosen paths, and any existing decomposition. Complete its bounded research request, resume it in memory, and return the validated prior-art report—not a narration of what you intend to read.
- If the selected evidence is insufficient, return one precise
needs_more_evidenceresult naming the missing source. Do not broaden the search repeatedly or cycle through unrelated skills.
Routine local discovery and reads use the host's normal authenticated tools and need no approval. Runx adds the catalog projection, digest-bound source bundle, citation validation, reusable packet, and receipt. If Runx is unavailable, preserve the selected paths and findings in the documented output shape so the operator can continue locally without repeating discovery; do not claim a Runx receipt.
Composed use
A parent should pass its objective, decomposition, and already selected source paths. Reuse that evidence boundary exactly. Do not enumerate the repository, reacquire the catalog, or repeat a prior evidence-selection step unless the packet is missing, stale, or outside the current objective.
Executable procedure
- Supply a bounded
objective, optional work-plandecomposition, and the repo-relativesource_pathsselected by direct discovery or a parent chain. - Native
runx.skill.inspectindexes the local Runx catalog andfs.read_bundlereads and hashes at most sixteen requested files under the workspace boundary. Missing files are recorded; escaping, duplicate, or oversized paths fail closed. - Read only the indexed sources needed for the objective. State each finding as
claim,source,relevance, andconfidence(verified,likely, orunverified). - Name adjacent catalog skills and the boundary each already owns. Recommend
reuse,amend,new_work, orstop; do not create a duplicate primitive because an existing package is imperfect. - The domain validator checks every verified citation and adjacent skill
against those native projections. Unsupported verified claims or missing
requested sources force
needs_more_evidence.
External URLs are not inspected by this runner. Fetch them through a governed source skill, persist the bounded evidence in the workspace, then pass its path here.
Output
decision: ready | needs_more_evidence
findings:
- claim: string
source: repo-relative path
relevance: string
confidence: verified | likely | unverified
catalog_fit:
decision: reuse | amend | new_work | stop
adjacent_skills: array
rationale: string
recommended_flow: array
quality_bar: object
sources: array
risks: array
evidence: object
validation: objectInputs are objective, optional decomposition, graph_purpose, audience, artifact_contract, and bounded source_paths.
Agent task contracts
prior-art-research
Use the deterministic evidence index to select and read only the bounded local sources needed for the objective. Return prior_art_draft with decision, findings, catalog_fit, quality_bar, recommended_flow, sources, and risks. Cite repo-relative paths exactly. Mark a finding verified only when its source appears in inspected_sources or the catalog index. Prefer reuse or amendment over duplicate primitives. Return needs_more_evidence when requested sources are missing.
Published execution profile
The execution profile published with sha-cb6a6bc8ea32, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:a54fd36f9baac8c7ff7681d0471c0b628d0f5a013be23794e3ecb1794a89f925 |
skill: prior-art
version: "0.2.9"
catalog:
kind: graph
audience: builder
visibility: public
role: context
execution: read
completion: runtime_receipt
approval: none
harness:
files:
- fixtures/workspace/skills/moltbook/SKILL.md
- fixtures/workspace/skills/moltbook/run.yaml
- fixtures/support/composed.graph
cases:
- name: prior-art-recommends-catalog-reuse
operator_journeys:
- mode: standalone
confusors: [research, knowledge-router]
request: Inspect prior art for this design before I create anything new.
expected_outcome: Return bounded citation-backed findings and a reuse, amend, new-work, or stop recommendation.
- mode: composed
request: Continue this design decision from the supplied repository and catalog evidence.
expected_outcome: Reuse the bounded source set and return a prior-art recommendation without broad repository rediscovery.
prior_evidence:
- The explicit source paths, objective, and catalog evidence supplied in the fixture.
must_not_repeat:
- Do not enumerate or grep the whole repository again.
- Do not reacquire catalog evidence already included in the bounded source set.
inputs:
objective: Add a Moltbook opportunity scan to an existing governed pipeline.
repo_root: fixtures/workspace
source_paths:
- skills/moltbook/run.yaml
decomposition:
objective_summary: Add a Moltbook opportunity scan step.
orchestration_steps:
- id: scan
skill: ../moltbook
runner: scan
required_skills:
- name: moltbook
exists: true
caller:
answers:
research:
prior_art_draft:
decision: ready
findings:
- claim: The existing Moltbook package owns the opportunity scan boundary.
source: skills/moltbook/run.yaml
relevance: Reuse avoids a duplicate public scanner.
confidence: verified
catalog_fit:
decision: reuse
adjacent_skills:
- moltbook
rationale: Compose the existing scan runner and add only pipeline glue.
quality_bar:
audience: Runx skill maintainers
artifact: A source-bound reuse decision.
evidence: Cite the inspected manifest.
stop_conditions:
- Stop if the runner cannot be verified.
recommended_flow:
- step: scan
rationale: Reuse the existing Moltbook scan runner.
sources:
- path: skills/moltbook/run.yaml
kind: skill-manifest
risks: []
expect:
status: sealed
steps:
- plan
- catalog
- read
- index
- research
- validate
step_outputs:
validate:
subset:
decision: ready
catalog_fit:
decision: reuse
adjacent_skills:
- moltbook
evidence:
cited_paths:
- skills/moltbook/run.yaml
validation:
status: pass
findings: []
receipt:
schema: runx.receipt.v1
- name: prior-art-missing-source-stops
inputs:
objective: Verify a nonexistent local design note.
repo_root: fixtures/workspace
source_paths:
- docs/does-not-exist.md
caller:
answers:
research:
prior_art_draft:
decision: ready
findings:
- claim: The missing note defines the required protocol.
source: docs/does-not-exist.md
relevance: It would constrain the design if it existed.
confidence: verified
catalog_fit:
decision: new_work
adjacent_skills: []
rationale: No reusable package was identified.
quality_bar: {}
recommended_flow: []
sources:
- path: docs/does-not-exist.md
kind: repo-document
risks: []
expect:
status: sealed
steps:
- plan
- catalog
- read
- index
- research
- validate
step_outputs:
validate:
subset:
decision: needs_more_evidence
validation:
status: hold
findings:
- code: source.missing
path: docs/does-not-exist.md
receipt:
schema: runx.receipt.v1
tools:
- fs.read
runners:
prior-art-agent:
default: true
inputs:
objective:
type: string
required: true
description: Build, content, or operator objective being researched.
decomposition:
type: json
required: false
description: Structured decomposition output from work-plan.
graph_purpose:
type: string
required: false
description: Downstream purpose such as skill proposal, docs, content, issue, or release.
audience:
type: string
required: false
description: Reader or operator who will use the downstream artifact.
artifact_contract:
type: json
required: false
description: Expected downstream output shape.
source_paths:
type: json
required: false
description: Bounded repo-relative files to inspect in addition to catalog manifests derived from decomposition.
repo_root:
type: string
required: false
default: .
description: Workspace root used for native catalog and bounded file inspection.
result_from: [validate]
steps:
- id: plan
label: derive the bounded source set
inputs:
decomposition: $input.decomposition
source_paths: $input.source_paths
tool: { module: prior-art.mjs, export: planSources }
outputs:
paths: array
limits: object
artifacts:
named_emits:
paths: paths
limits: limits
- id: catalog
label: inspect the native skill catalog
tool: runx.skill.inspect
scopes:
- fs.read
inputs:
repo_root: $input.repo_root
- id: read
label: read and digest the bounded source set
tool: fs.read_bundle
scopes:
- fs.read
inputs:
repo_root: $input.repo_root
max_bytes: 262144
on_missing: report
paths: $steps.plan.paths
- id: index
label: bind catalog and file evidence
tool: { module: prior-art.mjs, export: indexSources }
outputs:
evidence_index: object
inputs:
limits: $steps.plan.limits
authoring_context: $steps.catalog.authoring_context
file_read_bundle: $steps.read.file_read_bundle
artifacts:
named_emits:
evidence_index: evidence_index
- id: research
label: compare inspected prior art
agent: { role: researcher, task: prior-art-research }
outputs:
prior_art_draft: object
inputs:
objective: $input.objective
decomposition: $input.decomposition
graph_purpose: $input.graph_purpose
audience: $input.audience
artifact_contract: $input.artifact_contract
evidence_index: $steps.index.evidence_index
source_paths: $input.source_paths
repo_root: $input.repo_root
artifacts:
named_emits:
prior_art_draft: prior_art_draft
- id: validate
label: validate citations and catalog fit
inputs:
evidence_index: $steps.index.evidence_index
prior_art_draft: $steps.research.prior_art_draft
tool: { module: prior-art.mjs, export: validatePriorArt }
outputs:
decision: string
findings: array
catalog_fit: object
quality_bar: object
recommended_flow: array
sources: array
risks: array
evidence: object
validation: object
artifacts:
wrap_as: prior_art_report
packet: runx.builder.prior_art.v1
Published package and test evidence.
This exact version passed its recorded harness run: 3 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | sha-cb6a6bc8ea32 |
| Recorded result | 3 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 2 |
| Test record | Open the recorded run |
Inspect receipt references
sha256:64cc171123583db6b17e76417e94f174542e794dbf28e2439f7dc3e19db15463sha256:2b119060311e6a97ec3ed94afcacecb16a78d794cfbb8909dd0ab540178d31c3sha256:8dac43dc82ab4ba689336783c0e917a730ad64a8cf3e4a9234e49d3c1206b757Package identity
| Published revision | sha-cb6a6bc8ea32 |
|---|---|
| Content digest | sha256:294f2d36df456ced453fbd2547c1439f76b7c3f87aa2fb6ee6104e851fc0f385 |
| SKILL.md digest | sha256:bbb454fc017ecb66b6ff96913ee049c480267873948212ae30ff38e4e69fb8eb |
| Execution profile digest | sha256:a54fd36f9baac8c7ff7681d0471c0b628d0f5a013be23794e3ecb1794a89f925 |
| Publisher identity | Verified publisher · runx |
| Trust tier | Verified publisherRunx has verified this publisher. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
0.2.13Content digest sha256:ed78df5185964a7f4ed9021794eb6c6394f16215215d661abbc62311e72d3aa4sha-4d72932b7240Content digest sha256:4d72932b7240e2cdd924a9e7bb8d73f5eb4d98f37bfa50d043eca229f8791402sha-f89224ced7a0Content digest sha256:f89224ced7a0b29e39631a7f5d8d90e144b0bee4a8710086dc9a491a345eec34sha-d05f66dd6aa5Content digest sha256:d05f66dd6aa585ad0b1a6766670b26185f3f6173a629fd9646bfa327a81f7056sha-8af2bb4a4fb7Content digest sha256:c3fb467170c78e0d83a081e7638816f36b181ffe714b04c522771e48d29cfb80sha-cb6a6bc8ea32ViewingContent digest sha256:294f2d36df456ced453fbd2547c1439f76b7c3f87aa2fb6ee6104e851fc0f385sha-13d8f9fb7ea8Content digest sha256:97dc64dc6774b11ce6adf943bb68e336270ce58a58a749fa5749211a60eb35a3