Uses of Class
org.machanism.machai.gw.processor.AIFileProcessor
Packages that use AIFileProcessor
Package
Description
Provides the project-aware processing layer used by Ghostwriter to traverse
projects and submit file, guidance, or act prompts to a configured GenAI
provider.
-
Uses of AIFileProcessor in org.machanism.machai.gw.processor
Subclasses of AIFileProcessor in org.machanism.machai.gw.processorModifier and TypeClassDescriptionclassProcesses named action definitions (“acts”) and executes their prompts against a project, a project directory, or matching files by delegating the actual AI interaction toAIFileProcessor.classProcesses project files that contain inline guidance comments and dispatches the extracted instructions to the configured AI provider.Methods in org.machanism.machai.gw.processor that return AIFileProcessorModifier and TypeMethodDescriptionprivate static AIFileProcessorGhostwriter.createProcessor(Scanner scanner, PropertiesConfigurator config, org.apache.commons.cli.CommandLine cmd, Ghostwriter.RuntimeSettings settings) Creates either aGuidanceProcessor(default mode) or anActProcessor(when--actis specified), fully configured for the current run.Methods in org.machanism.machai.gw.processor with parameters of type AIFileProcessorModifier and TypeMethodDescriptionprivate static voidGhostwriter.applyCommonSettings(AIFileProcessor processor, Ghostwriter.RuntimeSettings settings) Applies shared processor settings — instructions, excludes, and concurrency — to the given processor, skipping any setting that was not resolved.private static voidGhostwriter.applyConcurrency(AIFileProcessor processor, String threads) Applies the configured concurrency (thread count) setting to the processor when present, logging the resolved value at INFO level.private static voidGhostwriter.applyExcludes(AIFileProcessor processor, String[] excludes) Applies exclude patterns to the processor when configured, logging the full list at INFO level.private static voidGhostwriter.applyInstructions(AIFileProcessor processor, String instructions) Applies custom instructions to the processor when present, logging an abbreviated version of the text at INFO level.private static intGhostwriter.processPathectories(AIFileProcessor processor, String[] paths, File projectDir) Processes all requested scan paths using the given processor, converting recognized failures into an appropriate exit code instead of propagating them further, and always logging usage statistics and completion.