Skip to content

Commit 8a78229

Browse files
Your Nameclaude
andcommitted
feat: version-stable structure with automated migration
MAJOR IMPROVEMENTS for future-proof versioning: New Versioning Infrastructure: - VERSIONING_POLICY.adoc: Complete policy for version transitions - REPOSITORY_STRUCTURE.adoc: Canonical structure that never changes - scripts/migrate-version.jl: Automated version migration (v1.0 → v1.1) - ARCHIVE/README.adoc: Enhanced archival documentation Machine-Readable Metadata Cleanup: - All 6SCM files moved to .machine_readable/ (single source of truth) - Root SCM files now symlinks to .machine_readable/ - Prevents duplicate/conflicting metadata - Updated: STATE.scm, ECOSYSTEM.scm, META.scm, AGENTIC.scm, NEUROSYM.scm, PLAYBOOK.scm Build Automation Organization: - Created contractiles/ directory for build files - Moved Justfile, Mustfile to contractiles/ - Removed duplicate justfile - Added contractiles/README.adoc AI Agent Integration: - Created AI.djot at root to direct agents to: - .machine_readable/ for 6SCM metadata - contractiles/ for build automation - Single entry point for AI/agent discovery File Consolidation: - Deleted CONTRIBUTING.adoc (keep .md for GitHub health checks) - Deleted CHANGELOG.md (keep .adoc as documentation) - Deleted LICENSE.md (keep LICENSE without extension) - No more duplicate files with different extensions Migration Script Features: - Automated archival of old versions - Creates new version directory structure - Updates README, STATE.scm automatically - Creates release branches - Dry-run mode for testing Result: - Repository structure will remain consistent through all future versions - When v1.1 releases, v1.0/ → ARCHIVE/v1.0/, v1.1/ created - No more "shapeshifting" - same structure, just version numbers change - Automated process reduces human error - Clear separation: current (vX.Y/), historical (ARCHIVE/), cross-version (legal/, docs/) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 050600d commit 8a78229

24 files changed

+1720
-1534
lines changed

.machine_readable/AGENTIC.scm

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1-
;; AGENTIC.scm — Agentic Reasoning Specification
2-
;; Defines how autonomous agents interpret, modify, and interact with artefacts.
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; AGENTIC.scm - AI agent interaction patterns
33

4-
(agentic
5-
(version "1.0")
6-
7-
(interpretation
8-
(license "Treat PMPL as binding legal text with ethical extensions")
9-
(exhibits "Interpret as normative supplements")
10-
(metadata "Use SPDX metadata as canonical mapping"))
11-
12-
(agency
13-
(allowed
14-
(read "All artefacts")
15-
(propose "Changes via issues or PRs")
16-
(verify "Provenance and compliance"))
17-
(forbidden
18-
(modify "License text without Council approval")
19-
(strip "Provenance metadata")
20-
(misrepresent "Lineage or authorship")))
21-
22-
(autonomy
23-
(agents-may
24-
"Generate analyses, propose improvements, audit provenance")
25-
(agents-must
26-
"Preserve emotional lineage, maintain narrative context")))
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+
(documentation . "bilingual-aware")))
15+
(constraints
16+
((languages . ("ocaml" "scheme" "asciidoc" "nickel"))
17+
(banned . ("typescript" "go" "python" "makefile"))))
18+
(special-instructions
19+
((bilingual . "Maintain Dutch/English parity")
20+
(legal . "Do not modify license text without review")
21+
(governance . "Follow GOVERNANCE.md for major changes")))))

.machine_readable/ECOSYSTEM.scm

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
1-
;; ECOSYSTEM.scm — Palimpsest License Ecosystem Specification
2-
;; Canonical ontology for agents, artefacts, and governance flows.
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; ECOSYSTEM.scm - Project ecosystem positioning
33

