Skip to content

Commit b36115a

Browse files
Claude/add language manifest r d bhd (#20)
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6a02d5e commit b36115a

28 files changed

Lines changed: 2211 additions & 28 deletions

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@
2828
[submodule "7-tentacles"]
2929
path = 7-tentacles
3030
url = git@github.com:hyperpolymath/7-tentacles.git
31+
[submodule "anvomidav"]
32+
path = anvomidav
33+
url = https://github.com/hyperpolymath/anvomidav.git
34+
[submodule "language-playgrounds"]
35+
path = language-playgrounds
36+
url = https://github.com/hyperpolymath/language-playgrounds.git

AGENTIC.scm

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
;; SPDX-License-Identifier: AGPL-3.0-or-later
2+
;; SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell
3+
4+
;;; AGENTIC.scm — Agent-Oriented Language Specifications
5+
;;; nextgen-languages
6+
;;; Reference: https://github.com/hyperpolymath/nextgen-languages
7+
8+
(define-module (nextgen-languages agentic)
9+
#:export (agent-languages
10+
agent-capabilities
11+
safety-constraints
12+
interaction-patterns))
13+
14+
;;;============================================================================
15+
;;; AGENT LANGUAGES
16+
;;; Languages designed for AI agent development
17+
;;;============================================================================
18+
19+
(define agent-languages
20+
'((primary-agent-languages
21+
((Ensemble
22+
((focus . "AI as first-class language component")
23+
(agent-features
24+
((ai-model-definition . "ai_model { provider, capabilities, constraints }")
25+
(prompt-construction . "prompt { template, variables, validation }")
26+
(effect-tracking . "AI<T> effect type for AI operations")
27+
(multi-agent . "Spawn and coordinate multiple AI agents")))
28+
(safety
29+
((output-validation . "Type-checked AI outputs")
30+
(rate-limiting . "Built-in rate limiting primitives")
31+
(fallback-chains . "Graceful degradation patterns")))))
32+
33+
(Phronesis
34+
((focus . "Ethical framework specification for agents")
35+
(agent-features
36+
((value-declaration . "Explicit value hierarchies")
37+
(constraint-specification . "Deontic logic constraints")
38+
(decision-audit . "EVALUATE() for traceable decisions")
39+
(constitutional-ai . "Formal constitutional specifications")))
40+
(safety
41+
((transparency . "All decisions traceable to values")
42+
(override-prevention . "Formal proofs against value override")
43+
(audit-trail . "Complete decision logging")))))))
44+
45+
(agent-support-languages
46+
((Duet
47+
((role . "AI-assisted development")
48+
(features
49+
((@synth . "AI synthesis with verification")
50+
(@verify . "Formal verification of AI output")
51+
(intent . "Natural language intent specification")))
52+
(agent-interaction . "Human-AI pair programming")))
53+
54+
(WokeLang
55+
((role . "Human-agent interaction")
56+
(features
57+
((consent . "Explicit consent for agent actions")
58+
(reassurance . "Supportive agent communication")
59+
(accessibility . "Inclusive agent interfaces")))
60+
(agent-interaction . "User-friendly agent UX")))))))
61+
62+
;;;============================================================================
63+
;;; AGENT CAPABILITIES
64+
;;; Standardized agent capability definitions
65+
;;;============================================================================
66+
67+
(define agent-capabilities
68+
'((capability-taxonomy
69+
((perception
70+
((text-understanding . "Process and understand text input")
71+
(code-analysis . "Analyze and understand code")
72+
(multimodal . "Process images, audio, other modalities")))
73+
74+
(reasoning
75+
((logical-inference . "Formal logical reasoning")
76+
(planning . "Multi-step plan generation")
77+
(verification . "Verify correctness of solutions")))
78+
79+
(action
80+
((code-generation . "Generate correct code")
81+
(code-modification . "Safely modify existing code")
82+
(tool-use . "Invoke external tools and APIs")))
83+
84+
(communication
85+
((explanation . "Explain reasoning clearly")
86+
(teaching . "Adapt to user's level")
87+
(collaboration . "Work alongside humans")))))
88+
89+
(capability-levels
90+
((L0-reactive . "Stimulus-response only")
91+
(L1-deliberative . "Single-step reasoning")
92+
(L2-planning . "Multi-step planning")
93+
(L3-learning . "Learn from interaction")
94+
(L4-autonomous . "Self-directed goal pursuit")))))
95+
96+
;;;============================================================================
97+
;;; SAFETY CONSTRAINTS
98+
;;; Safety requirements for agent-oriented languages
99+
;;;============================================================================
100+
101+
(define safety-constraints
102+
'((hard-constraints
103+
((no-harm . "Agent must not cause harm to users or systems")
104+
(transparency . "Agent actions must be explainable")
105+
(consent . "Agent must respect user consent")
106+
(reversibility . "Prefer reversible actions")
107+
(human-override . "Human can always interrupt/override")))
108+
109+
(language-enforced
110+
((Ensemble
111+
((constraint . "AI effects are tracked in type system")
112+
(enforcement . "Compile-time verification of AI boundaries")))
113+
(Phronesis
114+
((constraint . "All decisions trace to declared values")
115+
(enforcement . "Formal proof of value alignment")))
116+
(Oblíbený
117+
((constraint . "Guaranteed termination")
118+
(enforcement . "Turing-incomplete by design")))))
119+
120+
(patterns
121+
((sandbox-execution
122+
((description . "Run agent code in isolated sandbox")
123+
(implementation . "WASM isolation, capability-based security")))
124+
125+
(capability-tokens
126+
((description . "Explicit capability grants for agent actions")
127+
(implementation . "Linear types for one-time permissions")))
128+
129+
(audit-logging
130+
((description . "Complete log of agent decisions")
131+
(implementation . "Append-only log with cryptographic integrity")))))))
132+
133+
;;;============================================================================
134+
;;; INTERACTION PATTERNS
135+
;;; Standard patterns for agent interaction
136+
;;;============================================================================
137+
138+
(define interaction-patterns
139+
'((human-agent
140+
((pair-programming
141+
((description . "Human and AI collaborate on code")
142+
(language . Duet)
143+
(pattern . "Human provides intent, AI synthesizes, human verifies")))
144+
145+
(guided-exploration
146+
((description . "Agent guides user through learning")
147+
(language . WokeLang)
148+
(pattern . "Agent suggests, asks consent, explains outcomes")))
149+
150+
(ethical-consultation
151+
((description . "Human queries agent's ethical reasoning")
152+
(language . Phronesis)
153+
(pattern . "Human poses scenario, agent explains value application")))))
154+
155+
(agent-agent
156+
((orchestration
157+
((description . "One agent coordinates others")
158+
(language . Ensemble)
159+
(pattern . "Orchestrator dispatches tasks, aggregates results")))
160+
161+
(verification-chain
162+
((description . "Agents verify each other's work")
163+
(language . Duet)
164+
(pattern . "Generator → Verifier → Arbiter")))
165+
166+
(consensus
167+
((description . "Multiple agents reach agreement")
168+
(language . Phronesis)
169+
(pattern . "Propose → Evaluate → Vote → Commit")))))
170+
171+
(agent-system
172+
((tool-invocation
173+
((description . "Agent uses external tools")
174+
(pattern . "Request → Permission check → Execute → Validate result")))
175+
176+
(resource-management
177+
((description . "Agent manages system resources")
178+
(language . Eclexia)
179+
(pattern . "Budget → Allocate → Use → Release → Account")))))))
180+
181+
;;; End of AGENTIC.scm

