Skip to content

Commit ce1b9cc

Browse files
committed
Merge branch 'chore/cicd-optimizations'
2 parents f9d7bd7 + d8301b0 commit ce1b9cc

8 files changed

Lines changed: 190 additions & 444 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Dustfile — Cleanup and Hygiene Contract
3+
4+
[dustfile]
5+
version = "1.0.0"
6+
format = "a2ml"
7+
8+
[cleanup]
9+
stale-branch-policy = "delete-after-merge"
10+
artifact-retention = "90-days"
11+
cache-policy = "clear-on-release"
12+
13+
[hygiene]
14+
linting = "required"
15+
formatting = "required"
16+
dead-code-removal = "encouraged"
17+
todo-tracking = "tracked-in-issues"
18+
19+
[reversibility]
20+
backup-before-destructive = true
21+
rollback-mechanism = "git-revert"
22+
data-retention-policy = "preserve-30-days"
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+
# Feedback-o-Tron Integration — Autonomous Bug Reporting
3+
4+
[integration]
5+
name = "feedback-o-tron"
6+
type = "bug-reporter"
7+
repository = "https://github.com/hyperpolymath/feedback-o-tron"
8+
9+
[reporting-config]
10+
platforms = ["github", "gitlab", "bugzilla"]
11+
deduplication = true
12+
audit-logging = true
13+
auto-file-upstream = "on-external-dependency-failure"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Proven Integration — Formally Verified Safety Library
3+
4+
[integration]
5+
name = "proven"
6+
type = "safety-library"
7+
repository = "https://github.com/hyperpolymath/proven"
8+
version = "1.2.0"
9+
10+
[binding-policy]
11+
approach = "thin-ffi-wrapper"
12+
unsafe-patterns = "replace-with-proven-equivalent"
13+
modules-available = ["SafeMath", "SafeString", "SafeJSON", "SafeURL", "SafeRegex", "SafeSQL", "SafeFile", "SafeTemplate", "SafeCrypto"]
14+
15+
[adoption-guidance]
16+
priority = "high"
17+
scope = "all-string-json-url-crypto-operations"
18+
migration = "incremental — replace unsafe patterns as encountered"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# VeriSimDB Feed — Cross-Repo Analytics Data Store
3+
4+
[integration]
5+
name = "verisimdb"
6+
type = "data-feed"
7+
repository = "https://github.com/hyperpolymath/nextgen-databases"
8+
data-store = "verisimdb-data"
9+
10+
[feed-config]
11+
emit-scan-results = true
12+
emit-build-metrics = true
13+
emit-dependency-graph = true
14+
format = "hexad"
15+
destination = "verisimdb-data/feeds/"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Vexometer Integration — Irritation Surface Analysis
3+
4+
[integration]
5+
name = "vexometer"
6+
type = "friction-measurement"
7+
repository = "https://github.com/hyperpolymath/vexometer"
8+
9+
[measurement-config]
10+
dimensions = 10
11+
emit-isa-reports = true
12+
lazy-eliminator = true
13+
satellite-interventions = true
14+
15+
[hooks]
16+
cli-tools = "measure-on-error"
17+
ui-panels = "measure-on-interaction"
18+
build-failures = "measure-on-failure"

EXPLAINME.adoc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// SPDX-License-Identifier: PMPL-1.0-or-later
2+
= Anamnesis — Show Me The Receipts
3+
:toc:
4+
:icons: font
5+
6+
The README makes claims. This file backs them up.
7+
8+
[quote, README]
9+
____
10+
Anamnesis parses tangled multi-LLM discussion threads, tracks artifact lifecycles (created→modified→removed→evaluated), cross-links related fragments across conversations, and generates clean summaries with content properly bucketed by project/topic.
11+
____
12+
13+
== Technology Choices
14+
15+
[cols="1,2"]
16+
|===
17+
| Technology | Learn More
18+
19+
| **Zig** | https://ziglang.org
20+
| **Idris2 ABI** | https://www.idris-lang.org
21+
|===
22+
23+
== Dogfooded Across The Account
24+
25+
Uses the hyperpolymath ABI/FFI standard (Idris2 + Zig). Same pattern used across
26+
https://github.com/hyperpolymath/proven[proven],
27+
https://github.com/hyperpolymath/burble[burble], and
28+
https://github.com/hyperpolymath/gossamer[gossamer].
29+
30+
== File Map
31+
32+
[cols="1,2"]
33+
|===
34+
| Path | What's There
35+
36+
| `src/` | Source code
37+
| `ffi/` | Foreign function interface
38+
| `test(s)/` | Test suite
39+
|===
40+
41+
== Questions?
42+
43+
Open an issue or reach out directly — happy to explain anything in more detail.

Justfile

Lines changed: 61 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -334,56 +334,67 @@ open-repo:
334334

