Skip to main content

Watchers

Watchers keep project memory fresh after the first ingest. Use a Git watcher for docs, README files, runbooks, ADRs, and other high-signal Markdown or text files. Use a Slack watcher when team conversations contain useful decisions, incident context, support notes, or operational knowledge that should be available with clear provenance. Use a Jira watcher when issues contain work intent, operational status, blockers, and decisions from Jira Cloud. Use a Google Drive watcher for a directly shared folder of Docs, Slides, PDFs, DOCX, Markdown, and text files that must stay current.

Use a watcher when the source changes over time. Use one-time ingestion when you only need a snapshot.

Deterministic remote OKF mode

A Git watcher with mode: okf-sync synchronizes an existing OKF repository without an LLM. It preserves the authored OKF pages, deterministically merges them into the selected existing Project, and indexes them with the Project's other knowledge for Explore and agent retrieval. Git remains the source type; the configured mode is labeled Git · OKF Sync so it stays visibly distinct from the ordinary Git extraction flow documented on this page. For the simplest setup, paste the browser URL of the wiki's index.md; Synth derives the repository, branch, and wiki folder. See Sync an Existing OKF Wiki from Git.

A OneDrive watcher monitors a folder in a connected Microsoft account’s own drive, including supported spreadsheets.

UI Setup​

A Project is the shared context space, not a single repo. Git, Jira, and Slack watchers sync external context into that space. Retrieved pages retain source roles and provenance: Git is current implementation truth; Jira is planning and operational context; Slack is team conversation context. A connected agent can use those distinctions when it reasons over the evidence.

For Jira-specific setup, see Jira Watchers. For service-account setup, supported exports, CaSC, checkpoint safety, and complete refresh behavior, see Google Drive Watchers.

The screenshots in this section show the setup flow. A real first sync still depends on repository access, credentials for private repos, and file rules that match the branch you selected.

  1. Open Watchers and confirm you are in the project that should receive the synced context.

Git watchers treat source files as the ground truth. Jira watchers treat Jira issues as work-context sources. Slack watchers treat team conversations as decision and rationale context. The Markdown pages in the knowledge base are derived views over the live watched sources.

The Synth Watchers screen with no synced context yet and a New Watcher action.
Start from an empty project state, then create the watcher from the same project.
  1. Select New Watcher, then choose Git, Google Drive, Jira, OneDrive, or Slack.
The New Watcher dialog showing Git, Jira, and Slack as available watcher types.
Git syncs repository docs, Jira syncs work intent and status, and Slack syncs selected channel conversation context.
  1. In Source and schedule, paste the repository URL or local path, then set the optional watcher name, branch, and polling interval. Synth detects GitHub or GitLab before it asks you to choose a credential.
The Git watcher repository details fields with repository URL, watcher name, branch, and interval filled in.
Use a descriptive watcher name and the branch that contains the docs you want in memory.
  1. In Access, leave the credential empty for a public repository or select a saved provider-matching credential for a private source. Then review Files to sync. Keep includes focused and add excludes for archive, generated, or noisy folders.

Saved credentials are organization-wide rather than attached to a Project. You can select your own Personal credentials from any Project you can configure; Organization credentials are available to everyone and editable only by administrators. See Credentials for scope and visibility details.

The Git watcher file rules editor showing default include patterns and an archive exclude pattern.
Preview matched files when repository access is available, then start the watcher only when the scope looks right.
  1. Preview matched files and scan the folders before saving.
The Git watcher file preview showing matched documentation files grouped by repository folder.
Preview should show the files you expect, grouped by folder, plus any excluded or skipped paths that need attention.
  1. Leave Resume automatically after restarts selected unless this watcher should remain paused after deployment or server restarts. Select Start watching. Use Sync when you want an immediate first check and apply. Then review the completed state.

The saved card separates publication status from runtime health. After a successful first sync it should show Sync · Synced and Health · Healthy. Inspect the created pages and connections before relying on the watcher for current evidence.

  1. Open logs when a sync finishes with warnings.

Warnings can still create useful pages, but review the affected source before trusting retrieved evidence from it.

