Skip to content

feat(diagnostics): publish framework-neutral package subpath - #282

Draft
seonghobae wants to merge 16 commits into
feat/writing-diagnostics-collaborationfrom
feat/writing-diagnostics-package
Draft

feat(diagnostics): publish framework-neutral package subpath#282
seonghobae wants to merge 16 commits into
feat/writing-diagnostics-collaborationfrom
feat/writing-diagnostics-package

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Stack boundary

This Draft is stacked on the current #281 branch feat/writing-diagnostics-collaboration@48ed047556e2ce0dcf34aecb94f326dcaaa104f8. Current exact head is 04175f7d1943437eec0ad04b7fa9a28cdf24fcf5.

It packages the already-verified host-supplied writing-diagnostics contract through a framework-neutral public subpath. It does not expand Inkspan's semantic authority or introduce a model/provider/runtime integration.

Included package surface

  • explicit @contextualwisdomlab/cwl-editor/writing-diagnostics export map;
  • ESM bundle dist/cwl-writing-diagnostics.js and CommonJS bundle dist/cwl-writing-diagnostics.cjs;
  • declarations at dist/writing-diagnostics/index.d.ts plus sourcemaps;
  • strict bounded diagnostic validation, redacted error types, exact text-projection constants, structural projection mapping, and W3C text-position selector resolution;
  • dedicated Vite declaration/build configuration;
  • real packed-tarball ESM, CommonJS, SSR, strict TypeScript, and authority-bounded consumers; and
  • package scans that reject external runtime authority, dynamic loaders, ambient network/credential access, and UI or collaboration runtime dependencies.

The emitted subpath does not initialize React UI, browser DOM, Yjs/provider/awareness state, model providers, network clients, credential stores, persistence adapters, Naruon, contextual-orchestrator, or email/thread/recipient context. ProseMirror appears only as an erased structural input type.

Inkspan does not generate grammar, tone, clarity, pragmatics, technical-quality, or actionability judgments. No keyword, regex, phrase-list, language-name, sender-domain, recipient-count, nearest-text, or positional fallback exists.

Exact restack lineage

The prior proof on cb49b1a6d646b5ba15f6aa88e568adf323fe05fc is historical only. This lane was non-force restacked by two-parent merge commit onto current #281 head 48ed047556e2ce0dcf34aecb94f326dcaaa104f8, preserving only its eight owned package-surface paths. No protected branch or prior stack branch was rewritten.

Exact-head proof

For unchanged exact head 04175f7d1943437eec0ad04b7fa9a28cdf24fcf5:

  • Writing Diagnostics Package TDD run 31661689049, job 94327614499: success.
  • Checkout resolved to the exact contributor head with persist-credentials: false.
  • Package-boundary acceptance: 2 test files / 6 tests passed.
  • TypeScript typecheck: success.
  • Complete production suite: 170 test files / 980 tests passed.
  • Owned-production statements, branches, functions, and lines: 100% / 100% / 100% / 100%.
  • Every configured package entrypoint built successfully, including cwl-writing-diagnostics.js, cwl-writing-diagnostics.cjs, declarations, and sourcemaps.
  • Exact packed-package verification passed for root and supported subpaths.
  • @contextualwisdomlab/cwl-editor/writing-diagnostics passed authority-bounded ESM, CommonJS, SSR, and strict-TypeScript consumer verification from the packed package.
  • The demonstration application built successfully after transforming 188 modules.
  • Formal submitted reviews: 0.
  • Valid unresolved inline review threads: 0.
  • CodeRabbit combined status: success/status-only, not treated as independent approval.

Any later source-head or base movement invalidates this proof.

Integration boundary

Keep Draft/unmerged while #281 remains the predecessor and release issue #118 freezes protected main@e8109ec2a17de8bd6594487aa12c8c8a93cb2c03 as the exact 0.6.0 source candidate. This PR does not publish npm, create a tag or GitHub Release, change the package version, or bypass branch protection. #285 owns downstream hostile-input, browser, and release-provenance assurance.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: db2f7441-d66d-4821-9e0c-c58241483737

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant