Repository navigation
chore: echidna first-run start point (CI restore, drift, ids, template form) #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0c370ca
fix(ci): restore Rust CI, CodeQL and lockfile-checked workflows
hyperpolymath 5ef4d62
chore(hypatia): prune the baseline to entries that still match
hyperpolymath be8a4ac
feat(ids): mint every id through echidna::ids (UUIDv7 records, UUIDv8…
hyperpolymath 18b5084
chore: bring echidna to an rsr-template start point
hyperpolymath 01caa98
fix(ci): plain Rust CI workflow, rustls advisory, Hypatia findings
hyperpolymath a9ad08e
fix: last Hypatia findings (private mktemp scratch dir, copilot docs …
hyperpolymath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| # SPDX-License-Identifier: CC-BY-SA-4.0 | ||
| # SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | ||
| { | ||
| name: "Bug report", | ||
| description: "Something behaves differently from what it claims to do.", | ||
| labels: [ | ||
| "bug", | ||
| "needs-triage", | ||
| ], | ||
| body: [ | ||
| { | ||
| type: "markdown", | ||
| attributes: { | ||
| value: "Please report what you **observed**, not what you inferred. A command and\nits actual output is worth more than a description of the problem.\n", | ||
| }, | ||
| }, | ||
| { | ||
| type: "textarea", | ||
| id: "what-happened", | ||
| attributes: { | ||
| label: "What happened", | ||
| description: "The observed behaviour, with the exact command and its output.", | ||
| placeholder: "$ just verify\nerror: ...\n", | ||
| render: "shell", | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| { | ||
| type: "textarea", | ||
| id: "expected", | ||
| attributes: { | ||
| label: "What you expected instead", | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| { | ||
| type: "textarea", | ||
| id: "repro", | ||
| attributes: { | ||
| label: "Minimal reproduction", | ||
| description: "The shortest sequence that reproduces it from a clean checkout.", | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| { | ||
| type: "input", | ||
| id: "version", | ||
| attributes: { | ||
| label: "Version / commit", | ||
| description: "Output of `git rev-parse --short HEAD`.", | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| { | ||
| type: "textarea", | ||
| id: "environment", | ||
| attributes: { | ||
| label: "Environment", | ||
| description: "OS, and the output of `just --version` and `mise current` if relevant.", | ||
| }, | ||
| validations: { | ||
| required: false, | ||
| }, | ||
| }, | ||
| { | ||
| type: "checkboxes", | ||
| id: "checks", | ||
| attributes: { | ||
| label: "Before submitting", | ||
| options: [ | ||
| { | ||
| label: "I have reported observed output rather than a summary of it.", | ||
| required: true, | ||
| }, | ||
| { | ||
| label: "This is not a security vulnerability (those go via a private advisory).", | ||
| required: true, | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| ], | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # SPDX-License-Identifier: CC-BY-SA-4.0 | ||
| # SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | ||
| # | ||
| # Issue chooser configuration. Blank issues stay enabled so that reports which | ||
| # fit neither form are not silently discouraged. | ||
| { | ||
| blank_issues_enabled: true, | ||
| contact_links: [ | ||
| { | ||
| name: "Security vulnerability", | ||
| url: "https://github.com/hyperpolymath/echidna/security/advisories/new", | ||
| about: "Report privately via a security advisory. Do NOT open a public issue.", | ||
| }, | ||
| { | ||
| name: "Question or support request", | ||
| url: "https://github.com/hyperpolymath/echidna/discussions", | ||
| about: "Ask a question. See .github/SUPPORT.md for what to expect.", | ||
| }, | ||
| ], | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # SPDX-License-Identifier: CC-BY-SA-4.0 | ||
| # SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | ||
| { | ||
| name: "Feature request", | ||
| description: "Propose a capability this project does not yet have.", | ||
| labels: [ | ||
| "enhancement", | ||
| "needs-triage", | ||
| ], | ||
| body: [ | ||
| { | ||
| type: "textarea", | ||
| id: "problem", | ||
| attributes: { | ||
| label: "The problem", | ||
| description: "What are you unable to do today? Describe the situation, not the solution.", | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| { | ||
| type: "textarea", | ||
| id: "proposal", | ||
| attributes: { | ||
| label: "Proposed change", | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| { | ||
| type: "textarea", | ||
| id: "alternatives", | ||
| attributes: { | ||
| label: "Alternatives considered", | ||
| description: "Including doing nothing — say why that is insufficient.", | ||
| }, | ||
| validations: { | ||
| required: false, | ||
| }, | ||
| }, | ||
| { | ||
| type: "dropdown", | ||
| id: "scope", | ||
| attributes: { | ||
| label: "Scope", | ||
| description: "Would this change the template's shape, and therefore every repo minted from it?", | ||
| options: [ | ||
| "Repo-local — affects only this project", | ||
| "Template-wide — would propagate to minted repos", | ||
| "Not sure", | ||
| ], | ||
| }, | ||
| validations: { | ||
| required: true, | ||
| }, | ||
| }, | ||
| ], | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Support | ||
|
|
||
| For questions, help, and community discussion: | ||
|
|
||
| - GitHub Discussions: https://github.com/hyperpolymath/echidna/discussions | ||
| - GitHub Issues: https://github.com/hyperpolymath/echidna/issues | ||
| - Documentation: See README.adoc in the root directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| <!-- | ||
| SPDX-License-Identifier: CC-BY-SA-4.0 | ||
| Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | ||
| --> | ||
| <!-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> --> | ||
| <!-- Authoritative source: docs/practice/AI-CONVENTIONS.adoc --> | ||
|
|
||
| # Copilot Instructions | ||
|
|
||
| ## Before Writing Code | ||
|
|
||
| - Read `.machine_readable/descriptiles/` (STATE, META, ECOSYSTEM) for canonical | ||
| file locations. echidna has not yet migrated these into a `*_chora.deed`. | ||
| - State files (.a2ml) live in `.machine_readable/` ONLY, never the root. | ||
|
|
||
| ## License | ||
|
|
||
| - SPDX: `MPL-2.0` on all new files. | ||
| - Never use AGPL-3.0. | ||
| - Copyright: `Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>` | ||
|
|
||
| ## Code Style | ||
|
|
||
| - Use descriptive variable names. | ||
| - Annotate and document all files. | ||
| - Add SPDX header to every source file. | ||
| - Use `just` for build/test/lint commands. | ||
|
|
||
| ## Banned Patterns | ||
|
|
||
| - Idris2: no `believe_me`, no `assert_total` | ||
| - Haskell: no `unsafeCoerce`, no `unsafePerformIO` | ||
| - OCaml: no `Obj.magic` | ||
| - Coq: no `Admitted` | ||
| - Lean: no `sorry` | ||
| - Rust: no `transmute` unless FFI with `// SAFETY:` comment | ||
|
|
||
| ## JavaScript / TypeScript runtimes | ||
|
|
||
| Ordered preference (`standards/3-practice/LANGUAGE-POLICY.adoc` §1) — reach for the first | ||
| that can do the job: | ||
|
|
||
| 1. **Bun** — default for all new work. Runs compiled ESM/JS directly, no bundler | ||
| step. Uses an npm-compatible `package.json` plus `bun.lock`; both are | ||
| expected, not anti-patterns. | ||
| 2. **pnpm** — only where an upstream toolchain requires `node_modules`. | ||
| 3. **npm** — last resort. Permitted, never preferred; a deliberate, noted choice. | ||
|
|
||
| **Deno is being removed**, not grandfathered. Owner ruling 2026-08-26: *"deno is | ||
| to go and bun is the way we are going, put it first everywhere unless not | ||
| possible and explain why if not."* Existing Deno projects migrate to Bun; where | ||
| Bun genuinely cannot be used, document the reason in the repo. | ||
|
|
||
| **TypeScript is not the language for new application code — AffineScript is.** | ||
| `LANGUAGE-POLICY.adoc` §1.2, ruled 2026-08-25, separates two questions the older | ||
| text ran together: *runtime* is Bun (where `.ts` runs at all, Bun runs it), while | ||
| the *language* target is AffineScript. TypeScript is permitted only where | ||
| AffineScript cannot reach — the same narrow, transitional carve-out JavaScript | ||
| holds for MCP protocol glue and runtime APIs. ReScript remains banned; its | ||
| migration destination is AffineScript. | ||
|
|
||
| ## Banned Languages | ||
|
|
||
| - No Go (use Rust) | ||
| - No Python (use Julia or Rust) | ||
| - No Nix (use Guix) | ||
| - No Deno for new work — being removed estate-wide; use Bun (owner ruling 2026-08-26) | ||
| - No ReScript (`LANGUAGE-POLICY.adoc` §3) — migrate to AffineScript | ||
|
|
||
| ## Containers | ||
|
|
||
| - Use Podman, never Docker. | ||
| - Name the file `Containerfile`, never `Dockerfile`. | ||
| - Base image: `cgr.dev/chainguard/wolfi-base:latest`. | ||
|
|
||
| ## ABI/FFI | ||
|
|
||
| - ABI definitions in Idris2 (`src/abi/`, package `src/abi/echidnaabi.ipkg`). | ||
| - FFI implementations in Zig (`ffi/zig/`, `src/zig_ffi/`). | ||
| - echidna keeps its own ABI/FFI layout rather than the template's interface tree. | ||
|
|
||
| ## State Files | ||
|
|
||
| The retired STATE/META/ECOSYSTEM/AGENTIC/CLADE `.a2ml` files must not be | ||
| recreated anywhere; their content is in the repo deed (`*_chora.deed`) and | ||
| `docs/status/ROADMAP.adoc`. | ||
|
|
||
| Never create NEUROSYM.a2ml or PLAYBOOK.a2ml in the repo root. | ||
| They belong in `.machine_readable/` only. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,16 @@ | ||
| mcp_servers: | ||
| boj-server: | ||
| command: npx | ||
| args: ["-y", "@hyperpolymath/boj-server@latest"] | ||
| env: | ||
| BOJ_URL: http://localhost:7700 | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # Copilot coding-agent MCP servers, launched with bunx (Bun is the estate | ||
| # JavaScript runtime). | ||
| { | ||
| mcp_servers: { | ||
| boj-server: { | ||
| command: "bunx", | ||
| args: [ | ||
| "@hyperpolymath/boj-server@latest", | ||
| ], | ||
| env: { | ||
| BOJ_URL: "http://localhost:7700", | ||
| }, | ||
| }, | ||
| }, | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.