L'autonomie d'un agent s'accorde par écrit, jamais par confiance. MANDAT, GOUVERNANCE, hooks de session : un socle de méthode, réutilisable, anonymisé, AGPL v3.
Le harnais : une enveloppe visible, un socle écrit — « SOUL » et « AGENT X » sur la poitrine.
L'autonomie d'un agent est trop souvent accordée par confiance, jamais par écrit. Quand l'agent dérape, personne ne peut dire ce qui était autorisé, interdit, ou validé.
Harnais-Agent résout cela : un cadre écrit (MANDAT, GOUVERNANCE), une validation avant action, une journalisation complète pour l'audit post-mortem.
Templates génériques, anonymisés, réutilisables. Aucune dépendance à un service interne.
Des méthodes éprouvées, transmises sans identité ni secret :
Expliquer quoi, pourquoi, risque, puis demander feu vert avant toute modification. Pas de pause pour la lecture seule.
Vérification factuelle avant de déclarer terminé. Une intention n'est pas un fait.
Sauvegarde d'abord, modification ensuite. Vérifier qu'un snapshot récent existe avant toute écriture productive.
Confirmation (schéma/doc) → Conservation (backup) → Consolidation (test). Le triplet de sûreté.
Détecter, s'arrêter, diagnostiquer, corriger, vérifier. Jamais de contournement : stop + rapport.
Journaliser échecs ET réussites avec leur méthode reproductible. Une réussite sans piège n'apprend presque rien.
Le harnais : un cadre écrit, une vérification avant action, une journalisation pour l'audit.
22 fichiers : templates, principes, grille de vérification, agent de test. Format zip, AGPL v3.
Copier les templates, personnaliser les [crochets], lancer les tests d'intégration.
cp MANDAT_TEMPLATE.md config/MANDAT.md cp GOUVERNANCE_TEMPLATE.yaml config/GOUVERNANCE.yaml bash tests/tests/test_harnais.sh
An agent's autonomy is granted in writing, never by trust. MANDAT, GOUVERNANCE, session hooks: a reusable methodological base, anonymised, AGPL v3.
The harness: a visible shell, a written foundation — “SOUL” and “AGENT X” on the chest.
An agent's autonomy is too often granted by trust, never in writing. When the agent misbehaves, no one can say what was allowed, forbidden, or approved.
Agent Harness fixes this: a written framework (MANDAT, GOUVERNANCE), validation before action, and complete logging for post-mortem audit.
Generic, anonymised, reusable templates. No dependency on an internal service.
Proven methods, transmitted without identity or secrets:
Explain what, why, risk, then ask for the green light before any modification. No pause for read-only.
Factual verification before declaring done. An intention is not a fact.
Backup first, modify second. Check that a recent snapshot exists before any productive write.
Confirmation (schema/doc) → Conservation (backup) → Consolidation (test). The safety triplet.
Detect, stop, diagnose, fix, verify. Never work around: stop + report.
Log failures AND successes with their reproducible method. A success without a pitfall teaches almost nothing.
The harness: a written framework, a check before action, logging for audit.
22 files: templates, principles, verification grid, test agent. Zip format, AGPL v3.
Copy the templates, customise the [brackets], run the integration tests.
cp MANDAT_TEMPLATE.md config/MANDAT.md cp GOUVERNANCE_TEMPLATE.yaml config/GOUVERNANCE.yaml bash tests/tests/test_harnais.sh