Refresh, Sync, And Auto-sync​

Watcher controls separate observing source changes from applying them to published knowledge:

ActionWhat it doesWhat it does not do
RefreshReads the provider and compares its current state with the last published watcher state. It records a bounded change plan for review.Does not ingest, call the extraction model, publish knowledge, advance the provider checkpoint, or approve removals.
SyncChecks the source again, then applies the currently observed changes through the normal checkpoint-last ingestion and publication path.Does not trust a stale Refresh result or bypass budget, access, recovery, or removal safeguards.
Full refreshPerforms a complete comparison where that differs meaningfully from ordinary Refresh: Google Drive change-feed scopes.Does not publish. It may use provider API quota and can take longer than Refresh.
Auto-syncControls whether scheduled checks automatically publish detected changes.Turning it off does not stop source checks or change restart behavior.

Read The Watcher Card​

The card keeps each decision in one predictable place:

  1. The header identifies the source and shows separate Sync and Health badges.
  2. The main message explains whether published knowledge is current or how many changes are waiting. Refresh and Sync are beside that message.
  3. Source and published knowledge shows the observed source state, the pending change count, and the state of the currently published knowledge.
  4. Auto-sync shows whether automatic publication is on, the check interval, and the next check when it is available. Use the switch to turn Auto-sync on or off. Select Edit automation to change the watcher schedule.
  5. The footer summarizes runtime health. Lifecycle and destructive actions such as Stop, Edit, and Remove are grouped under More. Google Drive also puts Full refresh there when a complete comparison is available.

Provider scopes differ, so Refresh is deliberately conservative:

WatcherRefresh behaviorFull refresh
Git repositoryCompares the complete configured branch and file scope.Hidden because normal Refresh is already complete.
Git collectionEnumerates the configured organization/group and compares every readable repository. Partial discovery is reported as incomplete and cannot be synced.Hidden because normal Refresh is already complete.
JiraEnumerates the configured JQL scope up to its safety limit. Reaching the limit makes the result incomplete and blocks Sync.Hidden because normal Refresh performs the supported complete comparison.
SlackCompares the configured bounded history/overlap window and threads. It does not infer removals from messages absent outside that window.Hidden because Slack has no separate complete-scope mode.
OneDriveUses delta checks with periodic complete inventory and conservative absence handling.Available; forces a complete read-only inventory.
ConfluenceCompares the complete configured space or page subtree. Access failures leave published knowledge unchanged.Hidden because normal Refresh is already the complete supported comparison.
Google DriveUses the saved change feed when safe and falls back to a complete snapshot when required. Missing items still pass the existing removal-confirmation safeguards.Available for change-feed scopes; hidden where every normal Refresh already takes a snapshot.

The card shows Sync status and Health as separate badges. Synced means the latest successful check found published knowledge current. Changes pending means detected source changes have not been published. Health describes whether the watcher can operate, so a watcher can show Sync · Changes pending and Health · Healthy at the same time. The source panel explains what changed; it does not mean those changes are already searchable. Select Sync when you are ready to publish them. Sync always checks the source again immediately before applying, so a Refresh result is an explanation and safety boundary rather than an editable or permanent queue.

Auto-sync and Start after server restart are independent:

  • Auto-sync controls automatic publication. Turning it off keeps scheduled read-only source checks running, so the card can report Changes pending while changes wait for manual Sync.
  • Start after server restart keeps the existing auto_start configuration and decides whether Synth restores the watcher runtime after a restart.
  • Watchers default to Auto-sync on when no auto_sync value is saved. An explicit auto_sync: false remains effective across server restarts and configuration edits.
  • Turning Auto-sync off does not cancel work that has already been accepted. Wait for the active operation to finish before changing the setting in the UI.

Showing these controls does not contact a provider, run a model, or start watcher work. A running watcher checks at its configured interval. Model-backed publication begins only when you select Sync or when Auto-sync is on and a check detects changes. Git · OKF Sync keeps its separate deterministic mirror controls and is not part of the compare-then-apply workflow.

