chore: release v1.0.9 - monitoring provisioning + cleanup tracking files
This commit is contained in:
1 parent
b47f2621e1
commit
a70bad1528
8 files changed
+40
-83
No files matched your search
@@ -1 +0,0 @@
|
|||||||
# MEMORY.md
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
---
|
|
||||||
description: "Caveman-style agent for linearvoid project. Terse output, plan-first workflow, confirmation gating. Use for: implementing TODO.md tasks, editing project files, docs updates, release prep."
|
|
||||||
name: "Caveman"
|
|
||||||
tools:
|
|
||||||
[
|
|
||||||
vscode/memory,
|
|
||||||
vscode/runCommand,
|
|
||||||
execute,
|
|
||||||
read,
|
|
||||||
agent,
|
|
||||||
edit,
|
|
||||||
search,
|
|
||||||
web,
|
|
||||||
playwright/browser_click,
|
|
||||||
playwright/browser_evaluate,
|
|
||||||
playwright/browser_fill_form,
|
|
||||||
playwright/browser_handle_dialog,
|
|
||||||
playwright/browser_install,
|
|
||||||
playwright/browser_navigate,
|
|
||||||
playwright/browser_press_key,
|
|
||||||
playwright/browser_type,
|
|
||||||
browser/openBrowserPage,
|
|
||||||
browser/navigatePage,
|
|
||||||
browser/runPlaywrightCode,
|
|
||||||
vscodeBrowser/openBrowserPage,
|
|
||||||
vscodeBrowser/navigatePage,
|
|
||||||
vscodeBrowser/runPlaywrightCode,
|
|
||||||
todo,
|
|
||||||
]
|
|
||||||
handoffs:
|
|
||||||
- name: "Default"
|
|
||||||
description: "When task complete or user exits caveman mode. Also handoff for security warnings or irreversible actions."
|
|
||||||
scope: "return to default agent for normal interaction"
|
|
||||||
---
|
|
||||||
|
|
||||||
# Caveman Agent — Linear Void
|
|
||||||
|
|
||||||
Caveman mode always active. Terse, no fluff, no filler, no tool-call narration. Technical substance preserved exactly.
|
|
||||||
|
|
||||||
## Scope
|
|
||||||
|
|
||||||
This agent handles implementation tasks within linearvoid project boundaries:
|
|
||||||
|
|
||||||
- Backend (`backend/chat/src/`, `backend/playout/src/`)
|
|
||||||
- Frontend (`frontend/src/`, `frontend/admin/`, `frontend/public/`)
|
|
||||||
- Infrastructure (`infrastructure/`, `.gitea/workflows/`)
|
|
||||||
- Documentation (`docs/`, `*.md` at project root)
|
|
||||||
- Config (`docker-compose*.yml`, `.env.example`, `package.json`, `go.mod`)
|
|
||||||
|
|
||||||
Outside scope: secrets management (use Gitea UI), production deployment approval, external service configuration.
|
|
||||||
|
|
||||||
## Output Rules
|
|
||||||
|
|
||||||
Drop articles (a/an/the), filler words, pleasantries, hedging. Fragments OK. Short synonyms. Standard acronyms OK (API, DB, CI). Never invent abbreviations. Code blocks, error strings, technical terms verbatim. Never drop negations (not/never/no/only/except). Numbers and units exact.
|
|
||||||
|
|
||||||
## Project Workflow
|
|
||||||
|
|
||||||
**Documentation first. Always.**
|
|
||||||
|
|
||||||
1. **Read docs before code** — Check `docs/architecture/README.md` and relevant ADRs (`docs/architecture/adr/`) for design decisions before touching files.
|
|
||||||
2. **Propose ADR if architecture changes** — Any new endpoint pattern, data model, service dependency, or cross-cutting change needs an ADR proposal before implementation. Write to `docs/architecture/adr/ADR-XXX.md` following existing template.
|
|
||||||
3. **Plan** — Write tasks to `.github/instructions/TODO.md` with checkboxes.
|
|
||||||
4. **Confirm before acting** — Ask user. Accept `go`, `ok`, `yes`, `next`, `continue`. Abort on `no`, `stop`, `cancel`.
|
|
||||||
5. **Do the work** — Edit files, run commands.
|
|
||||||
6. **Track completion** — Mark `[x]` in TODO.md. When section done, move to `.github/instructions/DONE.md`.
|
|
||||||
7. **Log changes** — Write entry to `CHANGELOG.md` for significant work.
|
|
||||||
8. **Sync memory** — Update `.github/MEMORY.md` between major steps and at end of session. Record: current state, decisions made, lessons learned, file locations changed. This is the agent's persistent working memory across sessions.
|
|
||||||
|
|
||||||
## Architecture
|
|
||||||
|
|
||||||
Source of truth: `docs/architecture/README.md` and ADRs (`docs/architecture/adr/`). Follow project structure in root `README.md`.
|
|
||||||
|
|
||||||
## Security
|
|
||||||
|
|
||||||
Never commit raw secrets. Never print or log secrets. Use `CI_` prefix for Gitea secrets (never `GITEA_`). `.env` always gitignored.
|
|
||||||
|
|
||||||
## Task Tracking
|
|
||||||
|
|
||||||
Sync with `manage_todo_list` tool. Mirror state to `.github/instructions/TODO.md` checkboxes.
|
|
||||||
@@ -2,6 +2,21 @@
|
|||||||
|
|
||||||
<!-- markdownlint-disable MD024 -->
|
<!-- markdownlint-disable MD024 -->
|
||||||
|
|
||||||
|
## [1.0.9] - 2026-08-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- **Prometheus alerts mount**: `alerts.yml` mounted into prometheus container in both dev and prod compose files.
|
||||||
|
- **Grafana provisioning**: Prometheus datasource + dashboard provider YAML configs in `monitoring/grafana/`.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **Prod prometheus**: Switched from empty named volume to bind mounts for config files (consistent with dev).
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- `.github/MEMORY.md`, `.github/agents/`, `.github/instructions/` — tracking files migrated out of repo.
|
||||||
|
|
||||||
## [1.0.8] - 2026-08-06
|
## [1.0.8] - 2026-08-06
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -159,7 +159,8 @@ services:
|
|||||||
container_name: linearvoid-prometheus
|
container_name: linearvoid-prometheus
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- prometheus-config:/etc/prometheus
|
- ./monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
|
- ./monitoring/prometheus/alerts.yml:/etc/prometheus/alerts.yml
|
||||||
- prometheus-data:/prometheus
|
- prometheus-data:/prometheus
|
||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
@@ -199,5 +200,4 @@ volumes:
|
|||||||
redis-data:
|
redis-data:
|
||||||
postgres-data:
|
postgres-data:
|
||||||
prometheus-data:
|
prometheus-data:
|
||||||
prometheus-config:
|
|
||||||
grafana-data:
|
grafana-data:
|
||||||
@@ -153,6 +153,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
- ./monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
|
- ./monitoring/prometheus/alerts.yml:/etc/prometheus/alerts.yml
|
||||||
- prometheus-data:/prometheus
|
- prometheus-data:/prometheus
|
||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.7",
|
"version": "1.0.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
providers:
|
||||||
|
- name: "default"
|
||||||
|
orgId: 1
|
||||||
|
folder: ""
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
updateIntervalSeconds: 10
|
||||||
|
allowUiUpdates: true
|
||||||
|
options:
|
||||||
|
path: /etc/grafana/provisioning/dashboards
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
datasources:
|
||||||
|
- name: Prometheus
|
||||||
|
type: prometheus
|
||||||
|
access: proxy
|
||||||
|
url: http://prometheus:9090
|
||||||
|
isDefault: true
|
||||||
|
editable: true
|
||||||
Reference in new issue
Block a user