Skip to content

Commit 342d587

Browse files
hyperpolymathclaude
andcommitted
chore: RSR compliance — AGPL→PMPL license/SPDX, fix author, add SCM files, fix template placeholders
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6aa7d72 commit 342d587

File tree

17 files changed

+299
-392
lines changed

17 files changed

+299
-392
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# EditorConfig: https://editorconfig.org
33

44
root = true

.machine_readable/ECOSYSTEM.scm

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; ECOSYSTEM.scm - Ecosystem position for formatrix-docs
3+
;; Media-Type: application/vnd.ecosystem+scm
4+
5+
(ecosystem
6+
(version "1.0")
7+
(name "formatrix-docs")
8+
(type "desktop-application")
9+
(purpose "Cross-platform document editor with format tabs and unified AST")
10+
11+
(position-in-ecosystem
12+
(category "developer-tools")
13+
(subcategory "document-editing")
14+
(unique-value
15+
"Multi-format document editing with live conversion"
16+
"Unified AST for lossless format round-trips"
17+
"Tauri + Ada dual GUI/TUI interfaces"))
18+
19+
(related-projects ())
20+
21+
(what-this-is
22+
"A cross-platform document editor supporting multiple markup formats"
23+
"A format conversion tool with unified AST"
24+
"A Tauri 2.0 desktop application with ReScript frontend")
25+
26+
(what-this-is-not
27+
"NOT a web-based editor"
28+
"NOT a simple text editor"
29+
"NOT a markup-specific tool"))

.machine_readable/META.scm

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; META.scm - Meta-level information for formatrix-docs
3+
;; Media-Type: application/meta+scheme
4+
5+
(meta
6+
(architecture-decisions
7+
("ADR-001" "Unified AST approach"
8+
"Single AST shared across all format parsers/renderers for lossless conversion"
9+
"accepted" "2025-01-02")
10+
("ADR-002" "Tauri 2.0 for GUI"
11+
"Tauri chosen over Electron for Rust backend and smaller binary size"
12+
"accepted" "2025-01-02")
13+
("ADR-003" "Ada for TUI"
14+
"Ada with AdaCurses for safety-critical terminal interface"
15+
"accepted" "2025-01-02"))
16+
17+
(development-practices
18+
(code-style
19+
("Rust" "rustfmt, 100 char lines")
20+
("ReScript" "rescript format")
21+
("Ada" "gnatpp, 3-space indent"))
22+
(security
23+
(principle "Defense in depth")
24+
(no-secrets-in-code #t))
25+
(testing
26+
("Rust" "cargo test")
27+
("ReScript" "Jest"))
28+
(versioning "SemVer")
29+
(documentation "AsciiDoc")
30+
(branching "main for stable"))
31+
32+
(design-rationale
33+
("format-tabs" "View same document in multiple markup formats simultaneously")
34+
("unified-ast" "Lossless round-trip conversion between formats")))

.machine_readable/STATE.scm

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; STATE.scm - Project state for formatrix-docs
3+
;; Media-Type: application/vnd.state+scm
4+
5+
(state
6+
(metadata
7+
(version "0.1.0")
8+
(schema-version "1.0")
9+
(created "2025-01-02")
10+
(updated "2026-03-14")
11+
(project "formatrix-docs")
12+
(repo "github.com/hyperpolymath/formatrix-docs"))
13+
14+
(project-context
15+
(name "formatrix-docs")
16+
(tagline "Cross-platform document editor with format tabs")
17+
(tech-stack
18+
("Rust" "core library" "Unified AST, format parsers, renderers")
19+
("Tauri 2.0" "GUI" "Desktop application framework")
20+
("ReScript" "frontend" "Type-safe UI components")
21+
("Ada" "TUI" "Terminal interface with AdaCurses")
22+
("Nickel" "pipelines" "Import/export transformations")))
23+
24+
(current-position
25+
(phase "initial-implementation")
26+
(overall-completion 15)
27+
(components
28+
(core 20 "AST, parsers scaffolded")
29+
(gui 10 "Tauri commands stubbed")
30+
(tui 5 "Ada structure created")
31+
(pipelines 5 "Nickel definitions started"))
32+
(working-features
33+
"Project structure"
34+
"Workspace Cargo.toml"
35+
"Core crate scaffolded"))
36+
37+
(route-to-mvp
38+
(milestones
39+
("M1" "Core format parsers"
40+
("Plaintext parser" in-progress)
41+
("Markdown parser" pending)
42+
("AsciiDoc parser" pending))
43+
("M2" "GUI shell"
44+
("Tauri window" pending)
45+
("Tab switching" pending))
46+
("M3" "Format conversion"
47+
("AST round-trip" pending))))
48+
49+
(blockers-and-issues
50+
(critical)
51+
(high)
52+
(medium)
53+
(low))
54+
55+
(critical-next-actions
56+
(immediate
57+
"Implement core AST types"
58+
"Complete plaintext parser")
59+
(this-week)
60+
(this-month))
61+
62+
(session-history
63+
("2025-01-02" "Project created")
64+
("2026-03-14" "RSR compliance audit")))

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
#
33
# Formatrix Docs - Cross-platform document editor with format tabs
44
# https://github.com/hyperpolymath/formatrix-docs
@@ -15,8 +15,8 @@ members = [
1515
[workspace.package]
1616
version = "0.1.0"
1717
edition = "2021"
18-
authors = ["hyperpolymath"]
19-
license = "AGPL-3.0-or-later"
18+
authors = ["Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"]
19+
license = "PMPL-1.0-or-later"
2020
repository = "https://github.com/hyperpolymath/formatrix-docs"
2121
keywords = ["document", "editor", "markdown", "asciidoc", "typst"]
2222
categories = ["text-processing", "gui"]

0 commit comments

Comments
 (0)