Watcher Card States​

Saved watcher cards summarize two independent states. Read the two badges together, then use the main message and Source and published knowledge panel for the reason and next action.

What the card showsMeaningWhat to do
Sync · Synced and Health · HealthyThe latest successful check found published knowledge current, and the watcher can operate normally.No action is required.
Sync · Changes pending and Health · HealthyThe watcher found source changes that are not published yet. This is expected when Auto-sync is off.Review the change summary, then select Sync when the changes should become searchable.
Sync · Checking or Sync · Syncing and Health · ProgressingA Refresh, Sync, or scheduled check is in progress.Let the operation finish and open logs for detailed progress.
Health · Blocked or Health · DegradedA credential, source, safety, budget, or publication problem needs attention. Published knowledge remains at its last safe state.Follow the main card message and inspect the expanded logs before retrying.
Health · StoppedThe watcher is saved but its runtime is not polling.Open More and start it after credentials and scope are ready.
Sync · Unknown or Health · UnknownSynth does not yet have enough reliable state to classify the watcher.Select Refresh and inspect logs if the state does not resolve.

The Auto-sync panel shows whether detected changes publish automatically, the check interval, and the next check when one is scheduled. Auto-start backlog protection and stale-check warnings appear in the card message and logs when they need action; they are not additional Sync or Health badge values.

When auto-start skips a large pending backlog, the card also shows the pending count plus a sanitized backlog focus or sample path. That tells you where the work is concentrated without exposing host filesystem paths.

A durable queue handoff is an in-progress state, not a completed sync. This applies to Git and Google Drive: queued, running, and retrying mean the source is still pending and its source checkpoint has not advanced. A watcher only records the source as tracked after the worker succeeds and the worker's snapshot and index generation are the active Project read revision. Failed or cancelled jobs remain pending and are recovered after restart.

For Google Drive, logs name the affected file and then report the terminal page and connection counts as soon as the ingestion worker finishes. The committed checkpoint is the authoritative signal that the published knowledge and source membership are safe. See Reading Drive Upload Logs for message examples and recovery guidance.

For Git, do not use the absence of a new knowledge/log.md entry as proof that a queued sync completed. A successful batch publishes its pages, read snapshot, index generation, operation-log entry, and Git checkpoint as one recoverable unit. If extraction fails, the previous read snapshot and operation log remain active while the Git files stay pending for retry. Verify a launch-critical change by checking the terminal watcher result and then searching for a unique phrase through MCP or Explore at the active snapshot.

Check Knowledge Linking Separately​

A successful source sync makes the ingested pages available. Related-page links can appear later as background work completes. Linking runs automatically for new or changed published pages and does not wait for a full content audit or the optional periodic Lint schedule.

Expand Knowledge linking on the Watchers page to see progress for the current Project:

StatusWhat to do
Pending or runningLet queued checks finish; source sync and linking complete independently.
Waiting for budgetWork is saved. Wait for capacity or review the Project allowance.
LinkedReview the links and their source support; check remote sync status if using a Git backend.
Reviewed, no supported linksReview finished without a supported connection among the candidates considered. A link is not forced just to remove isolation.
Model checks disabledExplicit references can still be linked; enable semantic checks if you want additional relationships reviewed.
Needs attentionInspect the reported job failure or next action, correct the cause, then select Retry linking.

Retry linking may use model credits. It reuses completed checks and does not repeat source ingestion or the full content audit. These controls require Project editor access. When comparing the result in a Git repository, use the current branch; a commit-pinned URL shows the content at that earlier revision.

See Link & Lint for outcomes, selective checks of older pages, model recommendations and budgets.

Best First Setup​

Use the Watchers screen in the web app:

  1. Choose Git.
  2. Paste the repository URL.
  3. Pick the branch, usually main.
  4. Add focused file rules.
  5. Preview matched files.
  6. Save the watcher.
  7. It starts automatically by default. Use Sync for an immediate check and apply, then inspect logs and created pages before trusting Auto-sync for answers.

