Skip to content

Commit a15efb5

Browse files
hyperpolymathclaude
andcommitted
chore(6a2): enrich A2ML checkpoint files + add opsm.toml
Solo/Duet/Ensemble hive A2ML files + playground A2ML enrichment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bbf8905 commit a15efb5

16 files changed

Lines changed: 408 additions & 374 deletions

File tree

opsm.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# my-lang package manifest — OPSM native.
5+
# This file makes my-lang a first-class OPSM/HFR package.
6+
7+
[package]
8+
name = "my-lang"
9+
description = "My-Lang compiler — Solo/Duet/Ensemble dialect hierarchy for learning"
10+
license = "PMPL-1.0-or-later"
11+
authors = ["Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"]
12+
keywords = ["my_lang", "hyperpolymath", "nextgen-languages", "compiler"]
13+
homepage = "https://github.com/hyperpolymath/nextgen-languages"
14+
repository = "https://github.com/hyperpolymath/nextgen-languages"
15+
forth = "my_lang"
16+
17+
[opsm]
18+
trust_level = "hyperpolymath"
19+
registry = "hf"
20+
21+
[dependencies]
22+
proven = { git = "https://github.com/hyperpolymath/proven", registry = "hf" }
23+
groove = { git = "https://github.com/hyperpolymath/groove", registry = "hf" }
Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,34 @@
1-
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; AGENTIC.scm - AI agent interaction patterns
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# AGENTIC.a2ml — AI agent constraints and capabilities
5+
[metadata]
6+
version = "0.1.0"
7+
last-updated = "2026-04-11"
38

4-
(define agentic-config
5-
`((version . "1.0.0")
6-
(claude-code
7-
((model . "claude-opus-4-5-20251101")
8-
(tools . ("read" "edit" "bash" "grep" "glob"))
9-
(permissions . "read-all")))
10-
(patterns
11-
((code-review . "thorough")
12-
(refactoring . "conservative")
13-
(testing . "comprehensive")))
14-
(constraints
15-
((languages . ("rescript" "rust" "gleam"))
16-
(banned . ("typescript" "go" "python" "makefile"))))))
9+
[agent-permissions]
10+
can-edit-source = true
11+
can-edit-tests = true
12+
can-edit-docs = true
13+
can-edit-config = true
14+
can-create-files = true
15+
16+
[agent-constraints]
17+
# What AI agents must NOT do:
18+
# - Never use banned language patterns (believe_me, unsafeCoerce, etc.)
19+
# - Never commit secrets or credentials
20+
# - Never use banned languages (TypeScript, Python, Go, etc.)
21+
# - Never place state files in repository root (must be in .machine_readable/)
22+
# - Never use AGPL license (use PMPL-1.0-or-later)
23+
24+
[maintenance-integrity]
25+
fail-closed = true
26+
require-evidence-per-step = true
27+
allow-silent-skip = false
28+
require-rerun-after-fix = true
29+
release-claim-requires-hard-pass = true
30+
31+
[automation-hooks]
32+
# on-enter: Read 0-AI-MANIFEST.a2ml, then STATE.a2ml
33+
# on-exit: Update STATE.a2ml with session outcomes
34+
# on-commit: Run just validate-rsr
Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; ECOSYSTEM.scm - Project ecosystem positioning
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# ECOSYSTEM.a2ml — Playground ecosystem position
5+
[metadata]
6+
version = "1.0.0"
7+
last-updated = "2026-04-11"
38

4-
(ecosystem
5-
((version . "1.0.0")
6-
(name . "mylang-playground")
7-
(type . "component")
8-
(purpose . "Part of hyperpolymath ecosystem")
9-
(position-in-ecosystem . "supporting")
10-
(related-projects
11-
((rhodium-standard . "sibling-standard")
12-
(git-hud . "infrastructure")))
13-
(what-this-is . ("A hyperpolymath project"))
14-
(what-this-is-not . ("A standalone solution"))))
9+
[project]
10+
name = "Playground"
11+
purpose = "Part of hyperpolymath ecosystem"
12+
role = "component"
13+
14+
[position-in-ecosystem]
15+
category = ""
16+
17+
[related-projects]
18+
projects = [
19+
# No related projects recorded
20+
]
Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; META.scm - Project metadata and architectural decisions
3-
4-
(define project-meta
5-
`((version . "1.0.0")
6-
(architecture-decisions . ())
7-
(development-practices
8-
((code-style . "rescript")
9-
(security . "openssf-scorecard")
10-
(testing . "property-based")
11-
(versioning . "semver")
12-
(documentation . "asciidoc")
13-
(branching . "trunk-based")))
14-
(design-rationale . ())))
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# META.a2ml — Playground meta-level information
5+
[metadata]
6+
version = "1.0.0"
7+
last-updated = "2026-04-11"
8+
9+
[project-info]
10+
license = "PMPL-1.0-or-later"
11+
author = "Jonathan D.A. Jewell (hyperpolymath)"
12+
13+
[architecture-decisions]
14+
decisions = [
15+
# No ADRs recorded
16+
]
17+
18+
[development-practices]
19+
versioning = "SemVer"
20+
documentation = "AsciiDoc"
21+
build-tool = "just"
22+
23+
[maintenance-axes]
24+
scoping-first = true
25+
axis-1 = "must > intend > like"
26+
axis-2 = "corrective > adaptive > perfective"
27+
axis-3 = "systems > compliance > effects"
Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; NEUROSYM.scm - Neurosymbolic integration config
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# NEUROSYM.a2ml — Neurosymbolic integration metadata
5+
[metadata]
6+
version = "0.1.0"
7+
last-updated = "2026-04-11"
38

4-
(define neurosym-config
5-
`((version . "1.0.0")
6-
(symbolic-layer
7-
((type . "scheme")
8-
(reasoning . "deductive")
9-
(verification . "formal")))
10-
(neural-layer
11-
((embeddings . false)
12-
(fine-tuning . false)))
13-
(integration . ())))
9+
[hypatia-config]
10+
scan-enabled = true
11+
scan-depth = "standard" # quick | standard | deep
12+
report-format = "logtalk"
13+
14+
[symbolic-rules]
15+
# Custom symbolic rules for this project
16+
# - { name = "no-unsafe-ffi", pattern = "believe_me|unsafeCoerce", severity = "critical" }
17+
18+
[neural-config]
19+
# Neural pattern detection settings
20+
# confidence-threshold = 0.85
21+
# model = "hypatia-v2"
Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
1-
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; PLAYBOOK.scm - Operational runbook
3-
4-
(define playbook
5-
`((version . "1.0.0")
6-
(procedures
7-
((deploy . (("build" . "just build")
8-
("test" . "just test")
9-
("release" . "just release")))
10-
(rollback . ())
11-
(debug . ())))
12-
(alerts . ())
13-
(contacts . ())))
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# PLAYBOOK.a2ml — Operational playbook
5+
[metadata]
6+
version = "0.1.0"
7+
last-updated = "2026-04-11"
8+
9+
[deployment]
10+
# method = "gitops" # gitops | manual | ci-triggered
11+
# target = "container" # container | binary | library | wasm
12+
13+
[incident-response]
14+
# 1. Check .machine_readable/STATE.a2ml for current status
15+
# 2. Review recent commits and CI results
16+
# 3. Run `just validate` to check compliance
17+
# 4. Run `just security` to audit for vulnerabilities
18+
19+
[release-process]
20+
# 1. Update version in STATE.a2ml, META.a2ml
21+
# 2. Run `just release-preflight` (validate + quality + security + maint-hard-pass)
22+
# 3. Tag and push
23+
24+
[maintenance-operations]
25+
# Baseline audit: just maint-audit
26+
# Hard release gate: just maint-hard-pass
Lines changed: 32 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,38 @@
1-
;; STATE.scm - RSR State File
2-
;; SPDX-License-Identifier: PMPL-1.0-or-later
3-
;; Copyright (C) 2025 Jonathan D.A. Jewell
4-
;;
5-
;; This file tracks the current state of the project using S-expressions.
6-
;; It is machine-readable and used by RSR tooling for validation.
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# STATE.a2ml — Playground project state
5+
[metadata]
6+
project = "playground"
7+
version = "0.1.0"
8+
last-updated = "2025-12-27T00:00:00Z"
9+
status = "active"
10+
session = "converted from scheme — 2026-04-11"
711