44
(ecosystem
5-
(name "palimpsest-license")
6-
(version "1.0")
7-
(governance "Palimpsest Stewardship Council")
8-
(jurisdiction "NL")
9-
10-
(actors
11-
(council "Palimpsest Stewardship Council")
12-
(contributors "Individuals submitting improvements")
13-
(maintainers "Repository maintainers")
14-
(agents "Automated systems interacting with the license"))
15-
16-
(artefacts
17-
(license "legal/PALIMPSEST-MPL-1.0.txt")
18-
(exhibit-a "legal/exhibits/EXHIBIT-A-ETHICAL-USE.txt")
19-
(exhibit-b "legal/exhibits/EXHIBIT-B-QUANTUM-SAFE.txt")
20-
(metadata "LICENSES/PMPL-1.0.json")
21-
(governance "GOVERNANCE.adoc")
22-
(versioning "VERSIONING.adoc"))
23-
24-
(flows
25-
(proposal "Contributor submits proposal → Council review → Public comment → Ratification")
26-
(versioning "Council publishes new version → Metadata updated → Historical archive extended")
27-
(provenance "pmpl-sign → pmpl-verify → pmpl-audit"))
28-
29-
(principles
30-
(ethical-use "Preserve emotional lineage and cultural meaning")
31-
(provenance "Maintain cryptographic lineage")
32-
(reversibility "All artefacts must be reversible and auditable")
33-
(narratability "Every artefact must tell its own story")))
5+
((version . "1.0.0")
6+
(name . "palimpsest-license")
7+
(type . "specification")
8+
(purpose . "Ethical open source licensing framework for the AI age")
9+
(position-in-ecosystem . "foundation")
10+
(related-projects
11+
((rhodium-standard-repositories . "sibling-standard")
12+
(gitvisor . "tooling-consumer")
13+
(bunsenite . "consumer")
14+
(zig-nickel-ffi . "consumer")
15+
(formatrix-docs . "consumer")))
16+
(what-this-is
17+
("An ethical licensing framework"
18+
"A philosophical approach to open source"
19+
"Protection for creators in AI age"
20+
"Layered on MPL-2.0 for legal backing"
21+
"Defines 6SCM machine-readable metadata standard"))
22+
(what-this-is-not
23+
("A replacement for existing licenses - it extends MPL-2.0"
24+
"Anti-AI or anti-technology - AI training explicitly permitted"
25+
"A standalone legal invention - built on proven MPL-2.0 foundation"))))

.machine_readable/META.scm

Lines changed: 28 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,29 @@
1-
;; META.scm — Repository Identity Manifest
2-
;; Defines the canonical identity, purpose, and interpretive frame.
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; META.scm - Project metadata and architectural decisions
33

