Skip to content

Commit 3a4c0a7

Browse files
hyperpolymathclaude
andcommitted
docs(evangeliser): update all documentation for v0.5.0 release
Human documentation: - README.adoc: reflect actual stack (ReScript 12.2/Deno, not TS/npm), 52 patterns, CLI usage, correct license (PMPL-1.0-or-later) - ROADMAP.adoc: replace placeholder with actual milestones (v0.1-v0.5 complete, v0.6+ future) - RSR_COMPLIANCE.md: complete rewrite — remove all TypeScript/npm/Jest references, document ReScript/Deno stack accurately Machine-readable: - STATE.scm: 90% completion, 11 working features, updated milestones - ECOSYSTEM.scm: fix corrupted badge-URL content, add proper ecosystem relationships (PanLL, BoJ, cadre-router, proven) - META.scm: add 5 ADRs (ReScript over TS, regex over AST, narrative framework, Makaton glyphs, Deno runtime) Satellite README synced to match canonical. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6696720 commit 3a4c0a7

7 files changed

Lines changed: 458 additions & 304 deletions

File tree

‎rescript-ecosystem/packages/tooling/evangeliser/.machines_readable/6scm/ECOSYSTEM.scm‎

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,36 @@
44
(ecosystem
55
(version "1.0")
66
(name "rescript-evangeliser")
7-
(type "project")
8-
(purpose "image:https://img.shields.io/badge/license-Palimpsest--MPL--1.0-purple.svg[Palim")
7+
(type "educational-toolkit")
8+
(purpose "Teaches JavaScript developers ReScript through progressive code transformation using pattern detection, encouraging narratives, and Makaton-inspired glyphs")
99

1010
(position-in-ecosystem
11-
(role "component")
12-
(layer "application")
13-
(description "image:https://img.shields.io/badge/license-Palimpsest--MPL--1.0-purple.svg[Palim"))
11+
(role "tooling")
12+
(layer "developer-experience")
13+
(description "Pattern detection engine and CLI for JS-to-ReScript education, part of the rescript-ecosystem monorepo under developer-ecosystem"))
1414

15-
(related-projects . ())
15+
(related-projects
16+
((name . "panll")
17+
(relationship . "potential-consumer")
18+
(notes . "Panel-L constraints display is a natural fit for showing pattern detection results"))
19+
((name . "boj-server")
20+
(relationship . "potential-consumer")
21+
(notes . "Could become a BoJ cartridge for remote pattern detection"))
22+
((name . "cadre-router")
23+
(relationship . "sibling-standard")
24+
(notes . "ReScript Deno routing module; potential web UI foundation"))
25+
((name . "rescript-dom-mounter")
26+
(relationship . "sibling-standard")
27+
(notes . "SafeDOM for secure HTML rendering of GLYPHED output"))
28+
((name . "rescript-tea")
29+
(relationship . "sibling-standard")
30+
(notes . "TEA framework extracted from PanLL; potential UI layer"))
31+
((name . "proven")
32+
(relationship . "inspiration")
33+
(notes . "Formally verified safety modules; pattern detection could use proven alternatives")))
1634

1735
(what-this-is
18-
"image:https://img.shields.io/badge/license-Palimpsest--MPL--1.0-purple.svg[Palim")
36+
"A pattern detection engine, CLI tool, and narrative generator that scans JavaScript code, identifies 52 patterns across 21 categories amenable to ReScript transformation, and explains improvements using encouraging celebrate/minimize/better narratives with Makaton-inspired visual glyphs")
1937

20-
(what-this-is-not . ()))
38+
(what-this-is-not
39+
"Not a transpiler (does not convert JS to ReScript automatically). Not a linter (does not enforce coding standards). Not a build tool (does not compile or bundle code). Not a language server (yet)."))

‎rescript-ecosystem/packages/tooling/evangeliser/.machines_readable/6scm/META.scm‎

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,54 @@
22
;; META.scm - Project metadata and architectural decisions
33

