Skip to content

Commit 856f4a6

Browse files
hyperpolymathclaude
andcommitted
chore: deploy UX infrastructure (contractile.just, .well-known, manifest)
Batch deployment of missing UX infrastructure files: - contractile.just (policy enforcement recipes) - .well-known/ (ai.txt, humans.txt, security.txt, groove/) - 0-AI-MANIFEST.a2ml (AI agent entry point) - agent_instructions/ (methodology, coverage, debt) - Justfile with doctor/heal/tour/help-me recipes - setup.sh bootstrap script - llm-warmup-user.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 786a2b6 commit 856f4a6

5 files changed

Lines changed: 244 additions & 0 deletions

File tree

.well-known/ai.txt

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+
# ai.txt - AI interaction policy
3+
# See: https://site.spawning.ai/spawning-ai-txt
4+
5+
User-Agent: *
6+
Disallow-Training: yes
7+
Disallow-Summarization: no
8+
Disallow-Generation: yes
9+
10+
# This project's code is licensed under PMPL-1.0-or-later.
11+
# AI agents may read and analyze this code for assisting contributors.
12+
# AI agents must NOT use this code for model training without explicit consent.
13+
# AI agents must preserve Emotional Lineage per PMPL Section 3.
14+
#
15+
# For AI agent integration instructions, see:
16+
# 0-AI-MANIFEST.a2ml (universal AI entry point)
17+
# AI.a2ml (Claude-specific instructions)
18+
# .machine_readable/ (structured project state)

.well-known/humans.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# humanstxt.org
3+
4+
/* TEAM */
5+
Maintainer: Jonathan D.A. Jewell (hyperpolymath)
6+
Contact: j.d.a.jewell@open.ac.uk
7+
From: United Kingdom
8+
9+
/* SITE */
10+
Last update: 2026-03-28
11+
Standards: RSR (Rhodium Standard Repository)
12+
License: PMPL-1.0-or-later (Palimpsest MPL)
13+
Components: Idris2 ABI, Zig FFI
14+
Tools: just, Podman, Guix

.well-known/security.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# RFC 9116 - security.txt
3+
# https://securitytxt.org/
4+
5+
Contact: mailto:j.d.a.jewell@open.ac.uk
6+
Expires: 2027-12-31T23:59:59.000Z
7+
Preferred-Languages: en
8+
Canonical: https://github.com/hyperpolymath/anvomidav/.well-known/security.txt
9+
Policy: https://github.com/hyperpolymath/anvomidav/blob/main/SECURITY.md

