cyberneticlibrary

Deep Python file security review

file-reviewworkflowsetup L30
BeinerChes/TextualCode
What it does

File Review

Best for

Code review over file set: parallel analysis + consensus.

Outputs
  • · findings array with evidence + root causes
Requires
  • · agent-orchestration-engine
  • · parallel-execution-runtime
  • · schema-validation (zod or JSON-schema)
  • · phase-tracking-system
Preconditions
  • · workflow must export meta={name, description, phases}
  • · args may be JSON-stringified; parse defensively
  • · multi-phase execution context available
Failure modes
  • · null/undefined agent results filtered; total < expected → synthesis data-starvation
  • · sub-agent failure in any parallel branch → null result silently dropped
  • · agent output fails schema validation → workflow errors or graceful downgrade
  • · exception in any agent call propagates up, killing workflow
Trust signals
  • · Method discipline codified in prompt preamble
  • · Structured schemas with required fields and enums
  • · Explicit null-filtering on agent results