4-
(meta
5-
(id "palimpsest-license")
6-
(version "1.0")
7-
(spdx "PMPL-1.0-or-later")
8-
(governed-by "Dutch law")
9-
(steward "Palimpsest Stewardship Council")
10-
11-
(purpose
12-
"To maintain the canonical text, governance, provenance, and tooling for the Palimpsest-MPL License.")
13-
14-
(scope
15-
(legal "License text, exhibits, jurisdictional frameworks")
16-
(governance "Council processes, versioning, interpretive guidance")
17-
(tooling "Provenance tools, audit tools, signing tools")
18-
(documentation "User guides, integration guides, compatibility notes"))
19-
20-
(constraints
21-
(must-preserve "Emotional lineage, provenance metadata, narrative context")
22-
(must-not "Strip provenance, misrepresent lineage, obscure authorship"))
23-
24-
(lineage
25-
(root "MPL-2.0")
26-
(extension "Ethical use, emotional lineage, quantum-safe provenance")))
27-
28-
(tools
29-
(description "Provenance and audit utilities for the Palimpsest‑MPL ecosystem.")
30-
(directories
31-
(pmpl-sign "Create cryptographic signatures and embed provenance metadata.")
32-
(pmpl-verify "Verify signatures and validate provenance chains.")
33-
(pmpl-audit "Perform repository‑level audits for SPDX, manifests, and provenance.")
34-
(integrations "Templates and onboarding resources for CI/CD and developer workflows."))
35-
(principles
36-
(provenance integrity)
37-
(reversibility)
38-
(auditability)
39-
(narrative-clarity)
40-
(emotional-lineage)))
4+
(define project-meta
5+
`((version . "1.0.0")
6+
(architecture-decisions
7+
((adr-001
8+
(status . "accepted")
9+
(date . "2024-06-01")
10+
(context . "Need license compatible with AI age concerns")
11+
(decision . "Layer Palimpsest ethical framework on top of MPL-2.0")
12+
(consequences . "MPL-2.0 provides legal backing, Palimpsest adds ethical layer"))
13+
(adr-002
14+
(status . "accepted")
15+
(date . "2024-09-01")
16+
(context . "Need machine-readable project metadata")
17+
(decision . "Use 6SCM files standard (STATE, META, ECOSYSTEM, PLAYBOOK, AGENTIC, NEUROSYM)")
18+
(consequences . "Consistent metadata across all repos, AI-parseable"))))
19+
(development-practices
20+
((code-style . "ocamlformat")
21+
(security . "openssf-scorecard")
22+
(testing . "comprehensive")
23+
(versioning . "semver")
24+
(documentation . "asciidoc")
25+
(branching . "trunk-based")))
26+
(design-rationale
27+
((bilingual . "Dutch legally binding, English for accessibility")
28+
(layered . "MPL-2.0 legal + Palimpsest ethical")
29+
(6scm . "Machine-readable metadata for tooling and AI agents")))))

.machine_readable/NEUROSYM.scm

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
1-
;; NEUROSYM.scm — Neurosymbolic Interface Specification
2-
;; Defines how symbolic governance artefacts interact with machine reasoning systems.
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; NEUROSYM.scm - Neurosymbolic integration config
33

4-
(neurosym
5-
(version "1.0")
6-
7-
(symbolic
8-
(anchors
9-
(license "Primary normative artefact")
10-
(exhibits "Ethical and provenance supplements")
11-
(metadata "Machine-readable identity layer")))
12-
13-
(neural
14-
(behaviours
15-
(may "Analyse, summarise, classify, propose")
16-
(must "Preserve meaning, avoid hallucination, respect lineage")))
17-
18-
(interfaces
19-
(mapping
20-
(spdx→text "Use LICENSES/PMPL-1.0.json to resolve canonical text")
21-
(text→ethics "Use Exhibit A for ethical interpretation")
22-
(text→provenance "Use Exhibit B for cryptographic interpretation")))
23-
24-
(constraints
25-
(must-preserve "Narrative context, provenance metadata, emotional lineage")
26-
(must-not "Generate interpretations that contradict the license text")))
4+
(define neurosym-config
5+
`((version . "1.0.0")
6+
(symbolic-layer
7+
((type . "scheme")
8+
(reasoning . "deductive")
9+
(verification . "formal")
10+
(ontology . "license-compliance")))
11+
(neural-layer
12+
((embeddings . false)
13+
(fine-tuning . false)
14+
(consent-required . true)))
15+
(integration
16+
((license-parsing . "Extract clauses from license text")
17+
(compliance-checking . "Verify project meets Palimpsest requirements")
18+
(metadata-validation . "Validate 6SCM file structure")))))

.machine_readable/PLAYBOOK.scm

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
1-
;; PLAYBOOK.scm — Agent Playbook for Palimpsest License
2-
;; Defines canonical behaviours, rituals, and operational flows.
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; PLAYBOOK.scm - Operational runbook
33