44
(define project-meta
5-
`((version . "1.0.0")
6-
(architecture-decisions . ())
5+
`((version . "0.5.0")
6+
(architecture-decisions
7+
((ADR-001
8+
((title . "ReScript over TypeScript for implementation")
9+
(status . "accepted")
10+
(date . "2026-01-10")
11+
(context . "The evangeliser teaches ReScript to JS developers. Using ReScript for the tool itself demonstrates dogfooding and proves ReScript is production-ready.")
12+
(decision . "All application code written in ReScript 12.2. No TypeScript permitted.")
13+
(consequences . "Smaller contributor pool but stronger credibility. Forces us to solve real ReScript development challenges.")))
14+
(ADR-002
15+
((title . "Regex-based pattern detection over AST parsing")
16+
(status . "accepted")
17+
(date . "2026-02-15")
18+
(context . "Pattern detection needs to identify JS idioms. AST parsing (Babel, tree-sitter) provides precision but adds heavy dependencies. Regex matching is simpler and sufficient for educational pattern identification.")
19+
(decision . "Use regex-based scanning for pattern detection. AST parsing may be added later as a complement.")
20+
(consequences . "Simpler implementation, zero heavy dependencies. Some false positives possible but acceptable for educational use. Faster scanning.")))
21+
(ADR-003
22+
((title . "Celebrate/minimize/better narrative framework")
23+
(status . "accepted")
24+
(date . "2026-01-10")
25+
(context . "Developer education tools often shame users for 'bad' code. This discourages learning and creates hostility.")
26+
(decision . "All narratives follow the celebrate/minimize/better pattern: acknowledge what JS does well, gently note limitations, show how ReScript improves it.")
27+
(consequences . "Welcoming tone encourages adoption. More complex narrative generation but better educational outcomes.")))
28+
(ADR-004
29+
((title . "Makaton-inspired glyph system for visual learning")
30+
(status . "accepted")
31+
(date . "2026-01-10")
32+
(context . "Code concepts can be represented visually to aid comprehension across language barriers. Makaton sign language uses simple symbols for complex concepts.")
33+
(decision . "21 glyph categories with visual symbols representing code concepts (shield for null safety, branch for pattern matching, etc.)")
34+
(consequences . "More accessible to visual learners and non-native English speakers. Unique differentiator from other educational tools.")))
35+
(ADR-005
36+
((title . "Deno runtime, no npm")
37+
(status . "accepted")
38+
(date . "2026-01-10")
39+
(context . "Per hyperpolymath RSR policy, npm/Node.js are banned. Deno provides a secure runtime with built-in TypeScript support (unused) and excellent permissions model.")
40+
(decision . "Deno as sole runtime. No package.json for runtime deps. No node_modules.")
41+
(consequences . "Aligns with ecosystem standards. Deno's --allow-read permission model fits the scanner's file-reading needs.")))))
742
(development-practices
8-
((code-style . "standard")
43+
((code-style . "rescript-standard")
44+
(testing . "deno-test-runner")
45+
(documentation . "asciidoc")
946
(security . "openssf-scorecard")
1047
(versioning . "semver")
11-
(documentation . "asciidoc")
12-
(branching . "trunk-based")))
13-
(design-rationale . ())))
48+
(branching . "trunk-based")
49+
(ci . "12 github-actions workflows")
50+
(license . "PMPL-1.0-or-later")))
51+
(design-rationale
52+
((philosophy . "Celebrate good, minimize bad, show better")
53+
(target-audience . "JavaScript developers curious about ReScript")
54+
(approach . "Progressive disclosure through RAW -> FOLDED -> GLYPHED view layers")
55+
(tone . "Encouraging, never shaming")))))

‎rescript-ecosystem/packages/tooling/evangeliser/.machines_readable/6scm/STATE.scm‎

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,73 @@
33

44
(define project-state
55
`((metadata
6-
((version . "1.0.0")
6+
((version . "0.5.0")
77
(schema-version . "1")
88
(created . "2026-01-10T13:50:33+00:00")
9-
(updated . "2026-01-10T13:50:33+00:00")
9+
(updated . "2026-03-13T00:00:00+00:00")
1010
(project . "rescript-evangeliser")
1111
(repo . "rescript-evangeliser")))
1212

1313
(current-position
14-
((phase . "Active Development")
15-
(overall-completion . 50)
16-
(working-features . ())))
14+
((phase . "CLI Alpha")
15+
(overall-completion . 90)
16+
(working-features
17+
("52 transformation patterns across 21 categories"
18+
"Scanner: regex-based JS pattern detection engine"
19+
"Analyser: result aggregation and category reporting"
20+
"CLI: scan/patterns/legend/stats commands"
21+
"38 tests across 6 test suites (Types, Glyphs, Narrative, Patterns, Scanner, Analyser)"
22+
"3 output formats: plain text, markdown, html"
23+
"3 view layers: RAW, FOLDED, GLYPHED"
24+
"21 Makaton-inspired glyph categories"
25+
"Celebrate/minimize/better narrative framework"
26+
"12 CI workflows all passing"
27+
"ReScript 12.2 with Deno runtime"))))
1728

1829
(route-to-mvp
1930
((milestones
20-
((v1.0 . ((items . ("Initial setup" "Core functionality"))
21-
(status . "in-progress")))))))
31+
((v0.1.0 . ((items . ("Core type definitions"
32+
"Glyph system with 21 categories"
33+
"Narrative generation module"))
34+
(status . "complete")))
35+
(v0.2.0 . ((items . ("52 patterns across 21 categories"))
36+
(status . "complete")))
37+
(v0.3.0 . ((items . ("Scanner module with regex matching"
38+
"Analyser module for result aggregation"))
39+
(status . "complete")))
40+
(v0.4.0 . ((items . ("38 tests across 6 test suites"
41+
"Deno test runner"))
42+
(status . "complete")))
43+
(v0.5.0 . ((items . ("CLI with scan/patterns/legend/stats"
44+
"RAW/FOLDED/GLYPHED output views"
45+
"Plain/markdown/html output formats"))
46+
(status . "complete")))
47+
(v0.6.0 . ((items . ("VS Code extension"
48+
"LSP integration"
49+
"PanLL Panel-L integration"))
50+
(status . "planned")))
51+
(v0.7.0 . ((items . ("WYSIWYG block-based editor"
52+
"Interactive tutorials"))
53+
(status . "planned")))
54+
(v1.0.0 . ((items . ("Multi-language support"
55+
"Tutorial system with gamification"
56+
"Stable release"))
57+
(status . "planned")))))))
2258

2359
(blockers-and-issues
2460
((critical . ())
2561
(high . ())
26-
(medium . ())
27-
(low . ())))
62+
(medium . ("VS Code extension not started"
63+
"WYSIWYG editor not started"
64+
"AST-based detection not yet implemented (regex only)"))
65+
(low . ("Multi-language source detection not started"
66+
"Tutorial/gamification system not started"))))
2867

2968
(critical-next-actions
3069
((immediate . ())
3170
(this-week . ())
32-
(this-month . ())))
71+
(this-month . ("VS Code extension planning"
72+
"PanLL Panel-L integration design"
73+
"Evaluate AST-based detection as complement to regex"))))
3374

3475
(session-history . ())))

0 commit comments

Comments
 (0)