contradiction.sources.sync
Sync local files, website URLs, or GitHub repos to extract factual claims with provenance and trigger automatic contradiction discovery.
Instructions
Ingests and synchronizes one or more external data sources (local document file, public website URL, or GitHub repository), extracts factual claims with exact line provenance, idempotently updates SQLite storage, and triggers automatic contradiction discovery. Mutating and idempotent operation. Supports single source ingestion or concurrent batch synchronization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch | No | Optional batch array of source requests to synchronize concurrently with failure isolation | |
| input | No | Structured connector input object (e.g. { filePath: "..." }) for flexible invocation | |
| scope | No | Scope of the document or claims (e.g. "system", "component", "file") | |
| branch | No | Optional branch or tag name when syncing GitHub repositories | |
| source | No | Source locator: absolute/relative file path for document, public URL for website, or "owner/repo" for GitHub | |
| subject | No | Subject entity name for extracted claims (defaults to filename or repository name) | |
| connector | Yes | The external source connector to synchronize (document for local files, website for URLs, github for repositories) | |
| sourceName | No | Optional human-readable friendly label for the source | |
| sourceRole | No | Role of the source in system architecture (e.g. "specification", "configuration", "documentation", "deployment") | |
| environment | No | Target environment context for extracted claims (e.g. "production", "staging", "development") | |
| runDiscovery | No | Whether to automatically trigger incremental contradiction discovery on touched claims after sync (default: true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Status of synchronization | |
| connector | No | Connector used for sync | |
| durationMs | No | Sync execution duration in milliseconds | |
| repository | No | Source name or repository synced | |
| claimsCreated | No | Number of new claims created | |
| claimsUpdated | No | Number of existing claims updated |