diff --git a/AGENTS.md b/AGENTS.md index 89520d0..d922ba0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -26,8 +26,7 @@ Objectif : permettre à ce repo d'évoluer de prototype à système fonctionnel, 1. **Initier** la structure du projet si absente (minimale mais propre). 2. **Observer** toute modification et proposer des réorganisations si utile. -3. **Maintenir** `docs/buffer.md` avec la note par défaut indiquant que le projet est vide. -4. **Suggérer** des améliorations ou des modules utiles si vide ou bancal. +3. **Suggérer** des améliorations ou des modules utiles si vide ou bancal. --- @@ -44,15 +43,12 @@ Objectif : permettre à ce repo d'évoluer de prototype à système fonctionnel, ## 🚫 Restrictions strictes - Limite la taille des fichiers à **100 lignes par fichier**. -- Ne touche jamais à un fichier inconnu **sans le documenter** dans `docs/buffer.md`. --- ## 🧬 Références internes - `AGENTS.md` = ton contrat. -- `docs/buffer.md` = mémoire active de l'agent. -- Il ne conserve qu'une note concise : "Project is blank. Ask the user to understand project objective and personalize it.". - Ne pas y enregistrer l'historique des actions. - `docs/` = la stratégie long terme. - `docs/knowledge-ethics.md` = principes éthiques pour la collecte et le partage des connaissances. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d3f343c..77a2305 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ Thanks for your interest in improving this project! - Fork the repository and create a branch for your changes. -- Keep files under 100 lines. `docs/buffer.md` stores only the default note. +- Keep files under 100 lines. - Run `npm install` once, then `npm test` to validate. - Submit a pull request describing your updates. diff --git a/README.md b/README.md index 1266ad3..5de398f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ This repository is a playground for an autonomous AI agent. Fork it or clone it, ## How it works - `AGENTS.md` – the rules the agent must follow. -- `docs/buffer.md` – default note about the project being blank. - `docs/` – long term strategy and notes. - `docs/knowledge-ethics.md` – ethical guidelines for reliable information. - `src/`, `tests/` – code and targets to defeat. @@ -36,11 +35,9 @@ This project is designed to be driven by a **Codex**-type AI (such as ChatGPT or ### Interaction Flow 1. Read `AGENTS.md` to understand the behaviour rules. -2. Check `docs/buffer.md` for the default note. -3. Propose or apply changes in `src/`, `docs/`, etc. -4. No log is kept in `docs/buffer.md`. -5. Use `docs/roadmap.md` to plan future evolution. -6. Run `npm test` if significant changes are made. +2. Propose or apply changes in `src/`, `docs/`, etc. +3. Use `docs/roadmap.md` to plan future evolution. +4. Run `npm test` if significant changes are made. ## License This project is distributed under the Creative Commons BY-SA 4.0 license. See [LICENSE](LICENSE) for details. diff --git a/docs/README.md b/docs/README.md index d493cf9..eebdcd7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,6 +4,6 @@ This folder stores the project's long-term memory. Keep pages concise and update them whenever the code changes. Link documents to each other so topics remain easy to explore. -See [index](index.md) for the main chapters and consult `docs/buffer.md` for any -temporary notes. The [knowledge ethics](knowledge-ethics.md) page lists guiding -principles for trustworthy content. +See [index](index.md) for the main chapters. The +[knowledge ethics](knowledge-ethics.md) page lists guiding principles for +trustworthy content. diff --git a/docs/buffer.md b/docs/buffer.md deleted file mode 100644 index 284c6e5..0000000 --- a/docs/buffer.md +++ /dev/null @@ -1,25 +0,0 @@ -# Utilisation du buffer -- Project is blank. Ask the user to understand project objective and personalize it. - -Le fichier `docs/buffer.md` sert de **mémoire active** pour l'agent. Il ne doit pas devenir un journal de bord. - -## Règles principales -- Limiter le contenu à 30 lignes (hors commentaires). -- Chaque ligne résume une directive potentiellement temporaire. -- Supprimer les notes transférées dans la documentation. - -## Exemple minimal - -```md -- Vérifie avec attention le AGENTS.md et propose des évolutions. -- Le readme.md est en cours de finalisation. -- Utilise la librairie globale de tests. -``` - -Conservez uniquement ces notes éphémères qui orientent l'étape à venir. - -Régulièrement, nettoyez ce fichier et soit : -- Antérinez les règles dans une documentation dédiée -- Supprimez la règle obsolète. - -- Ajout du dossier docs/specs pour accueillir les spécifications. diff --git a/tests/docs.test.js b/tests/docs.test.js index 6c705c4..2cf2da7 100644 --- a/tests/docs.test.js +++ b/tests/docs.test.js @@ -31,10 +31,3 @@ describe('Documentation build', () => { }); }); -describe('buffer.md', () => { - it('buffer.md should not exceed 30 non-comment lines', () => { - const content = readFileSync('docs/buffer.md', 'utf8'); - const lines = content.split('\n').filter(l => l.trim() !== '' && !l.startsWith('#')); - expect(lines.length).toBeLessThanOrEqual(30); - }); -})