335335
# Show RSR compliance checklist
336336
rsr-checklist:
337-
@cat << EOF
338-
RSR Compliance Checklist for Anamnesis
339-
340-
1. Type Safety (90%): OCaml, Elixir typespecs, ReScript, Julia
341-
2. Memory Safety (60%): GC languages (OCaml/Elixir/Julia), no unsafe
342-
⚠️ 3. Offline-First (40%): Parser/reasoner offline, Virtuoso local
343-
4. Documentation (100%): README, component docs, architecture
344-
⚠️ 5. Testing (10%): Starter code only, no tests yet
345-
6. Build System (80%): dune, mix, just, flake.nix planned
346-
7. Security (90%): SECURITY.md, .well-known/security.txt
347-
8. Licensing (100%): LICENSE.txt (MIT OR Palimpsest-0.8)
348-
9. Contribution (100%): CONTRIBUTING.md, TPCF Perimeter 2
349-
10. Community (100%): CODE_OF_CONDUCT.md (CCCP-based)
350-
11. Versioning (100%): CHANGELOG.md, semantic versioning
351-
352-
Current Score: 70/100 (Bronze Level) ✅
353-
354-
Next Steps for Silver (85/100):
355-
- Add test infrastructure (all components)
356-
- Achieve 70% test coverage
357-
- Complete offline-first documentation
358-
- Setup Nix flakes for reproducible builds
359-
EOF
337+
#!/usr/bin/env bash
338+
cat << 'EOF'
339+
RSR Compliance Checklist for Anamnesis
340+
341+
[ok] 1. Type Safety (90%): OCaml, Elixir typespecs, ReScript, Julia
342+
[ok] 2. Memory Safety (60%): GC languages (OCaml/Elixir/Julia), no unsafe
343+
[!!] 3. Offline-First (40%): Parser/reasoner offline, Virtuoso local
344+
[ok] 4. Documentation (100%): README, component docs, architecture
345+
[!!] 5. Testing (10%): Starter code only, no tests yet
346+
[ok] 6. Build System (80%): dune, mix, just, flake.nix planned
347+
[ok] 7. Security (90%): SECURITY.md, .well-known/security.txt
348+
[ok] 8. Licensing (100%): LICENSE.txt (MIT OR Palimpsest-0.8)
349+
[ok] 9. Contribution (100%): CONTRIBUTING.md, TPCF Perimeter 2
350+
[ok] 10. Community (100%): CODE_OF_CONDUCT.md (CCCP-based)
351+
[ok] 11. Versioning (100%): CHANGELOG.md, semantic versioning
352+
353+
Current Score: 70/100 (Bronze Level)
354+
355+
Next Steps for Silver (85/100):
356+
- Add test infrastructure (all components)
357+
- Achieve 70% test coverage
358+
- Complete offline-first documentation
359+
- Setup Nix flakes for reproducible builds
360+
EOF
360361
361362
# Show quick start guide
362363
quickstart:
363-
@cat << EOF
364-
Anamnesis Quick Start Guide
365-
366-
1. Setup dependencies:
367-
just setup-all
368-
369-
2. Build all components:
370-
just build-all
371-
372-
3. Run tests:
373-
just test
374-
375-
4. Start development:
376-
just dev
377-
378-
5. Validate before commit:
379-
just validate
380-
381-
For more commands: just --list
382-
For RSR compliance: just rsr-checklist
383-
For help: see README.md and CONTRIBUTING.md
384-
EOF
385-
386-
# [AUTO-GENERATED] Multi-arch / RISC-V target
387-
build-riscv:
388-
@echo "Building for RISC-V..."
389-
cross build --target riscv64gc-unknown-linux-gnu
364+
#!/usr/bin/env bash
365+
cat << 'EOF'
366+
Anamnesis Quick Start Guide
367+
368+
1. Setup dependencies:
369+
just setup-all
370+
371+
2. Build all components:
372+
just build-all
373+
374+
3. Run tests:
375+
just test
376+
377+
4. Start development:
378+
just dev
379+
380+
5. Validate before commit:
381+
just validate
382+
383+
For more commands: just --list
384+
For RSR compliance: just rsr-checklist
385+
For help: see README.md and CONTRIBUTING.md
386+
EOF
387+
388+
# Synchronize A2ML metadata to SCM (Shadow Sync)
389+
sync-metadata:
390+
#!/usr/bin/env bash
391+
echo "Synchronizing metadata (A2ML -> SCM)..."
392+
if [ -f .machine_readable/STATE.a2ml ]; then
393+
COMPLETION=$(grep "completion-percentage:" .machine_readable/STATE.a2ml | awk '{print $2}')
394+
sed -i "s/(overall-completion [0-9]\+)/(overall-completion $COMPLETION)/" .machine_readable/STATE.scm
395+
echo "✓ Metadata synchronized"
396+
fi
397+
398+
# Run panic-attacker pre-commit scan
399+
assail:
400+
@command -v panic-attack >/dev/null 2>&1 && panic-attack assail . || echo "panic-attack not found — install from https://github.com/hyperpolymath/panic-attacker"

0 commit comments

Comments
 (0)