Skip to content

feat: port runnable TypeScript core examples and smoke coverage#7

Merged
rlippmann merged 4 commits intomainfrom
codex/examples-core-0.5
Apr 17, 2026
Merged

feat: port runnable TypeScript core examples and smoke coverage#7
rlippmann merged 4 commits intomainfrom
codex/examples-core-0.5

Conversation

@rlippmann
Copy link
Copy Markdown
Owner

@rlippmann rlippmann commented Apr 17, 2026

Summary

  • port Python 0.5 core examples to TypeScript under examples/
  • make examples directly runnable from built scripts via node on dist/examples/*.js
  • add lightweight smoke tests that build once and execute each built example script

Scope

  • examples and examples README
  • example smoke test coverage
  • minimal build-output wiring needed so examples are emitted to dist/examples

Out of scope

  • no engine/runtime behavior changes
  • no fixture corpus changes
  • no REPL or preprocessor work

Verification

  • npm run build
  • node dist/examples/01_persistent_guardrails.js
  • node dist/examples/02_configuration_and_correction.js
  • node dist/examples/03_ambiguity_with_clarification.js
  • node dist/examples/04_tool_governance_denylist.js
  • node dist/examples/05_llm_integration_pattern.js
  • node dist/examples/06_transcript_replay.js
  • node dist/examples/07_single_policy_correction.js
  • npm run test

@rlippmann rlippmann changed the title test: add smoke tests for runnable TypeScript examples feat: port runnable TypeScript core examples and smoke coverage Apr 17, 2026
@rlippmann rlippmann merged commit 61afc16 into main Apr 17, 2026
1 check passed
@rlippmann rlippmann deleted the codex/examples-core-0.5 branch April 17, 2026 07:03
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