forked from retoor/devplacepy
iUpdate
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// retoor <retoor@molodetz.nl>
|
||||
export const meta = {
|
||||
name: 'fleet',
|
||||
description: 'DevPlace maintenance fleet: 10 dimension subagents scan in parallel, then every finding is adversarially verified against source before it is reported',
|
||||
description: 'DevPlace maintenance fleet: 12 dimension subagents scan in parallel, then every finding is adversarially verified against source before it is reported',
|
||||
phases: [
|
||||
{ title: 'Review', detail: '10 dimension subagents scan devplacepy/ and tests/ in parallel' },
|
||||
{ title: 'Review', detail: '12 dimension subagents scan devplacepy/ and tests/ in parallel' },
|
||||
{ title: 'Verify', detail: 'adversarially refute each candidate finding against the actual source' },
|
||||
],
|
||||
}
|
||||
@@ -19,6 +19,8 @@ const DIMENSIONS = [
|
||||
{ key: 'fanout', agent: 'fanout-maintainer' },
|
||||
{ key: 'docs', agent: 'docs-maintainer' },
|
||||
{ key: 'test', agent: 'test-maintainer' },
|
||||
{ key: 'background', agent: 'background-maintainer' },
|
||||
{ key: 'locust', agent: 'locust-maintainer' },
|
||||
]
|
||||
|
||||
const FINDINGS_SCHEMA = {
|
||||
@@ -86,7 +88,7 @@ function reportPrompt(dimension) {
|
||||
|
||||
function verifyPrompt(dimension, finding) {
|
||||
return (
|
||||
`Adversarially verify a candidate "${dimension}" finding. Your goal is to REFUTE it. Open the exact file and read ` +
|
||||
`You are an independent skeptic, not the agent that raised this finding. A "${dimension}"-dimension maintenance agent flagged the candidate below; your job is solely to REFUTE it from a fresh, unbiased read of the source. Open the exact file and read ` +
|
||||
`enough surrounding context (the whole function, the caller, the contract) to judge intent. It is REAL only if it ` +
|
||||
`survives refutation as a genuine violation of the ${dimension} dimension. Rule it out (isReal=false) if it is a ` +
|
||||
`contract identifier, DATA rather than authored prose, generated or vendored or third-party, or already correct ` +
|
||||
@@ -116,7 +118,6 @@ const reviewed = await pipeline(
|
||||
parallel(
|
||||
((review && review.findings) || []).map((finding) => () =>
|
||||
agent(verifyPrompt(dimension.key, finding), {
|
||||
agentType: dimension.agent,
|
||||
label: `verify:${dimension.key}`,
|
||||
phase: 'Verify',
|
||||
schema: VERDICT_SCHEMA,
|
||||
|
||||
Reference in New Issue
Block a user