Add live technical specifications
This commit is contained in:
parent
8cb393472f
commit
537f5f5fcc
10 changed files with 235 additions and 10 deletions
23
AGENTS.md
23
AGENTS.md
|
|
@ -11,7 +11,7 @@ At the beginning of work:
|
|||
3. Read `locations/index.md`.
|
||||
4. Identify the active project from the user request or `projects/index.md`.
|
||||
5. Search global knowledge first: `skills/`, `problems/`, and `locations/`.
|
||||
6. Read the active project's `status.md`, `decisions.md`, `notes.md`, and `agent-log.md` when they exist.
|
||||
6. Read the active project's `status.md`, `technical-spec.md`, `decisions.md`, `notes.md`, and `agent-log.md` when they exist.
|
||||
7. Update project status when a meaningful change happens.
|
||||
|
||||
## Access Requirement
|
||||
|
|
@ -44,6 +44,7 @@ Knowledge that can help more than one project must be stored globally, not only
|
|||
Use project folders only for project-specific state:
|
||||
|
||||
- current status;
|
||||
- current technical specification;
|
||||
- next actions;
|
||||
- project decisions;
|
||||
- project handoffs;
|
||||
|
|
@ -78,9 +79,22 @@ When a problem is solved:
|
|||
When a project changes:
|
||||
|
||||
1. Update `projects/<project>/status.md`.
|
||||
2. Keep `Current State`, `Next Actions`, and `Open Questions` current.
|
||||
3. Add decisions to `decisions.md` if they affect future work.
|
||||
4. Add a short entry to `agent-log.md` with the date, machine, agent name if known, summary, and next handoff.
|
||||
2. Update `projects/<project>/technical-spec.md` when requirements, constraints, functionality, acceptance criteria, or implementation assumptions change.
|
||||
3. Keep `Current State`, `Next Actions`, and `Open Questions` current.
|
||||
4. Add decisions to `decisions.md` if they affect future work.
|
||||
5. Add a short entry to `agent-log.md` with the date, machine, agent name if known, summary, and next handoff.
|
||||
|
||||
## Technical Specification Requests
|
||||
|
||||
Each project should have `projects/<project>/technical-spec.md`.
|
||||
|
||||
When the user asks for a project's technical specification, specification, requirements, or "ТЗ":
|
||||
|
||||
1. Identify the project.
|
||||
2. Read the latest `projects/<project>/technical-spec.md`.
|
||||
3. If dialogue since the last update changed requirements, update the file first.
|
||||
4. Return the current specification to the user.
|
||||
5. Commit and push the update when repository access is available.
|
||||
|
||||
## Multi-Agent Coordination
|
||||
|
||||
|
|
@ -90,6 +104,7 @@ Agents should communicate asynchronously through:
|
|||
|
||||
- `projects/<project>/agent-log.md` for handoffs and status messages;
|
||||
- `projects/<project>/status.md` for current state and next actions;
|
||||
- `projects/<project>/technical-spec.md` for the current technical specification;
|
||||
- `projects/<project>/decisions.md` for durable decisions;
|
||||
- `problems/` for solved issues and reusable fixes that may apply across projects;
|
||||
- `skills/` for repeatable procedures that may apply across projects.
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ Private repository access is required. A link lets an agent locate the repositor
|
|||
- `AGENTS.md` - operating rules for all agents.
|
||||
- `skills/` - reusable agent skills and procedures.
|
||||
- `projects/` - project-specific state, status, next actions, and decisions.
|
||||
- `projects/<project>/technical-spec.md` - current technical specification generated and updated from dialogue.
|
||||
- `projects/<project>/agent-log.md` - cross-agent handoff log for a specific project.
|
||||
- `problems/` - solved problems, symptoms, root causes, and fixes that can be reused across projects.
|
||||
- `locations/` - physical locations, computers, access notes, and environment facts.
|
||||
|
|
|
|||
|
|
@ -16,3 +16,12 @@
|
|||
- Files changed: Updated repository rules and skills so reusable solutions go to global `skills/`, `problems/`, and `locations/`.
|
||||
- Verified: Changes committed locally before push.
|
||||
- Next handoff: Future `garage` work should store simulator-specific status in `projects/garage/`, but reusable engine, physics, GitHub, or agent coordination knowledge must be recorded globally.
|
||||
|
||||
## 2026-05-24 - Live Technical Specification Requirement
|
||||
|
||||
- Machine: current Codex desktop machine.
|
||||
- Agent: Codex.
|
||||
- Summary: User clarified that each project must have a technical specification formed automatically during dialogue and updated as requirements change.
|
||||
- Files changed: Added `projects/garage/technical-spec.md`, `templates/technical-spec.md`, and `skills/live-technical-spec.md`.
|
||||
- Verified: Technical specification file created for current `garage` state.
|
||||
- Next handoff: When the user asks for "ТЗ по проекту garage", return the latest `projects/garage/technical-spec.md` after applying any new conversation updates.
|
||||
|
|
|
|||
77
projects/garage/technical-spec.md
Normal file
77
projects/garage/technical-spec.md
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
# Garage Technical Specification
|
||||
|
||||
## Project
|
||||
|
||||
`garage`
|
||||
|
||||
## Purpose
|
||||
|
||||
Build a simulator where a truck removes snow.
|
||||
|
||||
## Current Scope
|
||||
|
||||
The current scope is a first playable prototype. The implementation platform and engine are not selected yet.
|
||||
|
||||
The prototype should demonstrate:
|
||||
|
||||
- a controllable truck;
|
||||
- a snow-covered area;
|
||||
- a snow-clearing mechanic;
|
||||
- basic progress feedback.
|
||||
|
||||
## Users And Use Cases
|
||||
|
||||
- User: the project owner or tester.
|
||||
- Use case: start the simulator, drive a truck, clear snow from an area, and see that snow removal progress is tracked.
|
||||
|
||||
## Functional Requirements
|
||||
|
||||
- The simulator must include a truck.
|
||||
- The user must be able to control the truck.
|
||||
- The environment must include snow that can be removed, pushed, reduced, or marked as cleared.
|
||||
- The simulator must track snow-clearing progress.
|
||||
- The simulator should provide a basic camera view suitable for driving and observing progress.
|
||||
|
||||
## Non-Functional Requirements
|
||||
|
||||
- The first prototype should be simple enough for fast iteration.
|
||||
- The design should avoid complex realistic snow physics until the basic gameplay loop is verified.
|
||||
- The project should keep technical decisions documented as they are made.
|
||||
|
||||
## Technical Assumptions
|
||||
|
||||
- A browser-based Three.js prototype is a likely default if the user wants fast visual iteration and easy testing.
|
||||
- Unity, Unreal, or Godot may be considered if realistic vehicle physics becomes more important than fast browser iteration.
|
||||
- The first snow mechanic can be grid-based, tile-based, or visual-state-based instead of physically simulated.
|
||||
|
||||
## Data And Assets
|
||||
|
||||
- Truck model or placeholder geometry.
|
||||
- Snow-covered ground or lot.
|
||||
- Cleared-snow visual state.
|
||||
- Basic UI for progress.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- A user can launch the prototype.
|
||||
- A user can drive the truck.
|
||||
- Driving through or using the truck against snow visibly changes snow state.
|
||||
- The simulator shows progress or completion state.
|
||||
- The current project status and technical specification are updated after meaningful changes.
|
||||
|
||||
## Milestones
|
||||
|
||||
- Choose target platform and engine.
|
||||
- Define first prototype architecture.
|
||||
- Build minimal truck movement.
|
||||
- Build minimal snow-clearing mechanic.
|
||||
- Add progress tracking.
|
||||
- Test and record reusable solutions globally.
|
||||
|
||||
## Open Questions
|
||||
|
||||
- Should the first version be browser-based, desktop-based, Unity, Unreal, Godot, or another platform?
|
||||
- Should the simulator be realistic or arcade-style?
|
||||
- Should the first version be 2D, 2.5D, or 3D?
|
||||
- Should the truck use keyboard, gamepad, touch, or AI controls?
|
||||
- Should snow clearing be grid-based, mesh-based, particle-based, or physics-based?
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
Each project should have:
|
||||
|
||||
- `status.md` - current state and next actions.
|
||||
- `technical-spec.md` - current technical specification formed from dialogue.
|
||||
- `decisions.md` - durable decisions and rationale.
|
||||
- `notes.md` - useful context that does not fit elsewhere.
|
||||
- `agent-log.md` - chronological cross-agent handoff log.
|
||||
|
|
|
|||
|
|
@ -5,3 +5,4 @@
|
|||
- `repository-memory.md` - how agents should update this repository after work.
|
||||
- `multi-agent-github-coordination.md` - how agents on different computers coordinate through GitHub.
|
||||
- `global-knowledge-first.md` - how to keep reusable knowledge shared across all projects.
|
||||
- `live-technical-spec.md` - how to maintain and return project technical specifications.
|
||||
|
|
|
|||
55
skills/live-technical-spec.md
Normal file
55
skills/live-technical-spec.md
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Live Technical Specification
|
||||
|
||||
## Purpose
|
||||
|
||||
Maintain an up-to-date technical specification for each project based on dialogue with the user and agent work.
|
||||
|
||||
## Rule
|
||||
|
||||
Every active project should have:
|
||||
|
||||
```text
|
||||
projects/<project>/technical-spec.md
|
||||
```
|
||||
|
||||
This file is the current source of truth for project requirements.
|
||||
|
||||
## When To Update
|
||||
|
||||
Update the technical specification when the user clarifies or changes:
|
||||
|
||||
- project goal;
|
||||
- target platform;
|
||||
- target user;
|
||||
- functional requirements;
|
||||
- non-functional requirements;
|
||||
- technology choices;
|
||||
- constraints;
|
||||
- acceptance criteria;
|
||||
- milestones;
|
||||
- open questions.
|
||||
|
||||
## When The User Asks For TЗ
|
||||
|
||||
When the user asks for the technical specification, requirements, specification, or "ТЗ":
|
||||
|
||||
1. Identify the project.
|
||||
2. Read `projects/<project>/technical-spec.md`.
|
||||
3. Apply any new requirements from the current dialogue.
|
||||
4. Return the current specification.
|
||||
5. Commit and push changes if the file was updated.
|
||||
|
||||
## Specification Structure
|
||||
|
||||
Use this structure unless the project needs something more specific:
|
||||
|
||||
- purpose;
|
||||
- current scope;
|
||||
- users and use cases;
|
||||
- functional requirements;
|
||||
- non-functional requirements;
|
||||
- technical assumptions;
|
||||
- data and assets;
|
||||
- acceptance criteria;
|
||||
- milestones;
|
||||
- open questions.
|
||||
|
|
@ -26,18 +26,19 @@ Use this skill when:
|
|||
3. Read `projects/index.md`.
|
||||
4. Identify the active project.
|
||||
5. Search global knowledge in `skills/`, `problems/`, and `locations/`.
|
||||
6. Read that project's `status.md`, `decisions.md`, `notes.md`, and `agent-log.md`.
|
||||
6. Read that project's `status.md`, `technical-spec.md`, `decisions.md`, `notes.md`, and `agent-log.md`.
|
||||
|
||||
## Handoff Procedure
|
||||
|
||||
After meaningful work:
|
||||
|
||||
1. Update `projects/<project>/status.md`.
|
||||
2. Append a dated entry to `projects/<project>/agent-log.md`.
|
||||
3. Add project-only decisions to `projects/<project>/decisions.md`.
|
||||
4. Add solved issues and reusable fixes to global `problems/`.
|
||||
5. Add reusable procedures to global `skills/`.
|
||||
6. Commit and push the changes.
|
||||
2. Update `projects/<project>/technical-spec.md` if requirements or acceptance criteria changed.
|
||||
3. Append a dated entry to `projects/<project>/agent-log.md`.
|
||||
4. Add project-only decisions to `projects/<project>/decisions.md`.
|
||||
5. Add solved issues and reusable fixes to global `problems/`.
|
||||
6. Add reusable procedures to global `skills/`.
|
||||
7. Commit and push the changes.
|
||||
|
||||
Do not bury reusable solutions inside a project log. Project logs should point to global entries when a solution may help other projects.
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ Global knowledge:
|
|||
Project-specific knowledge:
|
||||
|
||||
- current project status;
|
||||
- current technical specification;
|
||||
- next project actions;
|
||||
- project decisions;
|
||||
- handoff messages;
|
||||
|
|
@ -48,6 +49,23 @@ Project-specific knowledge:
|
|||
|
||||
If in doubt, store the durable solution globally and add a short project reference.
|
||||
|
||||
## Technical Specifications
|
||||
|
||||
Each project should keep a live technical specification at `projects/<project>/technical-spec.md`.
|
||||
|
||||
Agents must update this file when dialogue changes:
|
||||
|
||||
- product goals;
|
||||
- target users;
|
||||
- features;
|
||||
- non-functional requirements;
|
||||
- platform or technology choices;
|
||||
- implementation assumptions;
|
||||
- acceptance criteria;
|
||||
- open questions.
|
||||
|
||||
When the user asks for "ТЗ" or a technical specification, return the current contents of this file after applying any new requirements from the conversation.
|
||||
|
||||
## Minimum Problem Record
|
||||
|
||||
Every solved problem should include:
|
||||
|
|
|
|||
47
templates/technical-spec.md
Normal file
47
templates/technical-spec.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Technical Specification
|
||||
|
||||
## Project
|
||||
|
||||
Project name.
|
||||
|
||||
## Purpose
|
||||
|
||||
What the project should achieve.
|
||||
|
||||
## Current Scope
|
||||
|
||||
What is included in the current version.
|
||||
|
||||
## Users And Use Cases
|
||||
|
||||
- User:
|
||||
- Use case:
|
||||
|
||||
## Functional Requirements
|
||||
|
||||
- Requirement:
|
||||
|
||||
## Non-Functional Requirements
|
||||
|
||||
- Requirement:
|
||||
|
||||
## Technical Assumptions
|
||||
|
||||
- Assumption:
|
||||
|
||||
## Data And Assets
|
||||
|
||||
- Asset or data need:
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- Criterion:
|
||||
|
||||
## Milestones
|
||||
|
||||
- Milestone:
|
||||
|
||||
## Open Questions
|
||||
|
||||
- Question:
|
||||
|
||||
Reference in a new issue