sdg:implementation
sdg:implementation is a declarative repo-path pointer naming where the implementing code module lives or will live, in @<path> form — for example "@apps/sparqdown-docs/src/hooks/demoLog.ts". The value is a literal by design: it points into a source tree, not at a graph resource, and accommodates pointer conventions that are not IRIs (the same reasoning as sd:querySource).
In Phase 1 the hook's logic is compiled into the registry binary and wired at service init via code-at-init transport — the predicate is documentation for humans, not a loader directive. The pointer tells a developer or reviewer where to find the implementation; the registry does not resolve or execute it. Pointers are only as good as their maintenance: if an implementation file moves, the sdg:implementation value should be updated alongside it.
Usage
- Domain:
sdg:HookDefinition. Range: string literal (a@apps/…source pointer). - One per hook declaration.