Documentation
¶
Overview ¶
Command github-dark-factory-watcher polls GitHub for open DRAFT pull requests that carry an approved-not-completed dark-factory spec in the PR diff and publishes a CreateTaskCommand to Kafka per (PR, head SHA) so the github-dark-factory-agent picks it up automatically.
Directories
¶
| Path | Synopsis |
|---|---|
|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
Package pkg provides the core domain types and logic for the github-dark-factory-watcher service: GitHub API integration, pull-request filtering, cursor persistence, and Kafka command publishing.
|
Package pkg provides the core domain types and logic for the github-dark-factory-watcher service: GitHub API integration, pull-request filtering, cursor persistence, and Kafka command publishing. |
|
command
Package command defines the TriggerCommand payload and its Kafka sender for the github-dark-factory watcher's request topic.
|
Package command defines the TriggerCommand payload and its Kafka sender for the github-dark-factory watcher's request topic. |
|
darkfactory
Package darkfactory holds the network-backed candidate evaluator that decides whether an open draft PR carries an approved-not-completed dark-factory spec in its diff and therefore warrants a dark-factory-implement task.
|
Package darkfactory holds the network-backed candidate evaluator that decides whether an open draft PR carries an approved-not-completed dark-factory spec in its diff and therefore warrants a dark-factory-implement task. |
|
factory
Package factory wires concrete dependencies for the github-dark-factory-watcher binary.
|
Package factory wires concrete dependencies for the github-dark-factory-watcher binary. |
|
filter
Package filter implements the scope filter chain — the mandatory defense-in-depth predicate that refuses to act on any repo outside the configured REPO_ALLOWLIST, even if the upstream GitHub search returns more.
|
Package filter implements the scope filter chain — the mandatory defense-in-depth predicate that refuses to act on any repo outside the configured REPO_ALLOWLIST, even if the upstream GitHub search returns more. |
Click to show internal directories.
Click to hide internal directories.