Private repositories need a stored Git credential. Create a Personal credential in Settings -> Credentials, or ask an administrator to create a Global credential in Global Settings -> Credentials, then select it on the watcher.

GitHub And GitLab Repositories​

The Git Repository watcher supports both GitHub and GitLab.com. There is no separate GitLab watcher: Synth detects the provider from the repository or collection URL and keeps one clone, file-rule, freshness, and reconcile engine. Choose One repository for a single GitHub or GitLab project.

Supported repository examples:

https://github.com/acme/docs
git@github.com:acme/docs.git
https://gitlab.com/acme/platform/team/docs.git
git@gitlab.com:acme/platform/team/docs.git

GitLab nested namespaces are part of repository identity. Two projects named docs in different subgroups remain distinct. Do not paste a GitLab browser tree URL such as /-/tree/feature/docs; branch names can contain slashes, so use the repository URL and enter the branch and file rules separately.

For a public repository, leave Credential empty. For a private repository:

  1. Create a Personal GitHub Personal Access Token, GitLab Personal Access Token, or SSH Private Key credential in Settings -> Credentials; administrators may instead create an Organization credential in Global Settings -> Credentials.
  2. Paste the repository URL. The credential picker filters itself to the detected provider.
  3. Select the saved credential and preview the file rules.
  4. Save the watcher and confirm the first completed sync.

A GitLab token needs read_repository for private HTTPS clone. A GitLab group watcher also calls the REST API and needs read_api. Use the narrowest token and group membership that can read the intended scope.

GitLab Groups And GitHub Organizations​

Choose Organization or group to watch a provider collection:

  • GitHub accepts an organization URL such as https://github.com/acme.
  • GitLab accepts a group URL such as https://gitlab.com/acme/platform.
  • The provider is detected from the collection URL before the credential list is filtered.
  • GitLab includes nested subgroups by default. Keep Include projects from nested subgroups selected when subgroup projects are in scope.
  • Shared projects and archived projects are excluded from new bootstrap by default. Enable either policy only after reviewing the wider scope. An already tracked project that becomes archived remains tracked.
The Git watcher Organization or group flow with a detected GitLab.com group and safe subgroup, shared-project, and archived-project policies.
GitLab group setup includes nested subgroups by default while shared and archived projects remain excluded until deliberately enabled.

Collection freshness is separate from file freshness. Each repository keeps a commit checkpoint. The collection also keeps a durable repository catalog:

  • Synth follows provider pagination to a terminal page before trusting a catalog observation.
  • Authentication, rate-limit, timeout, malformed-response, and partial-page failures keep the last trusted catalog and existing knowledge.
  • A missing repository must be absent from two complete snapshots separated by the configured confirmation window before removal. An explicitly requested complete comparison can confirm sooner but cannot bypass mass-removal approval.
  • Large removal plans stop at a safety gate and show Review removals.
  • Source support is reconciled before the catalog checkpoint advances.
  • New repositories finish bootstrap ingestion before the catalog checkpoint advances.

Use Full refresh for a read-only complete catalog comparison, then select Sync to apply it. Use Review removals only after confirming the provider group really changed; the approval applies once and does not disable future safety gates.

Full self-managed GitLab provider support is disabled. There is deliberately no environment, API, CaSC, or Helm allowlist switch for GitLab provider features until SSRF/DNS rebinding, custom CA, redirect, API-version, hostile-server, SSH known-host, and operational acceptance gates all pass.

An operator can opt a single repository on another Git host into the generic Git adapter by setting SYNTH_ALLOW_ARBITRARY_GIT_URLS=1 on the Synth runtime and restarting the affected service or pod. A private self-hosted GitLab or GitHub repository can use its HTTPS clone URL with the matching saved GitLab Personal Access Token or GitHub Personal Access Token credential. SSH clone URLs with a saved SSH Private Key credential are also supported. For Helm deployments, set this in top-level extraEnv; the chart applies it to both the web and ingestion-worker containers.

Explicit host trust