8-
(state
9-
(version . "0.1.0")
10-
(phase . "alpha")
11-
(updated . "2025-12-27T00:00:00Z")
12+
[project-context]
13+
name = "Playground"
14+
purpose = """"""
15+
completion-percentage = 0
1216

13-
(project
14-
(name . "mylang-playground")
15-
(tier . "infrastructure")
16-
(license . "AGPL-3.0-or-later")
17-
(language . "ada"))
17+
[position]
18+
phase = "alpha" # design | implementation | testing | maintenance | archived
19+
maturity = "experimental" # experimental | alpha | beta | production | lts
1820

19-
(compliance
20-
(rsr . #t)
21-
(security-hardened . #t)
22-
(ci-cd . #t)
23-
(guix-primary . #f)
24-
(nix-fallback . #f))
21+
[route-to-mvp]
22+
milestones = [
23+
# No milestones recorded
24+
]
2525

26-
(artifacts
27-
(binary . "bin/mylang-playground")
28-
(container . "ghcr.io/hyperpolymath/mylang-playground:latest"))
26+
[blockers-and-issues]
27+
issues = [
28+
# No blockers recorded
29+
]
2930

30-
(dependencies
31-
(build
32-
("gnat" . ">=12")
33-
("gprbuild" . ">=22"))
34-
(runtime))
31+
[critical-next-actions]
32+
actions = [
33+
# No actions recorded
34+
]
3535

36-
(milestones
37-
(v0.1.0
38-
(status . "released")
39-
(date . "2025-12-27")
40-
(features
41-
"Task runner"
42-
"Template engine"
43-
"Requirements enforcer"
44-
"Deploy command"))
45-
(v0.2.0
46-
(status . "planned")
47-
(features
48-
"Mustache partials"
49-
"Content requirement checks"
50-
"TOML variable loading"))))
36+
[maintenance-status]
37+
last-run-utc = "2025-12-27T00:00:00ZT00:00:00Z"
38+
last-result = "unknown" # unknown | pass | warn | fail
Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
1-
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
;; ECOSYSTEM.scm - Duet ecosystem positioning
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# ECOSYSTEM.a2ml — Duet ecosystem position
5+
[metadata]
6+
version = "1.0.0"
7+
last-updated = "2026-04-11"
38

4-
(ecosystem
5-
(version . "1.0.0")
6-
(name . "duet")
7-
(type . "language-dialect")
8-
(purpose . "Human-AI collaborative programming")
9+
[project]
10+
name = "Duet"
11+
purpose = "Human-AI collaborative programming"
12+
role = "language-dialect"
913

10-
(position-in-ecosystem
11-
((parent . "mylang-playground/hives")
12-
(grandparent . "language-playgrounds")
13-
(category . "mylang-dialects")))
14+
[position-in-ecosystem]
15+
category = "mylang-dialects"
1416

15-
(related-projects
16-
((solo
17-
((relationship . "foundation")
18-
(description . "Previous stage in progression")))
19-
(ensemble
20-
((relationship . "evolution")
21-
(description . "Next stage: multi-agent orchestration")))
22-
(phronesis-playground
23-
((relationship . "concept-sharing")
24-
(description . "AI ethics and safety")))))
25-
26-
(what-this-is
27-
("Human-AI duet programming"
28-
"Code synthesis from intent"
29-
"AI-assisted verification"))
30-
31-
(what-this-is-not
32-
("Fully autonomous AI"
33-
"Multi-agent systems"
34-
"No human oversight")))
17+
[related-projects]
18+
projects = [
19+
{ name = "duet", relationship = "foundation" },
20+
]

0 commit comments

Comments
 (0)