0-AI-MANIFEST.a2ml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# ⚠️ STOP - CRITICAL READING REQUIRED
2+
3+
**THIS FILE MUST BE READ FIRST BY ALL AI AGENTS**
4+
5+
## WHAT IS THIS?
6+
7+
This is the AI manifest for **[YOUR-REPO-NAME]**. It declares:
8+
- Canonical file locations (where things MUST be, and nowhere else)
9+
- Critical invariants (rules that must NEVER be violated)
10+
- Repository structure and organization
11+
12+
## CANONICAL LOCATIONS (UNIVERSAL RULE)
13+
14+
### Machine-Readable Metadata: `.machine_readable/` ONLY
15+
16+
These 6 a2ml files MUST exist in `.machine_readable/` directory ONLY:
17+
1. **STATE.a2ml** - Project state, progress, blockers
18+
2. **META.a2ml** - Architecture decisions, governance
19+
3. **ECOSYSTEM.a2ml** - Position in ecosystem, relationships
20+
4. **AGENTIC.a2ml** - AI agent interaction patterns
21+
5. **NEUROSYM.a2ml** - Neurosymbolic integration config
22+
6. **PLAYBOOK.a2ml** - Operational runbook
23+
24+
**CRITICAL:** If ANY of these files exist in the root directory, this is an ERROR.
25+
26+
### Anchor File: `.machine_readable/anchors/ANCHOR.a2ml` ONLY
27+
28+
Canonical authority and semantic-boundary declaration MUST exist at:
29+
30+
` .machine_readable/anchors/ANCHOR.a2ml `
31+
32+
Do not place `ANCHOR.a2ml` at repository root.
33+
34+
### Maintenance Policies: `.machine_readable/policies/` ONLY
35+
36+
Canonical maintenance/governance files MUST exist under:
37+
38+
` .machine_readable/policies/ `
39+
40+
Minimum required files:
41+
- `MAINTENANCE-AXES.a2ml`
42+
- `MAINTENANCE-CHECKLIST.a2ml`
43+
- `SOFTWARE-DEVELOPMENT-APPROACH.a2ml`
44+
45+
Do not place maintenance policy files in repository root.
46+
47+
### Bot Directives: `.machine_readable/bot_directives/` ONLY
48+
49+
Bot-specific instructions for your automated agents.
50+
51+
### Contractiles: `.machine_readable/contractiles/` ONLY
52+
53+
Policy enforcement contracts (k9, dust, lust, must, trust).
54+
55+
### AI Configuration & Guides: `.machine_readable/ai/` ONLY
56+
57+
- `AI.a2ml` - Language-specific or LLM-specific patterns
58+
- `PLACEHOLDERS.md` - Bootstrap guide
59+
60+
### Community & Forge Metadata: `.github/` ONLY
61+
62+
- `CODEOWNERS` - Review assignments
63+
- `MAINTAINERS` - Machine-readable contact list
64+
- `SUPPORT` - Support channels
65+
- `SECURITY.md` - Technical security policy
66+
- `CONTRIBUTING.md` - Technical contribution manual
67+
- `CODE_OF_CONDUCT.md` - Conduct rules
68+
69+
### Agent Instructions: `.machine_readable/agent_instructions/` ONLY
70+
71+
Methodology-aware AI agent configuration (ADR-002):
72+
- `methodology.a2ml` - Mode, invariants, ring ceiling, priority weights
73+
- `coverage.a2ml` - Session coverage tracking (visited, skipped, MUSTs)
74+
- `debt.a2ml` - Meander debt carried between sessions
75+
76+
Entry points:
77+
- `0-AI-MANIFEST.a2ml` - THIS FILE (universal entry point, read FIRST)
78+
79+
## CORE INVARIANTS
80+
81+
1. **No state file duplication** - Root must NOT contain STATE.a2ml, META.a2ml, etc.
82+
2. **Single source of truth** - `.machine_readable/` is authoritative
83+
3. **No stale metadata** - If root state files exist, they are OUT OF DATE
84+
4. **License consistency** - All code PMPL-1.0-or-later unless platform requires MPL-2.0
85+
5. **Author attribution** - Always "{{AUTHOR}} <{{AUTHOR_EMAIL}}>"
86+
6. **Container images** - MUST use Chainguard base (`cgr.dev/chainguard/wolfi-base:latest` or `cgr.dev/chainguard/static:latest`)
87+
7. **Container runtime** - Podman, never Docker. Files are `Containerfile`, never `Dockerfile`
88+
8. **Container orchestration** - `selur-compose`, never `docker-compose`
89+
90+
## REPOSITORY STRUCTURE
91+
92+
This repo follows the **Dual-Track** architecture:
93+
94+
```
95+
[YOUR-REPO-NAME]/
96+
├── 0-AI-MANIFEST.a2ml # THIS FILE (start here)
97+
├── README.adoc # High-level pitch — excitement and awe (Rich Human)
98+
├── EXPLAINME.adoc # Developer deep-dive — how it works (Rich Nerd)
99+
├── ROADMAP.adoc # Future direction
100+
├── CONTRIBUTING.adoc # Human contribution guide
101+
├── GOVERNANCE.adoc # Decision-making model
102+
├── Justfile # Task runner
103+
├── Containerfile # OCI build
104+
├── LICENSE # Primary license
105+
├── src/ # Source code
106+
│ └── interface/ # Verified Interface Seams
107+
│ ├── abi/ # Idris2 ABI (The Spec)
108+
│ ├── ffi/ # Zig FFI (The Bridge)
109+
│ └── generated/ # C Headers (The Result)
110+
├── container/ # Stapeln container ecosystem
111+
├── docs/ # Technical depths
112+
│ ├── attribution/ # Citations, owners, maintainers (adoc)
113+
│ ├── architecture/ # Topology, diagrams
114+
│ ├── theory/ # Domain theory
115+
│ └── practice/ # Manuals
116+
├── docs/legal/ # Legal exhibits and full texts
117+
└── .machine_readable/ # ALL machine-readable metadata
118+
```
119+
120+
## SESSION STARTUP CHECKLIST
121+
122+
✅ Read THIS file (0-AI-MANIFEST.a2ml) first
123+
✅ Understand canonical location: `.machine_readable/`
124+
✅ State understanding of canonical locations
125+
126+
## ATTESTATION PROOF
127+
128+
**"I have read the AI manifest. All machine-readable content (state files, anchors, policies, bot directives, contractiles, AI guides) is located in `.machine_readable/` ONLY, and community metadata is in `.github/`. I will not create duplicate files in the root directory."**