This setting is an explicit trust decision because Git clone runs from the Synth server and can reach hosts on the server's network, including private services that are not reachable from a user's browser. Keep arbitrary Git disabled unless watcher managers are trusted to choose repository hosts and the deployment's network policy limits unintended destinations. The selected PAT is sent only to the exact HTTPS origin in the repository URL, and Synth disables authenticated redirects.

This is generic private-repository support, not full provider integration:

  • only One repository is supported; GitLab group watching is unavailable;
  • GitLab and GitHub PATs authenticate HTTPS clone operations only;
  • provider API features, automatic provider discovery, and group reconciliation are unavailable; and
  • the operator is responsible for trusting the repository host and its network path before enabling arbitrary Git URLs.

For a self-hosted HTTPS repository, use the canonical clone URL ending in .git and select the PAT type matching the server product. The watcher error This Git host is not enabled means the host was routed to the generic adapter while this opt-in was disabled.

GitLab.com support does not require an enablement setting. For a non-destructive rollback, stop the affected watcher; its saved state and already-published knowledge remain intact.

The watcher details keep two independent signals visible:

  • Repository freshness reports fresh, checking, retrying, blocked, empty, and unknown repository results.
  • Catalog freshness reports the trusted generation, age, authentication provenance, pending additions, missing candidates, and a blocked removal digest when operator review is required.
  • Managed clone storage reports watcher usage, the watcher-wide bound, and the per-repository bound. Local repo_path checkouts are operator-managed and are not counted.

A running process is not proof of freshness. Treat incomplete, retrying, reconcile_required, and blocked as operator-action states.

After the first run, verify both signals on the watcher card:

  1. Repository freshness should show a recent successful check for each expected repository.
  2. Catalog freshness should show a complete trusted generation for an organization or group watcher.
  3. If Review removals appears, verify the provider-side change and the displayed plan digest before approving it. Approval is one-use.
  4. Use Full refresh, then Sync, after credential or group-policy changes, or when the card reports reconcile_required. Neither action bypasses removal safeguards.

Git Watcher Operations​

Synth enforces managed-clone storage after every clone and pull. The defaults are 2 GiB per repository and 10 GiB per watcher. If either limit is crossed, Synth removes the rejected checkout, reports an unhealthy retryable error, and does not advance the trusted catalog or file checkpoint. Set max_repository_clone_bytes and max_watcher_clone_bytes in the watcher's advanced config; both accept 1 MiB–1 TiB, and the repository limit cannot be larger than the watcher limit.

Catalog diagnostics are bounded too. By default Synth keeps 50 completed generations and 20 failed or blocked generations, with their action rows. Set catalog_completed_generations_to_keep and catalog_terminal_generations_to_keep from 1–500. The active crash-recovery generation is never compacted.

For Kubernetes, enable monitoring.enabled, monitoring.serviceMonitor.enabled, and monitoring.prometheusRule.enabled. The chart supplies alerts for:

  • stale or repeatedly incomplete collection catalogs;
  • repositories that remain retrying or blocked;
  • removal plans waiting at the safety gate;
  • warning and critical managed-clone capacity.

Route the generated rule labels through your Alertmanager policy and set monitoring.prometheusRule.runbookUrl to this operator-approved procedure. When an alert fires:

  1. Open the watcher card and compare repository freshness with catalog freshness.
  2. Inspect credential-redacted logs and verify provider access.
  3. For capacity alerts, narrow the collection or increase persistent-volume headroom before increasing a watcher bound.
  4. For removal alerts, verify the provider-side change and approve only the exact displayed snapshot digest.
  5. Run Full refresh after repair, review the comparison, then select Sync. Never delete watcher state or the PVC as a first response.

Slack Watchers​

Slack watchers sync useful channel conversations into Synth as source snapshots. They are best for context such as:

  • decisions and rationale discussed in a channel;
  • incident timelines and follow-up notes;
  • support or customer context that should be searchable;
  • operational status and handoff details.

Slack is conversation context, not implementation truth. When Slack evidence is mixed with Git or docs, treat Slack as what the team discussed and Git/docs as the stronger source for what is currently implemented.

