diff --git a/AGENTS.md b/AGENTS.md index 3d5dd2e..54c13da 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,52 +1,4 @@ -# AGENTS.md — AgentMaurice Modules +# Instructions AgentMaurice -This repository contains reusable AgentMaurice application Modules and -synthetic offline tests. Preserve Module V2 contracts, stable resource IDs, -versions and historical hashes. Keep consumer configuration, credentials, -runtime identities, business data, backups and private evidence outside it. -Use English for new repository documentation and tooling; historical content -is migrated through the dedicated language/runtime work. - - -## Socle commun AgentMaurice - -Bloc synchronisé depuis `pilote-maurice/workspace/AGENTS-common.md`. Ne pas l'éditer dans un autre dépôt. Contrôle : `python3 scripts/agents_sync.py --check` depuis pilote-maurice. Le détail est dans `wiki/operations/usine-logicielle.md` et `wiki/operations/agent-coding-guidelines.md`, lus à la demande. - -**Invariants.** Logiciel propriétaire, ni open source ni open core. Français, termes techniques en anglais. L'identifiant interne interdit (`wiki/SCHEMA.md`) n'apparaît pas dans un contenu public. Une question ne modifie aucun fichier. Ne jamais éditer `_archive/`. On n'annonce « terminé » ou « tests OK » qu'après la vérification. - -**Cycle et preuve.** `WORKFLOW.md` à la racine de chatserver, de l'OS et de la Console. - -**Avant le patch.** Pour une règle partagée, pars d’un parcours qui applique déjà la règle, remonte jusqu’au code qui prend la décision et repère les autres parcours qui doivent la suivre. Modifie la règle à cet endroit. - -**Carte de code.** Si `ripwire` est dans le `PATH`, l'utiliser d'abord (`wiki/operations/ripwire-code-context.md`). Sinon le MCP `code-review-graph`. S'ils manquent, Grep, Glob ou Read. Vérifiable, sous-agents compris : le compte rendu cite la commande ripwire, ou porte la mention « graphe indisponible, exploration par lecture ». - -**Release.** `task release:local` depuis la racine du workspace (`wiki/operations/local-release-gate.md`). Ce n'est pas le cycle d'une feature. - -**Navigation.** `wiki/INDEX.md`, puis l'article du sujet. - - -## Repository workflow - -The canonical remote is `https://github.com/agentmaurice/modules.git`. -Use a ticket branch, GitHub pull request and the existing offline GitHub Actions -workflow. Track Plane and the workspace entry through pilote-maurice. The -GitLab-only submit tooling does not manage this GitHub repository; record its -native PR and CI evidence in the same ticket. Never change a runtime from CI -or approve a human action on another person's behalf. - -## Layout and checks - -Each application Module has its own top-level directory. `tooling/` contains -generators, composers and development tests; `templates/company-in-a-box/` -contains consumer assembly and test plans. `modules.json`, -`inventory/modules.json` and the template pins are generated by -`scripts/inventory.py`. Edit their generator, then regenerate and check. -`catalog.json`, the public enriched index, is generated by `scripts/catalog.py` -from the manifests and the hand-written `catalog/.yaml` files; -edit those, then regenerate. The repository is public: nothing committed here -may hold a secret, customer data, an internal identifier or an internal URL. - -Before submission run `python3 scripts/inventory.py --check`, -`python3 scripts/catalog.py --check`, `python3 scripts/check.py`, `PYTHONDONTWRITEBYTECODE=1 python3 scripts/test.py` -and `git diff --check`. Keep the existing secret/distribution checks enabled. -Source changes alone do not qualify runtime installation or business use. +Lis la politique commune, puis le README.md de ce dépôt avant de travailler. +https://raw.githubusercontent.com/agentmaurice/mauricecli/main/docs/agent-instructions.md diff --git a/README.md b/README.md index 2bf39c9..4c49a1b 100644 --- a/README.md +++ b/README.md @@ -77,3 +77,40 @@ Tests run on temporary copies. Read the [testing guide](docs/TESTING.md), Offline CI proves these checks; runtime and business acceptance are separate. AgentMaurice proprietary software. See [NOTICE](NOTICE). + +## Consignes locales pour les agents + +This repository contains reusable AgentMaurice application Modules and +synthetic offline tests. Preserve Module V2 contracts, stable resource IDs, +versions and historical hashes. Keep consumer configuration, credentials, +runtime identities, business data, backups and private evidence outside it. +Use English for new repository documentation and tooling; historical content +is migrated through the dedicated language/runtime work. + + + +### Repository workflow + +The canonical remote is `https://github.com/agentmaurice/modules.git`. +Use a ticket branch, GitHub pull request and the existing offline GitHub Actions +workflow. Track Plane and the workspace entry through pilote-maurice. The +GitLab-only submit tooling does not manage this GitHub repository; record its +native PR and CI evidence in the same ticket. Never change a runtime from CI +or approve a human action on another person's behalf. + +### Layout and checks + +Each application Module has its own top-level directory. `tooling/` contains +generators, composers and development tests; `templates/company-in-a-box/` +contains consumer assembly and test plans. `modules.json`, +`inventory/modules.json` and the template pins are generated by +`scripts/inventory.py`. Edit their generator, then regenerate and check. +`catalog.json`, the public enriched index, is generated by `scripts/catalog.py` +from the manifests and the hand-written `catalog/.yaml` files; +edit those, then regenerate. The repository is public: nothing committed here +may hold a secret, customer data, an internal identifier or an internal URL. + +Before submission run `python3 scripts/inventory.py --check`, +`python3 scripts/catalog.py --check`, `python3 scripts/check.py`, `PYTHONDONTWRITEBYTECODE=1 python3 scripts/test.py` +and `git diff --check`. Keep the existing secret/distribution checks enabled. +Source changes alone do not qualify runtime installation or business use.