j
This commit is contained in:
1 parent
c10880faca
commit
e871dc3a5f
38 files changed
+603
-63
No files matched your search
@@ -0,0 +1,76 @@
|
||||
# Korolev‑Biography Project
|
||||
|
||||
This repository is a research workflow for a book‑length biography of Sergei Pavlovich Korolev. It contains markdown, JSON, and plain‑text files only – no compiled code. Agents use the Hermes Agent skill to orchestrate tasks.
|
||||
|
||||
## Repository Layout
|
||||
|
||||
```
|
||||
korolev‑biography/
|
||||
├── README.md
|
||||
├── PROJECT_PLAN.md
|
||||
├── PROGRESS.md
|
||||
├── tasks/
|
||||
│ ├── backlog.json # Task definitions
|
||||
│ ├── active.json # Current tasks (ids)
|
||||
│ ├── completed.json
|
||||
│ └── dependencies.json
|
||||
├── research/
|
||||
│ ├── A‑childhood/
|
||||
│ ├── B‑education/
|
||||
│ ├── …
|
||||
├── sources/
|
||||
│ ├── source‑register.json
|
||||
│ └── …
|
||||
├── verification/
|
||||
├── chronology/
|
||||
├── manuscript/
|
||||
├── reviews/
|
||||
└── output/
|
||||
```
|
||||
|
||||
*All files are plain text or JSON; no binaries are tracked.*
|
||||
|
||||
## Build & Test
|
||||
|
||||
There are no build or test commands – the project is purely data. Work is done by creating or editing the files listed above.
|
||||
|
||||
If you wish to validate JSON, use:
|
||||
```
|
||||
python -m json.tool sources/source‑register.json
|
||||
```
|
||||
or the built‑in `jsonlint` if available.
|
||||
|
||||
## Conventions
|
||||
|
||||
* **Task IDs** – Upper‑case letters and numbers (e.g., `A01`, `C05`). See `tasks/backlog.json` for the full list.
|
||||
* **Status** – One of `PENDING`, `RESEARCHING`, `RESEARCHED`, `VERIFYING`, `VERIFIED`, `INTEGRATED`, `BLOCKED`, `NEEDS_MORE_RESEARCH`, `DISPUTED`, `REJECTED`.
|
||||
* **File names** – All markdown files end with `.md`; JSON files use `.json`. Paths inside the repo use forward slashes (`/`).
|
||||
* **Source register** – `sources/source‑register.json` stores a list of source objects with `id`, `title`, `url`, `language`, `type`, `description`, `retrieved_at`. Every claim in a research file must reference a source ID from this list.
|
||||
* **Research output** – Each research file contains a plain‑text report followed by a JSON block with a `sources` array. Do **not** include markdown formatting.
|
||||
* **Verification** – Verification files are plain text and should list any disputed claims, corrections, or verified statements.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
1. **Windows vs POSIX paths** – The Hermes terminal runs MSYS, so use `C:/Users/...` paths for native tools and `/c/Users/...` for bash scripts.
|
||||
2. **Line‑number prefixes** – Some tools prepend `X|` to lines when reading files. Remove these prefixes before using the content.
|
||||
3. **Large JSON files** – `read_file` shows only 2000 lines by default. Use `limit: 0` to read the whole file.
|
||||
4. **Duplicate source IDs** – Never create a source with an ID that already exists; the register must be unique.
|
||||
5. **Editing source‑register.json** – Use `patch` or `write_file` with a full overwrite; partial edits may corrupt the JSON.
|
||||
|
||||
## Agent‑specific Instructions
|
||||
|
||||
* Load the `hermes-agent` skill at session start:
|
||||
```
|
||||
skill_view(name="hermes-agent")
|
||||
```
|
||||
* Use `delegate_task` with a proper `tasks` array. Example:
|
||||
```
|
||||
delegate_task({"action": "spawn", "tasks": [
|
||||
{"goal": "Research A02", "context": "…", "output_schema": {}}]})
|
||||
```
|
||||
* After a task completes, update `tasks/active.json` and move the ID to `tasks/completed.json`.
|
||||
* When writing a new research file, append a JSON source block exactly as shown in the existing examples.
|
||||
|
||||
---
|
||||
|
||||
**End of AGENTS.md**
|
||||
Reference in new issue
Block a user