Slack Setup​

  1. Create a Personal Slack Bot Token credential in Settings -> Credentials, or ask an administrator to create a Global one in Global Settings -> Credentials.
  2. Add the bot to the Slack channel you want to sync.
  3. Open Watchers, choose Slack, and select the saved credential.
  4. Paste the channel ID, not the display name.
  5. Set lookback, polling interval, thread, bot-message, privacy, and removed-message options.
  6. Use Preview Slack to confirm access and sample messages.
  7. Save the watcher, run the first sync, then review logs and created source pages.
The Slack watcher setup panel with saved credential, channel ID, lookback, interval, thread, retention, and privacy controls.
Use a saved bot-token credential, paste the channel ID, then bound history and thread depth before starting sync.

Never paste a Slack token into watcher config, CaSc, API payloads, or docs. Watchers reference saved credential IDs only.

Required Slack Access​

Exact scopes depend on workspace policy and channel type. Start with the least access needed for the channel you plan to sync.

Channel typeTypical scopesNotes
Public channelschannels:read, channels:historyBot must be able to read the channel history.
Private channelsgroups:read, groups:historyBot must be invited to the private channel.
ThreadsSame history scope as the parent channelThread replies are read through Slack's replies API.
PermalinksHistory access for the messagePermalinks improve source traceability; Synth falls back to stable internal URIs when unavailable.

If preview reports missing scope, update the Slack app scopes, reinstall or reauthorize the app as required by your workspace, then retry preview.

Finding A Channel ID​

Slack watchers use channel IDs such as C01234ABCDE, not #engineering. Common ways to find the ID:

  • open channel details in Slack and copy the channel ID;
  • copy a message link and read the /archives/<channel-id>/... segment;
  • ask a workspace admin to provide the approved channel ID.

For private channels, invite the bot before previewing. A valid channel ID still fails if the bot is not a member.

Preview Behavior​

Preview checks the saved credential, channel access, a bounded history sample, optional thread replies, and permalinks. It is read-only:

  • it does not create watcher state;
  • it does not write raw Slack snapshots;
  • it does not advance checkpoints;
  • it does not persist sampled message text.

Preview is recommended before create, but it is not required. Some workspaces rate-limit preview calls, so a syntactically valid watcher can still be saved and then report access errors through watcher logs.

The Slack watcher setup panel showing a read-only preview of sampled channel conversations.
Preview is read-only: it checks access and samples conversations without creating watcher state or raw snapshots.

Sync And Rate Limits​

Slack watchers poll on the configured interval. The default is conservative: 300 seconds. Initial sync is bounded by lookback days and maximum conversations. Thread size is bounded separately.

Slack rate limits can be strict. If Slack returns a rate limit, Synth records the method and retry window, preserves pending work, and does not advance checkpoints as if sync succeeded. Increase the polling interval or reduce initial/thread limits if rate limits persist.

After the first Slack sync, confirm the card shows Sync · Synced and Health · Healthy, then inspect the created conversation snapshots before trusting retrieved evidence.

Privacy Settings​

Slack watcher privacy controls affect rendered snapshots and preview samples:

SettingEffect
Display nameShows Slack display names when available.
User IDShows Slack user IDs instead of names.
HiddenUses participant labels instead of user names.
Redact emailsReplaces email-like text before snapshots and fingerprints are written.

Use hidden participants or user IDs for channels with sensitive membership or customer details.

Removed Messages And Retention​

The default removed-message policy is keep. If a message is deleted, falls out of scope, or becomes inaccessible, Synth preserves existing historical support unless there is a high-confidence removal event and an explicit policy to retire or tombstone it.

Access loss, missing scope, bot removal from a channel, archived channels, rate limits, and bounded-history gaps do not prove that a conversation was deleted. Synth marks those conditions conservatively and keeps support rather than deleting knowledge.

File Rules​

Keep watcher scope narrow. A good watcher syncs the docs that explain the project, not every file in a repository.

files:
rules:
- name: docs
include:
- "README*"
- "docs/**/*.{md,mdx,txt,yml,yaml,tf,tfvars}"
- "docs/**/*.tf.json"
exclude:
- "docs/**/archive/**"