ECOSYSTEM.scm

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
;; SPDX-License-Identifier: AGPL-3.0-or-later
2+
;; SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell
3+
4+
;;; ECOSYSTEM.scm — Project Ecosystem Relationships
5+
;;; nextgen-languages
6+
;;; Reference: https://github.com/hyperpolymath/nextgen-languages
7+
8+
(define-module (nextgen-languages ecosystem)
9+
#:export (repository-map
10+
satellites
11+
playgrounds
12+
dependencies
13+
integrations))
14+
15+
;;;============================================================================
16+
;;; REPOSITORY MAP
17+
;;; Complete map of all repositories in the ecosystem
18+
;;;============================================================================
19+
20+
(define repository-map
21+
'((hub
22+
((name . "nextgen-languages")
23+
(url . "https://github.com/hyperpolymath/nextgen-languages")
24+
(role . "Central coordination, documentation, specifications")
25+
(contains . (wiki scripts languages .scm-files))))
26+
27+
(language-satellites
28+
((my-lang
29+
((url . "https://github.com/hyperpolymath/my-lang")
30+
(description . "Progressive language family: me → solo → duet → ensemble")
31+
(dialects . (me solo duet ensemble))
32+
(implementation . Rust)
33+
(playground . "https://github.com/hyperpolymath/language-playgrounds")))
34+
(phronesis
35+
((url . "https://github.com/hyperpolymath/phronesis")
36+
(description . "AI ethics and safety specification language")
37+
(implementation . Elixir)))
38+
(eclexia
39+
((url . "https://github.com/hyperpolymath/eclexia")
40+
(description . "Sustainable computing with resource-first constraints")
41+
(implementation . Rust)))
42+
(oblibeny
43+
((url . "https://github.com/hyperpolymath/oblibeny")
44+
(description . "Provably secure, Turing-incomplete for hostile environments")
45+
(implementation . Rust)))
46+
(anvomidav
47+
((url . "https://github.com/hyperpolymath/anvomidav")
48+
(description . "Formally verified hard real-time systems")
49+
(implementation . Rust/LLVM)))
50+
(wokelang
51+
((url . "https://github.com/hyperpolymath/wokelang")
52+
(description . "Human-centric programming with consent and well-being")
53+
(implementation . Rust)))
54+
(betlang
55+
((url . "https://github.com/hyperpolymath/betlang")
56+
(description . "Probabilistic programming language")
57+
(implementation . Racket)))
58+
(julia-the-viper
59+
((url . "https://github.com/hyperpolymath/julia-the-viper")
60+
(description . "Systems programming with Harvard Architecture")
61+
(implementation . Rust)))
62+
(affinescript
63+
((url . "https://github.com/hyperpolymath/affinescript")
64+
(description . "Affine types and dependent types for WASM")
65+
(implementation . OCaml)))
66+
(ephapax
67+
((url . "https://github.com/hyperpolymath/ephapax")
68+
(description . "Once-only evaluation with linear semantics")
69+
(implementation . "TBD")))))
70+
71+
(tooling-satellites
72+
((7-tentacles
73+
((url . "https://github.com/hyperpolymath/7-tentacles")
74+
(description . "Orchestration and satellite coordination tool")
75+
(role . "Multi-repo management")))
76+
(language-playgrounds
77+
((url . "https://github.com/hyperpolymath/language-playgrounds")
78+
(description . "Experimentation sandboxes for language learning")
79+
(role . "Interactive language exploration")))))))
80+
81+
;;;============================================================================
82+
;;; SATELLITES
83+
;;; Submodule configuration for all satellites
84+
;;;============================================================================
85+
86+
(define satellites
87+
'((configured
88+
((betlang . "git@github.com:hyperpolymath/betlang.git")
89+
(julia-the-viper . "git@github.com:hyperpolymath/julia-the-viper.git")
90+
(affinescript . "https://github.com/hyperpolymath/affinescript.git")
91+
(eclexia . "https://github.com/hyperpolymath/eclexia.git")
92+
(ephapax . "https://github.com/hyperpolymath/ephapax.git")
93+
(my-lang . "https://github.com/hyperpolymath/my-lang.git")
94+
(oblibeny . "https://github.com/hyperpolymath/oblibeny.git")
95+
(phronesis . "https://github.com/hyperpolymath/phronesis.git")
96+
(wokelang . "https://github.com/hyperpolymath/wokelang.git")
97+
(7-tentacles . "git@github.com:hyperpolymath/7-tentacles.git")
98+
(anvomidav . "https://github.com/hyperpolymath/anvomidav.git")
99+
(language-playgrounds . "https://github.com/hyperpolymath/language-playgrounds.git")))
100+
101+
(to-add . ())))
102+
103+
;;;============================================================================
104+
;;; PLAYGROUNDS
105+
;;; Language playground relationships
106+
;;;============================================================================
107+
108+
(define playgrounds
109+
'((hub . "https://github.com/hyperpolymath/language-playgrounds")
110+
111+
(language-mapping
112+
((my-lang . "language-playgrounds/my-lang/")
113+
(solo . "language-playgrounds/solo/")
114+
(duet . "language-playgrounds/duet/")
115+
(ensemble . "language-playgrounds/ensemble/")
116+
(phronesis . "language-playgrounds/phronesis/")
117+
(eclexia . "language-playgrounds/eclexia/")
118+
(wokelang . "language-playgrounds/wokelang/")))
119+
120+
(features
121+
((repl . "Browser-based REPL for each language")
122+
(examples . "Curated example programs")
123+
(tutorials . "Interactive tutorials")
124+
(share . "Share code snippets")))))
125+
126+
;;;============================================================================
127+
;;; DEPENDENCIES
128+
;;; Cross-project dependencies
129+
;;;============================================================================
130+
131+
(define dependencies
132+
'((shared-infrastructure
133+
((echidna
134+
((url . "https://github.com/hyperpolymath/echidna")
135+
(role . "Neurosymbolic theorem proving platform")
136+
(used-by . (anvomidav oblibeny duet))))
137+
(instant-sync
138+
((role . "Automatic forge propagation")
139+
(used-by . all)))))
140+
141+
(language-dependencies
142+
((my-lang
143+
((depends-on . ())
144+
(depended-by . ())))
145+
(duet
146+
((depends-on . (solo))
147+
(note . "Duet extends Solo with AI features")))
148+
(ensemble
149+
((depends-on . (duet))
150+
(note . "Ensemble extends Duet with native AI")))))))
151+
152+
;;;============================================================================
153+
;;; INTEGRATIONS
154+
;;; External system integrations
155+
;;;============================================================================
156+
157+
(define integrations
158+
'((forges
159+
((primary . GitHub)
160+
(mirrors . (GitLab Codeberg Bitbucket))
161+
(sync-tool . "instant-sync")))
162+
163+
(ci-cd
164+
((GitHub-Actions . "Primary CI/CD")
165+
(workflows . (test build release mirror))))
166+
167+
(documentation
168+
((wiki . "GitHub Wiki format")
169+
(api-docs . "Language-specific (rustdoc, etc.)")
170+
(specs . ".scm files in repo root")))))
171+
172+
;;; End of ECOSYSTEM.scm

0 commit comments

Comments
 (0)