cortex-article-structure
Apply Nook executable article-structure audits to Cortex documents.
- License 许可
- MIT
- 所属仓库
- meta-secret/nook
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- cortex-article-structure
- description
- Apply Nook executable article-structure audits to Cortex documents.
02 资源文件 24
- 脚本scripts/.gitignore13 B
- 脚本scripts/.oxlintrc.json3.0 KB
- 脚本scripts/.prettierrc162 B
- 脚本scripts/executable-skill.json385 B
- 脚本scripts/package.json846 B
- 脚本scripts/src/action.ts4.8 KB
- 脚本scripts/src/admission.ts4.9 KB
- 脚本scripts/src/application.ts2.0 KB
- 脚本scripts/src/audit.ts5.9 KB
- 脚本scripts/src/codec.ts11.4 KB
- 脚本scripts/src/decode-error.ts3.0 KB
- 脚本scripts/src/domain.ts1.1 KB
- 脚本scripts/src/schema.ts3.5 KB
- 脚本scripts/src/semantic-kind.ts1.8 KB
- 脚本scripts/src/semantic.ts5.4 KB
- 脚本scripts/src/verification.ts5.9 KB
- 脚本scripts/src/vocabulary.ts1.1 KB
- 脚本scripts/tests/application.test.ts4.7 KB
- 脚本scripts/tests/audit-structure.test.ts7.2 KB
- 脚本scripts/tests/codec.test.ts15.4 KB
- 脚本scripts/tests/definition.test.ts2.4 KB
- 脚本scripts/tests/support.ts1.3 KB
- 脚本scripts/tests/verification.test.ts8.1 KB
- 脚本scripts/tsconfig.json684 B
03 SKILL.md 正文
Nook Cortex Article Audit
Meta-Cortex article structure owns generic article rules. This card owns Nook's executable audit semantics and its Loom integration.
Mechanical enforcement
Loom parses the Markdown syntax tree and adapts repository documents into the
semantic request. The co-located application under scripts/ validates that
request, audits it,
independently verifies the findings, and enforces request and result bounds.
This card is the sole semantic authority for the Nook executable audit and its
Loom integration.
It rejects mechanically provable failures:
- empty substantive H2 or H3 articles, including mapless articles;
- excessive consecutive prose blocks without structural relief;
- explicitly procedure-labeled articles that contain no ordered list; and
- any GFM
tablenode.
The audit uses Markdown syntax semantics only.
- Empty code blocks, block quotes, lists, and list items do not make an article substantive.
- Any GFM
tablenode is prohibited and produces a typed audit finding. - Definitions and footnote definitions are transparent to emptiness and prose density.
- A thematic break provides structural relief between prose blocks but does not make an article substantive.
- Image-only paragraphs provide structural relief rather than prose density.
- A GFM task control makes an article visible but does not by itself state a procedure action.
- H4-H6 headings reset prose density inside their owning H3. Their content remains part of that H3 audit.
- Procedure actions may be nested through normal Markdown containers.
- Ordered examples inside block quotes, block code, or footnotes do not satisfy a procedure article.
- An H1 title alone does not create a substantive article.
The canonical document audit rejects every Markdown AST HTML node before article-structure findings are accepted.
Mechanical checks cannot decide whether a list reflects the correct semantics. The author still owns hierarchy, meaning, and consistency review.
The application remains an in-process Loom dependency with no command, network, write, scheduling, or lifecycle authority. The static executable-skill host also exposes its validated audit action through strict YAML.
04 同仓库更多 Skills
fixture-skill
Prove executable skill scripts are outside Cortex prose linting.
executable-skill-host
Discover and invoke the AI team's closed executable skill catalog through strict, bounded YAML.
delegation-visualization
Render Gizmo's ephemeral native Team Agent plan without acquiring lifecycle authority.
cortex-document-map
Audit Nook Cortex navigation, ownership graphs, and canonical index structure.
cortex-consistency
Compile Nook typed Cortex policy contracts and workflow bindings.