4-
(playbook
5-
(version "1.0")
6-
7-
(rituals
8-
(submit-proposal
9-
"Open issue → Provide rationale → Link to exhibits → Await Council triage")
10-
(update-license
11-
"Draft revision → Public comment → Council vote → Publish → Archive previous version")
12-
(provenance
13-
"pmpl-sign → commit → pmpl-verify → CI audit"))
14-
15-
(behaviours
16-
(agents
17-
(must "Respect emotional lineage, preserve provenance metadata")
18-
(should "Annotate changes with narrative context")
19-
(must-not "Strip signatures, obscure authorship, or remove lineage chains")))
20-
21-
(interfaces
22-
(cli "pmpl-sign, pmpl-verify, pmpl-audit")
23-
(docs "README.adoc, GOVERNANCE.adoc, VERSIONING.adoc")
24-
(legal "legal/PALIMPSEST-MPL-1.0.txt")))
4+
(define playbook
5+
`((version . "1.0.0")
6+
(procedures
7+
((build . (("docs" . "just docs")
8+
("validate" . "just validate")))
9+
(test . (("lint" . "npm run lint")
10+
("format" . "npm run format")))
11+
(release . (("version-bump" . "Update CHANGELOG.md")
12+
("tag" . "git tag -a vX.Y.Z")
13+
("publish" . "just release")))
14+
(translation . (("sync" . "Check bilingual-map.md")
15+
("review" . "Dutch legal review")))))
16+
(alerts . ())
17+
(contacts
18+
((steward . "Jonathan D.A. Jewell")
19+
(repo . "github.com/hyperpolymath/palimpsest-license")))))

.machine_readable/STATE.scm

Lines changed: 83 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,83 @@
1-
;; SPDX-License-Identifier: PMPL-1.0
2-
;; STATE.scm - Current project state
3-
4-
(define project-state
5-
`((metadata
6-
((version . "1.0.0")
7-
(schema-version . "1")
8-
(created . "2026-01-10T13:50:17+00:00")
9-
(updated . "2026-01-10T13:50:17+00:00")
10-
(project . "palimpsest-license")
11-
(repo . "palimpsest-license")))
12-
13-
(current-position
14-
((phase . "Active Development")
15-
(overall-completion . 50)
16-
(working-features . ())))
17-
18-
(route-to-mvp
19-
((milestones
20-
((v1.0 . ((items . ("Initial setup" "Core functionality"))
21-
(status . "in-progress")))))))
22-
23-
(blockers-and-issues
24-
((critical . ())
25-
(high . ())
26-
(medium . ())
27-
(low . ())))
28-
29-
(critical-next-actions
30-
((immediate . ())
31-
(this-week . ())
32-
(this-month . ())))
33-
34-
(session-history . ())))
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; STATE.scm - Project state for palimpsest-license
3+
4+
(state
5+
(metadata
6+
(version "1.0.0")
7+
(schema-version "1.0")
8+
(created "2024-01-01")
9+
(updated "2025-01-22")
10+
(project "palimpsest-license")
11+
(repo "hyperpolymath/palimpsest-license"))
12+
13+
(project-context
14+
(name "Palimpsest-MPL License")
15+
(tagline "File-level copyleft with ethical use and quantum-safe provenance")
16+
(tech-stack "Rust" "AsciiDoc" "Scheme" "Nickel"))
17+
18+
(current-position
19+
(phase "v1.0-stable")
20+
(overall-completion 90)
21+
(components
22+
(license-text 100)
23+
(repository-structure 100)
24+
(documentation 95)
25+
(tooling 75)
26+
(governance 95)
27+
(translations 40)))
28+
29+
(working-features
30+
("PMPL-1.0 license text finalized and stable")
31+
("v1.0/ directory as canonical frontpage")
32+
("Legacy v0.x materials consolidated in ARCHIVE/")
33+
("README.adoc prominently highlights v1.0")
34+
("Quick Start guide available")
35+
("Rust tooling (pmpl-sign, pmpl-verify, pmpl-audit) functional")
36+
("SPDX identifier: PMPL-1.0-or-later")
37+
("Compatible with MIT, BSD, Apache-2.0, MPL-2.0, LGPL, GPL"))
38+
39+
(route-to-mvp
40+
(milestone "v1.0 - Production Release" done
41+
(items
42+
("Legal review complete" done)
43+
("License text finalized" done)
44+
("Repository restructured for clarity" done)
45+
("Governance council formed" done)
46+
("SPDX identifier established" done)))
47+
(milestone "v1.1 - Enhanced Tooling"
48+
(items
49+
("Complete Rust tooling suite" in-progress)
50+
("Add CI/CD integrations" pending)
51+
("Expand documentation examples" pending)
52+
("Improve parser (palimpsest-plasma)" pending))))
53+
54+
(critical-next-actions
55+
(immediate
56+
("Finish Rust tools (pmpl-sign, pmpl-verify, pmpl-audit)")
57+
("Add compatibility matrix documentation")
58+
("Create FAQ for v1.0"))
59+
(this-week
60+
("Expand examples/ directory with real-world use cases")
61+
("Add CI/CD integration templates")
62+
("Update tools documentation"))
63+
(this-month
64+
("Add translations (Dutch, others)")
65+
("Publish case studies")
66+
("Community outreach for adoption")))
67+
68+
(blockers-and-issues
69+
(medium-priority
70+
("Tooling completion requires more developer time")
71+
("Translation backlog (Dutch, others)")
72+
("Need more example projects using PMPL")))
73+
74+
(session-history
75+
(snapshot
76+
(date "2025-01-22")
77+
(accomplishments
78+
("Repository restructured with v1.0/ as canonical frontpage")
79+
("README.adoc rewritten to prominently feature v1.0")
80+
("Legacy v0.x materials consolidated into ARCHIVE/")
81+
("Created v1.0/README.adoc and v1.0/docs/QUICK-START.adoc")
82+
("Moved GUIDES_v0.4, METADATA_v0.4, TOOLKIT_v0.4 into ARCHIVE/v0.4/")
83+
("v1.0 is now unmistakably the current, stable version")))))

AGENTIC.scm

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)