-
-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(root): move root artefacts to their canonical locations #83
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,109 @@ | ||
| <!-- | ||
| SPDX-License-Identifier: MPL-2.0 | ||
| SPDX-License-Identifier: CC-BY-SA-4.0 | ||
| SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com> | ||
| --> | ||
|
|
||
| # Contributing — anvomidav | ||
|
|
||
| ## Audience | ||
|
|
||
| Developers working **on** `anvomidav`. For consumers (people calling or | ||
| depending on it) see <a href="./usage.adoc" class="adoc">usage</a>. | ||
|
|
||
| ## Local-dev setup | ||
|
|
||
| Prerequisites — the minimum versions and where to get them: | ||
|
|
||
| - `<tool` `1>` v\`\<version\>\` — `<install` `instruction>`. | ||
|
|
||
| - `<tool` `2>` v\`\<version\>\` — `<install` `instruction>`. | ||
|
Comment on lines
+18
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: printf '%s\n' '--- new guide ---'
sed -n '1,70p' .github/CONTRIBUTING.md
printf '%s\n' '--- old guide ---'
if test -f CONTRIBUTING.adoc; then sed -n '1,70p' CONTRIBUTING.adoc; else git show HEAD^:CONTRIBUTING.adoc 2>/dev/null | sed -n '1,70p'; fi
printf '%s\n' '--- setup/build files ---'
find . -maxdepth 3 -type f \( -name 'Justfile' -o -name 'justfile' -o -name 'Makefile' -o -name 'guix.scm' -o -name '*.toml' -o -name '*.yml' -o -name '*.yaml' \) -print
printf '%s\n' '--- prerequisite references ---'
rg -n -i 'prerequisite|install|setup|toolbox|distrobox|guix|just (setup|test)|rust|python|node|go|cargo' README.adoc docs .github Justfile contractile.just 2>/dev/null | head -240Repository: hyperpolymath/anvomidav Length of output: 11733 🏁 Script executed: printf '%s\n' '--- Justfile ---'
cat -n Justfile
printf '%s\n' '--- mise.toml ---'
cat -n mise.toml
printf '%s\n' '--- README setup and project metadata ---'
sed -n '1,85p' README.adoc
printf '%s\n' '--- contributor guide links and duplicate ---'
sed -n '1,45p' docs/contributing.adoc
printf '%s\n' '--- relevant tracked files ---'
git ls-files | rg '(^|/)(CONTRIBUTING|README|Justfile|mise\.toml|guix|flake|Cargo|dune|opam|package|deno|go\.mod)'Repository: hyperpolymath/anvomidav Length of output: 9060 Resolve the prerequisite placeholders before publishing. Both contributor-guide copies contain literal placeholder values. The repository is still in the concept phase, so 🤖 Prompt for AI Agents |
||
|
|
||
| - GPG signing key configured (estate policy — all commits must be | ||
| signed). See | ||
| [standards/docs/secure-coding-training.md](https://github.com/hyperpolymath/standards/blob/main/docs/secure-coding-training.md). | ||
|
|
||
| One-shot setup: | ||
|
|
||
| ``` bash | ||
| git clone git@github.com:hyperpolymath/anvomidav.git | ||
| cd anvomidav | ||
| just setup # installs deps, sets up hooks | ||
| just test # runs the full test suite | ||
|
Comment on lines
+31
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '%s\n' '--- Justfile recipe declarations ---'
rg -n -C 2 '^(setup|test|test-unit|test-int|test-prop|fmt|lint):|^import\?' Justfile
printf '%s\n' '--- Optional contractile.just files ---'
fd -HI '^contractile\.just$' . -x sh -c '
for file do
echo "--- $file ---"
rg -n -C 2 "^(setup|test|test-unit|test-int|test-prop|fmt|lint):" "$file"
done
' shRepository: hyperpolymath/anvomidav Length of output: 356 🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '%s\n' '--- Justfile ---'
cat -n Justfile
printf '%s\n' '--- contractile.just ---'
cat -n contractile.just
printf '%s\n' '--- CONTRIBUTING cited sections ---'
sed -n '25,60p' .github/CONTRIBUTING.mdRepository: hyperpolymath/anvomidav Length of output: 7249 🏁 Script executed: set -euo pipefail
printf '%s\n' '--- Justfile ---'
cat -n Justfile
printf '%s\n' '--- contractile.just ---'
cat -n contractile.just
printf '%s\n' '--- CONTRIBUTING cited sections ---'
sed -n '25,60p' .github/CONTRIBUTING.mdRepository: hyperpolymath/anvomidav Length of output: 7249 Document available Just recipes. 🤖 Prompt for AI Agents |
||
| ``` | ||
|
|
||
| ## Running tests | ||
|
|
||
| - **Unit**: `just` `test-unit` — fast, no I/O. | ||
|
|
||
| - **Integration**: `just` `test-int` — uses real services (database, | ||
| HTTP, etc.). Estate policy: prefer real over mocked (see | ||
| `feedback_integration_tests_real_db` in maintainer’s memory). | ||
|
|
||
| - **Property**: `just` `test-prop` — randomised, slower; budget | ||
| documented in `docs/proof-debt.md` if applicable. | ||
|
|
||
| - **Full**: `just` `test` — runs all of the above. | ||
|
|
||
| ## Code style | ||
|
|
||
| We enforce style via CI (governance-reusable.yml from | ||
| hyperpolymath/standards). Locally: | ||
|
|
||
| ``` bash | ||
| just fmt # auto-format | ||
| just lint # static checks | ||
| ``` | ||
|
|
||
| - All commits must be **GPG-signed** (CI enforces; see | ||
| [standards](https://github.com/hyperpolymath/standards)). | ||
|
|
||
| - All source files must carry an **SPDX-License-Identifier** header (CI | ||
| enforces). | ||
|
|
||
| - Conventional commits — `feat`, `fix`, `chore`, `refactor`, `docs`, | ||
| `test`, `ci`, `revert` (CHANGELOG is auto-generated from these via | ||
| [`changelog-reusable.yml`](https://github.com/hyperpolymath/standards/blob/main/.github/workflows/changelog-reusable.yml)). | ||
|
|
||
| ## Branching & PR workflow | ||
|
|
||
| 1. Branch off `main` as `claude/<topic>` (for AI agents) or | ||
| `<initials>/<topic>` (for humans). | ||
|
|
||
| 2. Make focused, narrow commits — one logical change per commit. | ||
|
|
||
| 3. Open a PR against `main`. | ||
|
|
||
| 4. **Enable auto-merge immediately** on every PR you open (`gh` `pr` | ||
| `merge` `<num>` `--auto` `--squash`) — estate standing policy (see | ||
| standards#196 audit and policies). | ||
|
|
||
| 5. CI must be green. The PR auto-merges when checks pass + reviews | ||
| land. | ||
|
|
||
| ## Adding a new dependency | ||
|
|
||
| 1. State the **why** in the PR body — what does this dependency unlock? | ||
|
|
||
| 2. Check provenance (maintained, audited, no malicious history). | ||
|
|
||
| 3. Pin to a SHA, not a tag. | ||
|
|
||
| 4. Update `docs/architecture.adoc#Dependencies`. | ||
|
|
||
| ## Adding an ADR | ||
|
|
||
| When you make a non-obvious design decision, write it down: | ||
|
|
||
| 1. Copy `docs/decisions/0001-template.adoc` → `0002-<slug>.adoc`. | ||
|
|
||
| 2. Fill in: Context, Decision, Consequences, Alternatives. | ||
|
|
||
| 3. Link the ADR from the README or relevant code as a comment. | ||
|
|
||
| ## Reporting issues | ||
|
|
||
| - Bugs in `anvomidav`: file at `hyperpolymath/anvomidav/issues`. | ||
|
|
||
| - Estate-wide concerns (policy, conventions, CI): file at | ||
| `hyperpolymath/standards/issues`. | ||
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/anvomidav
Length of output: 3547
🏁 Script executed:
Repository: hyperpolymath/anvomidav
Length of output: 3319
🏁 Script executed:
Repository: hyperpolymath/anvomidav
Length of output: 2492
Complete the contribution-guide path migration.
Change
./usage.adocto../docs/usage.adoc.Replace root-level
CONTRIBUTING.mdreferences with.github/CONTRIBUTING.mdinREADME.adoc,QUICKSTART-DEV.adoc,ROADMAP.adoc, andSECURITY.adoc. Update the filename references indocs/tech-debt-2026-05-26.adocandTEST-NEEDS.adocas well.Do not change
docs/architecture.adocordocs/usage.adoc. Their./contributing.adoclinks resolve to the existingdocs/contributing.adoc.🤖 Prompt for AI Agents