Skip to content

Commit df0d028

Browse files
Jonathan D.A. Jewellclaude
andcommitted
chore: populate SCM files with project metadata
Updated all 6 SCM files in .machine_readable/ with comprehensive content: - STATE.scm: Project status, components, milestones, blockers - META.scm: Architecture decisions, development practices, design rationale - ECOSYSTEM.scm: Position in ecosystem, related projects - AGENTIC.scm: AI agent patterns, language-specific syntax - NEUROSYM.scm: Neurosymbolic integration configuration - PLAYBOOK.scm: Operational runbook, build/test/deploy procedures 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bd7eb96 commit df0d028

6 files changed

Lines changed: 258 additions & 50 deletions

File tree

.machine_readable/AGENTIC.scm

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,43 @@
22
;; AGENTIC.scm - AI agent interaction patterns for wokelang
33

44
(define agentic-config
5-
`((version . "1.0.0")
5+
\`((version . "1.0.0")
66
(claude-code
77
((model . "claude-opus-4-5-20251101")
88
(tools . ("read" "edit" "bash" "grep" "glob"))
99
(permissions . "read-all")))
1010
(patterns
11-
((code-review . "thorough")
12-
(refactoring . "conservative")
13-
(testing . "comprehensive")))
11+
((code-review
12+
(style . "thorough")
13+
(focus . ("consent-safety" "human-readability" "unit-correctness")))
14+
(refactoring
15+
(style . "conservative")
16+
(preserve . ("consent-gates" "gratitude-blocks" "emote-annotations")))
17+
(testing
18+
(style . "comprehensive")
19+
(coverage . ("parser" "interpreter" "consent-system")))))
20+
(language-specific
21+
((syntax-patterns
22+
(function-def . "to NAME(PARAMS) { ... }")
23+
(variable . "remember NAME = VALUE")
24+
(conditional . "when COND { ... } otherwise { ... }")
25+
(loop . "repeat N times { ... }")
26+
(consent . "only if okay MESSAGE { ... }")
27+
(gratitude . "thanks to { CONTRIBUTOR -> CONTRIBUTION }")
28+
(units . "VALUE measured in UNIT")
29+
(emote . "@feeling(param=value) STATEMENT"))
30+
(error-handling
31+
(try-block . "attempt safely { ... } or reassure MESSAGE")
32+
(error-throw . "complain MESSAGE"))
33+
(concurrency
34+
(worker . "worker NAME { ... }")
35+
(spawn . "spawn worker NAME")
36+
(message . "send VALUE to TARGET"))))
1437
(constraints
15-
((languages . ())
16-
(banned . ("typescript" "go" "python" "makefile"))))))
38+
((languages . ("rust" "ocaml" "wasm"))
39+
(banned . ("typescript" "go" "python" "makefile"))
40+
(preferred-tools
41+
(build . "just")
42+
(format-rust . "cargo fmt")
43+
(format-ocaml . "ocamlformat")
44+
(lint-rust . "cargo clippy"))))))

.machine_readable/ECOSYSTEM.scm

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,58 @@
55
(ecosystem
66
(version "1.0")
77
(name "wokelang")
8-
(type "")
9-
(purpose "")
8+
(type "programming-language")
9+
(purpose "Human-centered, consent-driven programming with built-in ethics")
1010

1111
(position-in-ecosystem
12-
(category "")
13-
(subcategory "")
14-
(unique-value ()))
12+
(category "programming-languages")
13+
(subcategory "domain-specific-languages")
14+
(unique-value
15+
"Consent gates for sensitive operations"
16+
"Built-in gratitude/attribution system"
17+
"Units of measure as first-class citizens"
18+
"Emotional annotations for code context"
19+
"Human-readable English-like syntax"))
1520

16-
(related-projects ())
21+
(related-projects
22+
(project "affinescript"
23+
(relationship "sibling-standard")
24+
(description "OCaml-based language compiler framework"))
25+
(project "palimpsest-licence"
26+
(relationship "philosophical-foundation")
27+
(description "Ethical licensing framework that WokeLang adopts"))
28+
(project "python"
29+
(relationship "inspiration")
30+
(description "Readability and accessibility influence"))
31+
(project "rust"
32+
(relationship "inspiration")
33+
(description "Safety-first design and performance target"))
34+
(project "elm"
35+
(relationship "inspiration")
36+
(description "User-friendly error messages"))
37+
(project "gleam"
38+
(relationship "inspiration")
39+
(description "Friendly syntax and approachability"))
40+
(project "roc"
41+
(relationship "inspiration")
42+
(description "Fast, friendly, functional design"))
43+
(project "januskey"
44+
(relationship "potential-consumer")
45+
(description "Could use WokeLang for consent-aware scripting"))
46+
(project "bunsenite"
47+
(relationship "potential-consumer")
48+
(description "Configuration language integration")))
1749

18-
(what-this-is ())
50+
(what-this-is
51+
"A programming language prioritizing human collaboration and safety"
52+
"An ethical programming framework with consent-based control flow"
53+
"A tool for writing self-documenting, attribution-aware code"
54+
"A language with built-in dimensional analysis"
55+
"A practical experiment in human-centered language design")
1956

20-
(what-this-is-not ()))
57+
(what-this-is-not
58+
"A general-purpose systems programming language"
59+
"A replacement for Rust, OCaml, or production languages"
60+
"A toy language or joke project"
61+
"An AI-only or machine-generated language"
62+
"A language focused on maximum performance"))

.machine_readable/META.scm

Lines changed: 68 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,76 @@
33
;; Media-Type: application/meta+scheme
44

55
(meta
6-
(architecture-decisions ())
6+
(architecture-decisions
7+
(adr-001
8+
(title "Dual Implementation Strategy")
9+
(status "accepted")
10+
(date "2024-10")
11+
(context "Need both rapid prototyping and production performance")
12+
(decision "Use OCaml for language theory, Rust for production runtime")
13+
(consequences
14+
"Faster iteration on language design"
15+
"Production-grade performance"
16+
"Requires maintaining two codebases"))
17+
(adr-002
18+
(title "Consent-First Design")
19+
(status "accepted")
20+
(date "2024-10")
21+
(context "Sensitive operations should require explicit permission")
22+
(decision "Implement 'only if okay' gates for sensitive operations")
23+
(consequences
24+
"Safer by default"
25+
"Self-documenting dangerous code paths"
26+
"Slight increase in verbosity"))
27+
(adr-003
28+
(title "Human-Readable Syntax")
29+
(status "accepted")
30+
(date "2024-10")
31+
(context "Code should be readable by non-programmers")
32+
(decision "Use English-like keywords: to, give back, remember, when")
33+
(consequences
34+
"Lower barrier to entry"
35+
"More inclusive programming"
36+
"Slightly longer code"))
37+
(adr-004
38+
(title "Units of Measure as First-Class")
39+
(status "accepted")
40+
(date "2024-11")
41+
(context "Unit-related bugs are common and dangerous")
42+
(decision "Add 'measured in' syntax for compile-time unit checking")
43+
(consequences
44+
"Prevents NASA-style unit bugs"
45+
"Self-documenting calculations"
46+
"Requires dimensional analysis system")))
747

848
(development-practices
9-
(code-style ())
49+
(code-style
50+
(rust "cargo fmt and clippy")
51+
(ocaml "ocamlformat")
52+
(documentation "AsciiDoc preferred"))
1053
(security
11-
(principle "Defense in depth"))
12-
(testing ())
54+
(principle "Defense in depth")
55+
(consent-model "Explicit opt-in for sensitive operations")
56+
(capability-system "Fine-grained permission control"))
57+
(testing
58+
(unit "Per-component tests in tests/")
59+
(integration "End-to-end language tests")
60+
(fuzzing "Property-based testing for parser"))
1361
(versioning "SemVer")
14-
(documentation "AsciiDoc")
15-
(branching "main for stable"))
62+
(documentation "AsciiDoc for docs, docstrings for code")
63+
(branching "main for stable, feature branches for development"))
1664

17-
(design-rationale ()))
65+
(design-rationale
66+
(why-consent-gates
67+
"Sensitive operations like file I/O, network access, and data deletion "
68+
"should require explicit permission. This prevents accidental damage "
69+
"and makes dangerous code paths visible.")
70+
(why-gratitude-blocks
71+
"Attribution is often lost in codebases. The 'thanks to' syntax makes "
72+
"it easy to acknowledge contributors inline where their work is used.")
73+
(why-emote-annotations
74+
"Code carries emotional context. A fix made under pressure differs from "
75+
"one made thoughtfully. @emote tags capture this for future readers.")
76+
(why-units-of-measure
77+
"The Mars Climate Orbiter was lost due to a unit conversion error. "
78+
"Compile-time dimensional analysis prevents these catastrophic bugs.")))

.machine_readable/NEUROSYM.scm

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,30 @@
22
;; NEUROSYM.scm - Neurosymbolic integration config for wokelang
33

44
(define neurosym-config
5-
`((version . "1.0.0")
5+
\`((version . "1.0.0")
66
(symbolic-layer
77
((type . "scheme")
88
(reasoning . "deductive")
9-
(verification . "formal")))
9+
(verification . "formal")
10+
(grammar . "EBNF in docs/grammar.ebnf")
11+
(type-system . "hindley-milner-inspired")))
1012
(neural-layer
1113
((embeddings . false)
12-
(fine-tuning . false)))
13-
(integration . ())))
14+
(fine-tuning . false)
15+
(llm-integration
16+
(code-generation . "claude-opus-4-5")
17+
(code-review . "claude-opus-4-5")
18+
(documentation . "claude-opus-4-5"))))
19+
(integration
20+
((consent-validation
21+
(approach . "symbolic-first")
22+
(description . "Consent gates are checked symbolically at compile time"))
23+
(unit-checking
24+
(approach . "symbolic")
25+
(description . "Dimensional analysis via type system"))
26+
(error-messages
27+
(approach . "neural-enhanced")
28+
(description . "LLM can suggest fixes for common errors"))
29+
(documentation-gen
30+
(approach . "neural")
31+
(description . "Generate docs from code using LLM"))))))

.machine_readable/PLAYBOOK.scm

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,48 @@
22
;; PLAYBOOK.scm - Operational runbook for wokelang
33

44
(define playbook
5-
`((version . "1.0.0")
5+
\`((version . "1.0.0")
66
(procedures
7-
((deploy . (("build" . "just build")
8-
("test" . "just test")
9-
("release" . "just release")))
10-
(rollback . ())
11-
(debug . ())))
12-
(alerts . ())
13-
(contacts . ())))
7+
((build
8+
((rust . "cargo build --release")
9+
(ocaml . "dune build")
10+
(wasm . "wasm-pack build --target web")))
11+
(test
12+
((rust . "cargo test")
13+
(ocaml . "dune test")
14+
(all . "just test")))
15+
(format
16+
((rust . "cargo fmt")
17+
(ocaml . "dune fmt")))
18+
(lint
19+
((rust . "cargo clippy -- -D warnings")
20+
(ocaml . "dune build @check")))
21+
(release
22+
((steps
23+
("Bump version in Cargo.toml"
24+
"Update CHANGELOG"
25+
"Tag release: git tag vX.Y.Z"
26+
"Build release: cargo build --release"
27+
"Create GitHub release"))))
28+
(deploy
29+
((wasm . "Deploy to CDN or npm")
30+
(binary . "Publish to crates.io")))
31+
(rollback
32+
((steps
33+
("Identify failing version"
34+
"Revert to previous tag"
35+
"Redeploy previous version"))))
36+
(debug
37+
((repl . "cargo run -- repl")
38+
(verbose . "RUST_LOG=debug cargo run")
39+
(trace . "RUST_BACKTRACE=1 cargo run")))))
40+
(alerts
41+
((ci-failure
42+
(channel . "github-actions")
43+
(action . "Review PR checks"))
44+
(security-advisory
45+
(channel . "dependabot")
46+
(action . "Review and update dependencies"))))
47+
(contacts
48+
((maintainer . "hyperpolymath")
49+
(repo . "github.com/hyperpolymath/wokelang")))))

.machine_readable/STATE.scm

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,59 @@
44

55
(state
66
(metadata
7-
(version "0.0.1")
7+
(version "0.1.0")
88
(schema-version "1.0")
99
(created "2026-01-03")
10-
(updated "2026-01-03")
10+
(updated "2026-01-04")
1111
(project "wokelang")
1212
(repo "github.com/hyperpolymath/wokelang"))
1313

1414
(project-context
1515
(name "wokelang")
16-
(tagline "")
17-
(tech-stack ()))
16+
(tagline "A human-centered, consent-driven programming language")
17+
(tech-stack
18+
("Rust" "Primary implementation")
19+
("OCaml" "Core language theory")
20+
("WASM" "Browser/portable target")))
1821

1922
(current-position
20-
(phase "initial")
21-
(overall-completion 0)
22-
(components ())
23-
(working-features ()))
23+
(phase "foundation-complete")
24+
(overall-completion 25)
25+
(components
26+
(lexer (status "complete") (completion 100))
27+
(parser (status "complete") (completion 100))
28+
(ast (status "complete") (completion 100))
29+
(interpreter (status "complete") (completion 100))
30+
(repl (status "complete") (completion 100))
31+
(vm (status "in-progress") (completion 40))
32+
(typechecker (status "planned") (completion 10))
33+
(stdlib (status "in-progress") (completion 30))
34+
(security (status "in-progress") (completion 50)))
35+
(working-features
36+
"to/give back functions"
37+
"remember variables"
38+
"when/otherwise conditionals"
39+
"repeat...times loops"
40+
"only if okay consent gates"
41+
"thanks to gratitude blocks"
42+
"measured in units"
43+
"@emote annotations"))
2444

2545
(route-to-mvp
26-
(milestones ()))
46+
(milestones
47+
(phase-2 "Language Completeness" (target "Q1 2026"))
48+
(phase-3 "Concurrency & Safety" (target "Q2 2026"))
49+
(phase-4 "Standard Library" (target "Q3 2026"))
50+
(phase-5 "Compiler & Performance" (target "Q4 2026"))))
2751

2852
(blockers-and-issues
29-
(critical)
30-
(high)
31-
(medium)
32-
(low))
53+
(high "Type system design not finalized")
54+
(medium "Worker implementation incomplete"))
3355

3456
(critical-next-actions
35-
(immediate)
36-
(this-week)
37-
(this-month))
57+
(immediate "Complete bytecode VM" "Add unit tests")
58+
(this-week "Implement type inference")
59+
(this-month "Complete Phase 2"))
3860

39-
(session-history ()))
61+
(session-history
62+
(session "2026-01-04" "Updated SCM files")))

0 commit comments

Comments
 (0)