You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: instantiate the RSR template placeholders for contractiles
Contractiles was scaffolded from the RSR template but never instantiated:
{{PLACEHOLDER}} tokens (and, separately, the literal string
"rsr-template-repo") survived across ~100 files, including the Zig FFI
source, which genuinely failed to parse (export fn {{project}}_init()).
- Substitute identity placeholders (AUTHOR, OWNER, REPO, PROJECT[_NAME],
FORGE, CURRENT_YEAR/DATE, LICENSE, etc.) with this repo's real values,
derived from its own SPDX headers, GitHub metadata, and the A2ML/K9
ecosystem memory of what "contractiles" (the normative half of the
contractile/descriptile pattern) actually is.
- De-clobber CODE_OF_CONDUCT.md, which an unrelated estate-wide sweep had
stamped with a different project's identity ("Squisher Corpus").
- Fix real Zig bugs beyond substitution: `Handle` was an `opaque` type with
fields (invalid Zig — opaque types cannot have fields), `callconv(.C)` is
not valid under Zig 0.16 (`.c` is), and `std.heap.c_allocator` requires
libc, which build.zig never linked. Rewrote build.zig to produce a real
static-library artifact and wire `zig build test` to both the inline
unit tests and a genuine integration_test.zig (was a fully-commented
placeholder). Verified: `zig fmt --check .` exit 0, `zig build` exit 0,
`zig build test` exit 0 (11/11 tests passing).
- Replace Justfile fake-gate stubs (build/test/e2e/aspect/bench/lint/deps/
install, all `echo "..."` regardless of outcome) with real invocations
of `idris2` and `zig`; delete recipes with nothing real to do
(build-watch's language list, run/run-verbose for a library with no
executable). tests/e2e.sh gets a real build-the-ABI/build-the-FFI
pipeline in place of its fully-commented example sections.
- Remove template-only machinery that has no purpose once a repo is
instantiated: scripts/validate-template.sh,
tests/e2e/template_instantiation_test.sh,
.machine_readable/ai/PLACEHOLDERS.adoc, and the corresponding sections
of benches/template_bench.sh.
- Rewrite README.adoc, SECURITY.md, CODE_OF_CONDUCT.md, security.txt,
and docs/status/TEST-NEEDS.adoc to describe this repo truthfully;
drop fabricated-risk fields (PGP fingerprint/key URL, hiring line)
rather than invent them.
Known residue (left deliberately): container/*, machine-readable-design/
canonical-directory-structure/*, and .machine_readable/configs/{selur-
compose,stapeln}.toml still carry {{SERVICE_NAME}}/{{PORT}}/etc. — these
are legitimate recurring templates substituted by `just container-init`,
not one-time instantiation artifacts (documented in container/README.adoc).
docs/governance/*-AUDIT-TEMPLATE.adoc, .machine_readable/contractiles/
Justfile (a stale duplicate of the root Justfile), and build/just/init.just
(the now-vestigial bootstrap wizard) were not touched.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .devcontainer/README.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
// SPDX-License-Identifier: CC-BY-SA-4.0
2
2
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3
3
= Dev Container Usage
4
-
:author: {{AUTHOR}} <{{AUTHOR_EMAIL}}>
4
+
:author: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
5
5
6
6
== Overview
7
7
@@ -25,4 +25,4 @@ This dev container uses `cgr.dev/chainguard/wolfi-base` with git, curl, bash, an
25
25
26
26
== Customization
27
27
28
-
Replace `{{PROJECT_NAME}}` placeholders in both `devcontainer.json` and `Containerfile` with your actual project name. Run `just deps` to verify the environment after first launch.
28
+
Replace `Contractiles` placeholders in both `devcontainer.json` and `Containerfile` with your actual project name. Run `just deps` to verify the environment after first launch.
We as members, contributors, and leaders pledge to make participation in {{PROJECT_NAME}} a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, colour, religion, or sexual identity and orientation.
9
+
We as members, contributors, and leaders pledge to make participation in Contractiles a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, colour, religion, or sexual identity and orientation.
30
10
31
11
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
32
12
@@ -140,7 +120,7 @@ If you experience or witness unacceptable behaviour, or have any other concerns,
0 commit comments