extract-concepts
Purpose
Extract domain concepts, definitions, and relation candidates from a source while preserving source wording and scope.
Input contract
required: [source, extraction_scope]
optional: [concept_schema, domain_ontology, relation_cues]
constraints: [each concept requires a source span and an uncertainty state]
Procedure
- Identify repeated technical terms, defined entities, and salient constructs.
- Capture source definitions, aliases, scope qualifiers, and examples.
- Link candidate relations only when the source expresses them.
- Emit a deduplicated concept set with unresolved meanings retained.
If candidate concepts are identified but still bundle multiple meanings or operations, consider atomize-concept as the next tactic.
Output contract
produces: [concept_records, definition_map, alias_map, relation_candidates, ambiguity_log]
delta_fields: [findings, evidence_updates, uncertainties, open_questions]
Quality gates
- Concepts are source-linked and distinct from inferred themes.
- Alias merging preserves conflicting definitions.
Failure and counterexamples
Do not infer a concept solely from keyword frequency or merge terms with different operational meanings.
Provenance map
resolved: extract-concepts
