Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
25 changes: 0 additions & 25 deletions docs/buffer.md

This file was deleted.

7 changes: 0 additions & 7 deletions tests/docs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
})
Loading