Skip to content

Commit 326a69e

Browse files
hyperpolymathclaude
andcommitted
fix: RSR compliance — fix SPDX headers, resolve placeholders, rewrite stale SCM
- Fix AGPL-3.0-or-later → PMPL-1.0-or-later in 17 source files - Fix Cargo.toml license fields and add author attribution - Add SPDX headers to 5 files missing them - Resolve template placeholders in CODE_OF_CONDUCT.md, CONTRIBUTING.md - Rewrite stale .machine_readable/ SCM files (had language-bridges data) - Fix AI manifest email and placeholders - Add .well-known/ (security.txt, humans.txt, ai.txt) - Add .github/CODEOWNERS - Fix broken README link, expand SECURITY.md - Fix workflow linter SPDX reference Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2dbf7ea commit 326a69e

35 files changed

Lines changed: 229 additions & 71 deletions

.editorconfig

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# RSR-template-repo - Editor Configuration
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# nexia-list - Editor Configuration
23
# https://editorconfig.org
34

45
root = true
@@ -59,6 +60,18 @@ indent_size = 2
5960
[*.nix]
6061
indent_size = 2
6162

63+
[*.css]
64+
indent_size = 2
65+
66+
[*.html]
67+
indent_size = 2
68+
69+
[*.json]
70+
indent_size = 2
71+
72+
[*.toml]
73+
indent_size = 2
74+
6275
[Justfile]
6376
indent_style = space
6477
indent_size = 4

.gitattributes

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
# RSR-compliant .gitattributes
33

44
* text=auto eol=lf

.github/CODEOWNERS

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# CODEOWNERS — Default code ownership for nexia-list
3+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
4+
5+
# Default owner for all files
6+
* @hyperpolymath
7+
8+
# Rust core engine
9+
/core/ @hyperpolymath
10+
11+
# ReScript UI
12+
/ui/ @hyperpolymath
13+
14+
# Tauri desktop/mobile shell
15+
/desktop/ @hyperpolymath
16+
17+
# Web / PWA
18+
/web/ @hyperpolymath
19+
20+
# Workflows and CI
21+
/.github/ @hyperpolymath
22+
23+
# Machine-readable metadata
24+
/.machine_readable/ @hyperpolymath

.github/workflows/workflow-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fi
3737
done
3838
if [ $failed -eq 1 ]; then
39-
echo "Add '# SPDX-License-Identifier: AGPL-3.0-or-later' as first line"
39+
echo "Add '# SPDX-License-Identifier: PMPL-1.0-or-later' as first line"
4040
exit 1
4141
fi
4242
echo "All workflows have SPDX headers"

.gitignore

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
# RSR-compliant .gitignore
33

44
# OS & Editor

.machine_readable/ECOSYSTEM.scm

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
(ecosystem (metadata (version "0.1.0") (last-updated "2026-02-08"))
3-
(project (name "language-bridges") (purpose "FFI bridges between languages via Zig") (role ffi-infrastructure)))
2+
(ecosystem
3+
(metadata
4+
(version "0.1.0")
5+
(last-updated "2026-03-02"))
6+
(project
7+
(name "nexia-list")
8+
(purpose "Cross-platform personal knowledge management inspired by Tinderbox")
9+
(role application))
10+
(related-projects
11+
(project "rescript-tea" (relationship dependency) (purpose "TEA architecture for ReScript"))
12+
(project "cadre-tea-router" (relationship dependency) (purpose "URL-based navigation for TEA apps"))
13+
(project "bunsenite" (relationship potential-consumer) (purpose "Nickel-based configuration schemas"))))

.machine_readable/META.scm

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
11
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
(meta (metadata (version "0.1.0") (last-updated "2026-02-08"))
3-
(project-info (type monorepo) (languages (zig ada gleam idris2 julia ocaml rescript rust swift)) (license "PMPL-1.0-or-later")))
2+
(meta
3+
(metadata
4+
(version "0.1.0")
5+
(last-updated "2026-03-02"))
6+
(project-info
7+
(type application)
8+
(languages (rust rescript javascript html css))
9+
(license "PMPL-1.0-or-later")
10+
(author "Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"))
11+
(architecture-decisions
12+
(adr "ADR-001: Use Rust for core engine with serde for serialization"
13+
(status accepted)
14+
(rationale "Memory safety, WASM compilation, graph libraries (petgraph), search (tantivy)"))
15+
(adr "ADR-002: Use ReScript TEA for UI layer"
16+
(status accepted)
17+
(rationale "Exhaustive pattern matching, pure update functions, type-safe message passing"))
18+
(adr "ADR-003: Use Tauri 2.0 for desktop and mobile"
19+
(status accepted)
20+
(rationale "Cross-platform from single codebase, small binaries, no Node.js attack surface"))
21+
(adr "ADR-004: Local-first data storage"
22+
(status accepted)
23+
(rationale "User data stays on device, JSON files on desktop, IndexedDB on web"))))