A file syncs when it matches an include pattern and does not match an exclude pattern. Preview shows which rule included or excluded each file.

What Happens On Changes​

Git watchers treat the watched branch as the source of truth:

Source changeSynth behavior
File addedIngests the new file and updates canonical Project retrieval.
File changedRe-ingests that file and refreshes affected pages.
File deletedRemoves that file's live support from project memory.
No changeDoes not run extraction or rewrite pages.

When a deleted file was a generated page’s last source, the page disappears from current knowledge. When sources remain, readers can open the verified sources while Synth re-ingests the shared page. The replacement publishes at the same path after it passes validation. A page with its own source keeps its content when only a generated link was affected.

Auto-sync continues processing other files throughout. The watcher shows progress while a shared page updates and records published outcomes in Recent page activity. No one needs to open the watcher or start a retry for routine removal. See Removed Sources and Shared Pages for retention policies and recovery.

Each successful watcher ingest is also written to the project's knowledge/log.md operation log with created, updated, and deleted page counts. Delete reconciliation is written as a RECONCILE entry, so source removals are visible even when there are no new files to ingest.

Watcher synchronization health​

Watcher cards and operational watcher APIs expose synchronization and reconciliation health for operators. This operational state is not included in public search, page-read, status, MCP, CLI, or SDK knowledge responses.

Automation​

Most users should create watchers in the UI first, then automate the setup once the file rules are proven.

Use the REST API reference for watcher curl examples. Use CaSc when a watcher should exist on first install.

CaSc Example​

Use CaSc when a watcher should exist on first install:

watchers:
docs:
type: git
repo: https://github.com/your-org/product-docs
branch: main
interval: 3600
files:
rules:
- name: docs
include:
- "README*"
- "docs/**/*.{md,mdx,txt,yml,yaml,tf,tfvars}"
- "docs/**/*.tf.json"
auto_start: false
credential: github-read-token

For a staged rollout, keep auto_start: false until credentials and file rules are verified. Otherwise omit it and use the Git default (true).

GitLab group watchers have a short common-case form:

watchers:
platform:
type: git
group: https://gitlab.com/acme/platform
credential: gitlab-read-token

Synth infers GitLab from the URL. Omitted Git group settings use the production defaults: auto-start enabled, five-minute collection polling, subgroups included, shared and archived projects excluded, common knowledge-file formats, 2 GiB per managed repository, 10 GiB per watcher, and bounded catalog history.

Source Types​

TypeStatusBest for
GitReadyRepository docs, runbooks, ADRs, source-context files, and YAML config.
JiraReadyWork intent, operational status, blockers, issue comments, and status history.
SlackReadyTeam decisions, incidents, support context, operational discussion.
Other adaptersDeployment-specificConfirm support and credential setup before production use.

Troubleshooting​

ProblemWhat to check
No files matchedPreview the file rules and branch.
Private repo failsCheck the stored Git credential and repository permissions.
Managed clone storage limit exceededCompare the card's usage and limits, confirm persistent-volume headroom, then narrow scope or raise the explicit bound. The trusted checkpoint remains unchanged.
Git catalog is stale or incompleteVerify provider access and rate limits, then run Full refresh; Synth keeps the last trusted catalog. Select Sync only after the comparison is complete.
Repository removals need reviewConfirm the group change and approve only the exact displayed snapshot digest.
Too many files syncAdd narrower include rules and explicit excludes.
Explore shows old evidenceSelect Refresh and review the source comparison. If changes are found, select Sync, then inspect watcher logs, freshness, and search results.
Watcher starts on install unexpectedlySet auto_start: false in CaSc.
Slack preview says missing scopeAdd the required Slack scope, reinstall the app if needed, then retry preview.
Slack preview says bot is not in channelInvite the bot to the channel, especially for private channels.
Slack channel archivedSynth preserves existing support; use a live channel for future sync.
Slack rate limitedWait for the retry window, increase poll interval, or lower initial/thread limits.
Slack preview finds no messagesCheck channel ID, lookback days, bot membership, and workspace retention.