contractile.just

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Auto-generated by: contractile gen-just
2+
# Source directory: contractiles
3+
# Re-generate with: contractile gen-just --dir contractiles
4+
#
5+
# SPDX-License-Identifier: PMPL-1.0-or-later
6+
7+
# === DUST (Recovery & Rollback) ===
8+
# Source: Dustfile.a2ml
9+
10+
# List available dust recovery actions
11+
dust-status:
12+
@echo ' dust-source-rollback: Revert all source changes to last commit [rollback]'
13+
14+
# Revert all source changes to last commit
15+
dust-source-rollback:
16+
@echo 'Executing rollback for source-rollback'
17+
git checkout HEAD -- .
18+
19+
20+
# === INTEND (Declared Future Intent) ===
21+
# Source: Intentfile.a2ml
22+
23+
# Display declared future intents
24+
intend-list:
25+
@echo '=== Declared Intent ==='
26+
@echo ''
27+
@echo 'Features:'
28+
@echo ''
29+
@echo 'Quality:'
30+
31+
32+
# === MUST (Physical State Checks) ===
33+
# Source: Mustfile.a2ml
34+
35+
# Run all must checks
36+
must-check: must-license-present must-readme-present must-spdx-headers must-no-banned-files
37+
@echo 'All must checks passed'
38+
39+
# LICENSE file must exist
40+
must-license-present:
41+
test -f LICENSE
42+
43+
# README must exist
44+
must-readme-present:
45+
test -f README.adoc || test -f README.md
46+
47+
# Source files should have SPDX license headers
48+
must-spdx-headers:
49+
find . -name '*.rs' -o -name '*.res' -o -name '*.gleam' | head -20 | xargs -r grep -L 'SPDX-License-Identifier' | wc -l | grep -q '^0$'
50+
51+
# No Dockerfiles or Makefiles
52+
must-no-banned-files:
53+
test ! -f Dockerfile && test ! -f Makefile
54+
55+
56+
# === TRUST (Integrity & Provenance Verification) ===
57+
# Source: Trustfile.a2ml
58+
59+
# Run all trust verifications
60+
trust-verify: trust-license-content trust-no-secrets-committed trust-container-images-pinned
61+
@echo 'All trust verifications passed'
62+
63+
# LICENSE contains expected SPDX identifier
64+
trust-license-content:
65+
grep -q 'SPDX\|License\|MIT\|Apache\|PMPL\|MPL' LICENSE
66+
67+
# No .env or credential files in repo
68+
trust-no-secrets-committed:
69+
test ! -f .env && test ! -f credentials.json && test ! -f .env.local
70+
71+
# Containerfile base images use pinned digests
72+
trust-container-images-pinned:
73+
test ! -f Containerfile || grep -q '@sha256:' Containerfile
74+
75+

0 commit comments

Comments
 (0)