.machine_readable/STATE.scm

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
;; SPDX-License-Identifier: PMPL-1.0-or-later
2-
(state (metadata (version "0.1.0") (last-updated "2026-02-08") (status active))
3-
(project-context (name "language-bridges") (purpose "FFI bridges between languages via Zig") (completion-percentage 20))
4-
(components (component "ada-zig-ffi") (component "gleam-zig-ffi") (component "idris2-zig-ffi") (component "julia-zig-ffi") (component "ocaml-zig-ffi") (component "rescript-zig-ffi") (component "rust-zig-ffi") (component "swift-zig-ffi") (component "zig-c-ffi") (component "zig-container-ffi") (component "zig-fuse-ext") (component "zig-libgit2-ffi") (component "zig-nickel-ffi") (component "zig-systemd-ffi") (component "zig-wireguard")))
2+
(state
3+
(metadata
4+
(version "0.1.0")
5+
(last-updated "2026-03-02")
6+
(status active))
7+
(project-context
8+
(name "nexia-list")
9+
(purpose "Cross-platform personal knowledge management with spatial notes, relationships, and intelligent agents")
10+
(completion-percentage 30))
11+
(components
12+
(component "rust-core" (status "implemented") (description "Graph engine, search, storage — Note/Notebook/Storage modules"))
13+
(component "rescript-ui" (status "scaffolded") (description "TEA architecture with Model/View/Update/Msg/Types modules"))
14+
(component "tauri-desktop" (status "scaffolded") (description "Tauri 2.0 desktop shell with command handlers"))
15+
(component "web-pwa" (status "scaffolded") (description "HTML/CSS browser entry point"))
16+
(component "deno-tooling" (status "configured") (description "Deno task runner for dev/build/test/lint")))
17+
(blockers
18+
(blocker "No CI for Rust/ReScript builds yet")
19+
(blocker "Mobile (iOS/Android) shell not started"))
20+
(critical-next-actions
21+
(action "Wire Tauri commands to ReScript UI via invoke bridge")
22+
(action "Add full-text search with tantivy integration")
23+
(action "Implement spatial canvas drag-and-drop")))

.well-known/ai.txt

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+
# ai.txt — AI agent interaction policy
3+
# See: https://github.com/hyperpolymath/0-ai-gatekeeper-protocol
4+
5+
# This repository permits AI agent interaction.
6+
# All AI agents MUST read 0-AI-MANIFEST.a2ml before making changes.
7+
8+
User-agent: *
9+
Allow: /
10+
11+
# AI manifest location
12+
Manifest: /0-AI-MANIFEST.a2ml
13+
14+
# Machine-readable metadata
15+
Metadata: /.machine_readable/STATE.scm
16+
Metadata: /.machine_readable/META.scm
17+
Metadata: /.machine_readable/ECOSYSTEM.scm
18+
19+
# License
20+
License: PMPL-1.0-or-later
21+
22+
# Contact
23+
Contact: j.d.a.jewell@open.ac.uk

.well-known/humans.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# humans.txt — https://humanstxt.org/
3+
4+
/* TEAM */
5+
Name: Jonathan D.A. Jewell
6+
Role: Lead Maintainer
7+
Site: https://github.com/hyperpolymath
8+
Location: United Kingdom
9+
10+
/* SITE */
11+
Software: Nexia — Cross-platform personal knowledge management
12+
Standards: PMPL-1.0-or-later, RSR (Rhodium Standard Repository)
13+
Components: Rust core, ReScript TEA UI, Tauri 2.0 desktop/mobile, WASM/PWA web

0 commit comments

Comments
 (0)