Skip to content

feat(standard-constitution): §3.1.1 TypeScript over JavaScript — v1.41 - #23

Merged
UnbreakableMJ merged 1 commit into
mainfrom
standard/v1.41-typescript-over-javascript
Aug 4, 2026
Merged

feat(standard-constitution): §3.1.1 TypeScript over JavaScript — v1.41#23
UnbreakableMJ merged 1 commit into
mainfrom
standard/v1.41-typescript-over-javascript

Conversation

@UnbreakableMJ

Copy link
Copy Markdown
Contributor

Summary

Syncs the skill encoding to The Steelbore Standard v1.41 (2026-08-04), landed in the Standard repo as §3.1.1.

Companion to Spacecraft-Software/Standard#20.

§3.1 named Rust as the preferred language and prescribed ASLR+CFI where Rust is not viable, but said nothing about the one runtime where that framing does not apply: JavaScript is already memory-safe, so the memory-safety lever is inert. §3.1.1 supplies the missing rule — type safety is the Priority 1 lever on this runtime. Where the JavaScript runtime is genuinely required, the source language MUST be TypeScript; plain JavaScript source becomes a documented exemption.

Requirements encoded

  • "strict": true plus noUncheckedIndexedAccess, noImplicitOverride, exactOptionalPropertyTypes
  • No any / non-null ! in production paths; @ts-expect-error with a reason instead of @ts-ignore
  • Run-time validation at every trust boundary
  • tsc --noEmit gates CI — transpile-only pipelines (esbuild, SWC, Bun) do not satisfy the section
  • Load spacecraft-typescript-guidelines before writing or reviewing TypeScript

Emitted .js is a derived artifact and out of scope.

Changes

  • SKILL.md — §3.1.1 body between §3.1 and §3.2; masthead → v1.41 / 2026-08-04; §16 checklist bullet; spacecraft-typescript-guidelines row in Skill Cross-References.
  • SKILL.md frontmatter description → v1.41. It sat at 973/1000 characters with 27 to spare, so the §4.3 LICENSE symlink highlight was rotated out to make room for §3.1.1 TypeScript over JS. Now 978 rendered characters (§5.6 cap: 1000), measured post-folding the way the loader sees it. The §4.3 rule itself is unchanged in the body — only the teaser list moved.
  • references/CHANGELOG.md — v1.41 entry mirroring the Standard's.
  • Both bundles rebuilt in the same commit (.zip with directory entries, .skill with -D) and byte-verified against the working tree, per the repo's bundling contract — a stale bundle ships broken content to every agent that installs from it.

Verification

  • Frontmatter description: 978 rendered chars (folded scalar joined with single spaces + trailing newline) — under the §5.6 cap
  • reuse lint — compliant, 606/606 files
  • unzip -p … | diff - on both bundle members — SKILL.md and references/CHANGELOG.md match the working tree

🤖 Generated with Claude Code

Syncs the skill encoding to The Steelbore Standard v1.41 (2026-08-04),
landed in the Standard repo as §3.1.1.

§3.1 named Rust as the preferred language and prescribed ASLR+CFI where
Rust is not viable, but said nothing about the one runtime where that
framing does not apply: JavaScript is already memory-safe, so the
memory-safety lever is inert. §3.1.1 supplies the missing rule — type
safety is the Priority 1 lever on this runtime. Where the JavaScript
runtime is genuinely required, the source language MUST be TypeScript;
plain JavaScript source becomes a documented exemption.

Requirements: strict mode plus noUncheckedIndexedAccess /
noImplicitOverride / exactOptionalPropertyTypes; no `any` or non-null `!`
in production paths; `@ts-expect-error` with a reason instead of
`@ts-ignore`; run-time validation at every trust boundary; `tsc --noEmit`
gating CI (transpile-only pipelines do not satisfy the section); and
loading spacecraft-typescript-guidelines. Emitted .js is a derived
artifact and out of scope.

Masthead and frontmatter bumped to v1.41; §16 gains a checklist bullet;
Skill Cross-References gains a spacecraft-typescript-guidelines row;
references/CHANGELOG.md gains the v1.41 entry. Both bundles rebuilt.

Frontmatter description measures 978 rendered characters (§5.6 cap is
1000) — the §4.3 LICENSE-symlink highlight rotated out to make room.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@UnbreakableMJ
UnbreakableMJ merged commit 3e65d13 into main Aug 4, 2026
1 check passed
@UnbreakableMJ
UnbreakableMJ deleted the standard/v1.41-typescript-over-javascript branch August 4, 2026 23:47
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