Skip to content

object-validation-engine.ts @see points at SECURITY_FIX_SUMMARY.md, deleted in ea72f1886 #6275

Description

@yinlianghui-tw

Found while removing packages/vscode-extension/SUMMARY.md for #5965. Out of that card's file surface (SUMMARY.md only), so filed separately rather than fixed there.

Measured

packages/core/src/validation/validators/object-validation-engine.ts:221, in the doc block for SimpleExpressionEvaluator:

 * @see https://github.com/objectstack-ai/objectui/blob/main/SECURITY_FIX_SUMMARY.md

That file does not exist. It was removed in ea72f1886 ("Delete obsolete files and documentation related to PR #300 and v0.4.0 release; remove security fix summary and CRM app fix scripts"), with no successor at any path:

$ find . -name 'SECURITY_FIX_SUMMARY.md' -not -path './node_modules/*' | wc -l
0

So the link 404s. The @see is the only pointer the doc block offers for the security rationale behind this evaluator's fail-open polarity (TRUE ⇒ violated, un-parseable expressions yielding a falsy value) — the reader is sent to nothing.

Why no gate caught it

check-doc-links.mjs scans markdown surfaces (SCAN_ROOTS), not @see URLs inside .ts source, so an absolute github.com/.../blob/main/... link in a TypeScript doc comment is outside every link gate's population. Note this is a self-repo URL — the same selfRepoPath() shape check-doc-links.mjs already knows how to decide for markdown, so the resolvable-in-principle case exists.

Suggested disposition (triage decides)

Either restore the rationale inline in the doc block (it is security-relevant reasoning and currently lives nowhere), or drop the dead @see. Widening a link gate to cover self-repo URLs in source doc comments is a larger, separate call.

Note packages/coreis published, so this dead link ships in the released package's type declarations.

Generated by Claude Code

Metadata

Metadata

Assignees

Labels

domain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpm:dispatched

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions