B-APKG-publish-path-resolve-agent-plugin-dependency
Extracting the harness core to @sksizer/agent-plugin (D-HRNS-harness-model-and-exporters)
means the plugin’s harness model / harness export ops now import a bare specifier
@sksizer/agent-plugin. In the workspace this resolves via a hoisted symlink (dev + CI + tests all
green). The published npx @sksizer/sdlc path (D-0014-cli-primary-npm-distribution) does NOT
yet:
tsc-aliasrewrites only@lib/@cli(tsconfig paths);@sksizer/agent-pluginstays a bare import in the built.js, resolved fromnode_modulesat runtime.plugin build-artifact’sbuildPublishPackageJsoncopies rootdependenciesverbatim, so the publishedpackage.jsonwould carry"@sksizer/agent-plugin": "workspace:*"— invalid on npm.
To close before the next publish: (a) publish @sksizer/agent-plugin to npm (or vendor/bundle it
into the artifact like markdown-contract), and (b) translate workspace:* → the real version in
buildPublishPackageJson. Until then the extraction is workspace-only, which is fine for dev.