chore: adopt repo-first agent workflow
Add CLAUDE.md, AGENTS.md, docs (context, ADR, runbooks, handoffs), coordination docs and Gitea issue/PR templates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# ADR 0001: Use ADRs to record architecture decisions
|
||||
|
||||
## Status
|
||||
Accepted
|
||||
|
||||
## Context
|
||||
This project is developed by humans and coding agents across multiple sessions.
|
||||
Important decisions were at risk of being lost in chat history or issue comments.
|
||||
|
||||
## Decision
|
||||
We will store durable architectural decisions in `docs/adr/`.
|
||||
|
||||
## Consequences
|
||||
- Decisions become reviewable and versioned
|
||||
- New contributors and agents can reconstruct project intent
|
||||
- Chat memory is no longer required to understand architecture
|
||||
@@ -0,0 +1,9 @@
|
||||
# ADRs
|
||||
|
||||
This directory stores Architecture Decision Records.
|
||||
|
||||
Rules:
|
||||
- One decision per file
|
||||
- Immutable history: do not rewrite old decisions, supersede them with a new ADR
|
||||
- Use sequential numbering
|
||||
- Link related issues where relevant
|
||||
@@ -0,0 +1,5 @@
|
||||
# Known constraints
|
||||
|
||||
- The Gitea repository (`andrearuffini/officinazuliani` on git.a75.it) is public: no secrets in commits; `.env` stays git-ignored.
|
||||
- Gitea Issues are the task board; no external tracker.
|
||||
- Stack, hosting and deploy target: not decided yet (record the decision as an ADR).
|
||||
@@ -0,0 +1,11 @@
|
||||
# Module map
|
||||
|
||||
No application code yet. Update this file when the stack and structure are introduced.
|
||||
|
||||
## Top-level areas
|
||||
- `docs/` → context, ADRs, runbooks, handoffs
|
||||
- `coordination/` → workflow, labels, issue lifecycle
|
||||
- `.gitea/` → issue and PR templates
|
||||
|
||||
## Important flows
|
||||
- TBD
|
||||
@@ -0,0 +1,11 @@
|
||||
# Product scope
|
||||
|
||||
## What this project does
|
||||
Public website for Officina Zuliani: presents the business, its services, and how to get in touch.
|
||||
|
||||
## Who it serves
|
||||
- Prospective and existing customers looking for services, opening hours, contacts, location
|
||||
- The business owner, who needs to keep content up to date
|
||||
|
||||
## What is out of scope
|
||||
TBD (e.g. online booking, e-commerce, customer accounts — unless decided otherwise in an issue/ADR)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Handoffs
|
||||
|
||||
Use this directory for non-trivial task handoffs between sessions, humans, and coding agents.
|
||||
|
||||
Naming convention:
|
||||
`YYYY-MM-DD-issue-<number>-short-title.md`
|
||||
|
||||
Write a handoff when:
|
||||
- the task spans multiple sessions
|
||||
- the task is blocked
|
||||
- another agent or human may continue the work
|
||||
- there are open risks or partial changes
|
||||
@@ -0,0 +1,27 @@
|
||||
# Handoff
|
||||
|
||||
## Issue
|
||||
#<issue-number> - <title>
|
||||
|
||||
## Goal
|
||||
...
|
||||
|
||||
## Status
|
||||
todo / in-progress / blocked / ready-for-review / done
|
||||
|
||||
## What changed
|
||||
- ...
|
||||
|
||||
## Files touched
|
||||
- ...
|
||||
|
||||
## Tests
|
||||
- Run:
|
||||
- Not run:
|
||||
- Result:
|
||||
|
||||
## Risks / open questions
|
||||
- ...
|
||||
|
||||
## Suggested next step
|
||||
- ...
|
||||
@@ -0,0 +1,9 @@
|
||||
# Runbooks
|
||||
|
||||
Operational how-tos for developers and agents.
|
||||
|
||||
- `local-dev.md` → set up and run the project locally
|
||||
- `testing.md` → run tests and checks
|
||||
- `deploy.md` → build and deploy
|
||||
|
||||
Update these whenever a task changes the developer workflow.
|
||||
@@ -0,0 +1,6 @@
|
||||
# Deploy
|
||||
|
||||
TBD. Hosting target not decided yet — record the choice as an ADR, then document:
|
||||
- Build command and output directory
|
||||
- Deploy procedure
|
||||
- Rollback procedure
|
||||
@@ -0,0 +1,11 @@
|
||||
# Local development
|
||||
|
||||
Stack not chosen yet. Once it is, document here:
|
||||
- Prerequisites (runtime versions, tools)
|
||||
- Install command
|
||||
- Dev server command and URL
|
||||
- Required environment variables (names only, never values)
|
||||
|
||||
## Environment
|
||||
`.env` (git-ignored) currently holds the Gitea API configuration:
|
||||
`GITEA_API_URL`, `GITEA_TOKEN`, `GITEA_OWNER`, `GITEA_REPO`.
|
||||
@@ -0,0 +1,6 @@
|
||||
# Testing
|
||||
|
||||
TBD once the stack is chosen. Document:
|
||||
- Unit/integration test command
|
||||
- Lint / format / typecheck commands
|
||||
- Manual verification checklist (pages render, links work, mobile layout)
|
||||
Reference in New Issue
Block a user