Connect — Discovery Only
Find candidate connections for a single artifact and write them to a discovery report at kb/workflow-state/data/current/connect/<collection>/<artifact-name>.connect.md. The report is the only direct write this skill performs. Do not edit the source artifact, other artifacts, indexes, collection files, or logs.
Connect reports are gitignored; they are immediate downstream context and can be regenerated from the source artifact plus current KB state.
The skill owns execution. The type owns the report contract.
Use this skill for routing, setup, tool use, delegated skill calls, and file writes.
Use the loaded type spec for section meanings, quality standards, and the template.
If the skill and type both mention the same report-content rule, prefer the type.
Input
Target: $ARGUMENTS — one artifact path or artifact name. If none provided, ask which artifact to connect. Determine the source collection from the artifact's path (kb/theory/ -> theory, kb/reference/ -> reference, etc.).
Setup
- Determine the source collection from the target artifact's path (
kb/theory/...->theory,kb/reports/retained/foo.md->reports, etc.). Hard fail immediately ifkb/<source-collection>/COLLECTION.mddoes not exist — do not attempt discovery, do not fall back to defaults, do not soldier on. Report the missing file path to the user and stop. The COLLECTION.md is the only linking-rules surface; without it the skill has no authorised destinations or labels and any output would be invented. - Read the global