Skip to content

feat(kern4): class pilot — Semaphore + EventBus service→class#209

Merged
cukas merged 1 commit into
mainfrom
feat/kern4-class-pilot
Jun 12, 2026
Merged

feat(kern4): class pilot — Semaphore + EventBus service→class#209
cukas merged 1 commit into
mainfrom
feat/kern4-class-pilot

Conversation

@cukas

@cukas cukas commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

First two KERN 4.0 class-node conversions (the checked node: kern check's Liskov/arity/return rules only fire on class declarations). Generated TS is byte-identical to the service output apart from source-trace line numbers — async methods, raw TS bodies, private fields, optional params and docs all carry over.

Review-pass fixes (agon review, 3 engines):

  • codebase-map extractSymbols now recognises class name=X so converted types stay in the KERN symbol index (codex finding) + test
  • event-bus: corrected a stale pre-event comment — listener errors are caught and warned, they never short-circuited (agy finding)

Findings recorded for kern-lang: service singleton=true was a NO-OP in emitted TS; class silently ignores unknown attrs (KERN-GAP comment in event-bus.kern).

Gate: kern check 128 clean, build green, 2925/2925 tests.

⚔️ Forged by Agon

First two KERN 4.0 class-node conversions (the checked node: kern
check's Liskov/arity/return rules only fire on class declarations).
Generated TS is byte-identical to the service output apart from
source-trace line numbers — async methods, raw TS bodies, private
fields, optional params and docs all carry over.

Review-pass fixes (agon review, 3 engines):
- codebase-map extractSymbols now recognises `class name=X` so
  converted types stay in the KERN symbol index (codex finding) + test
- event-bus: corrected a stale pre-event comment — listener errors are
  caught and warned, they never short-circuited (agy finding)

Findings recorded for kern-lang: service singleton=true was a NO-OP in
emitted TS; class silently ignores unknown attrs (KERN-GAP comment in
event-bus.kern).

Gate: kern check 128 clean, build green, 2925/2925 tests.

⚔️ Forged by [Agon](https://github.com/KERNlang/agon)

Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
@cukas cukas merged commit e24d2d5 into main Jun 12, 2026
2 checks passed
@cukas cukas deleted the feat/kern4-class-pilot branch June 12, 2026 06:56
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.

2 participants