docs: record income analytics completion evidence
This commit is contained in:
@@ -7,6 +7,57 @@ delivery commits, точные verification commands с наблюдёнными
|
|||||||
итог independent read-only review. Записи добавляются после archive и являются
|
итог independent read-only review. Записи добавляются после archive и являются
|
||||||
неизменяемой историей поставки.
|
неизменяемой историей поставки.
|
||||||
|
|
||||||
|
## 2026-08-28-portfolio-income-analytics
|
||||||
|
|
||||||
|
**Change:** portfolio-income-analytics (schema `wealth-ledger-sdd`)
|
||||||
|
**Archive path:** `specs/openspec/changes/archive/2026-08-28-portfolio-income-analytics`
|
||||||
|
**Specs sync:** создан main spec `brokerage-account-income-analytics`; post-archive
|
||||||
|
strict validation подтвердил `23 passed, 0 failed`.
|
||||||
|
|
||||||
|
### Delivery Map
|
||||||
|
|
||||||
|
| Area | Status | Outcome |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| frontend | affected | Account income route, applied-period UI, accessible per-currency trend, realized/forecast sections, overview summary и generated API consumers поставлены. |
|
||||||
|
| backend | affected | Complete Ledger range collection, date/decimal aggregation, income summary/analytics endpoints и additive Future Cash Events totals поставлены. |
|
||||||
|
| specs | affected | Approved change заархивирован, capability синхронизирована в canonical main specs. |
|
||||||
|
| docs | affected | As-built documentation описывает delivered income analytics flow, API boundaries, domain terms и system navigation. |
|
||||||
|
|
||||||
|
### Delivery commits
|
||||||
|
|
||||||
|
| Repo | Commit | Subject |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| frontend | `93645682028947d3fbd212bc9929dd2195715c69` | feat(income): add account income analytics |
|
||||||
|
| backend | `7ba4da0d1b49afcb0db3d1756254e5d5e04f0c35` | feat(income): add account income analytics API |
|
||||||
|
| specs (archive/sync) | `9ac04cdb44cacdad51b60e157a0d8a2f98e3a16a` | docs(specs): archive income analytics change |
|
||||||
|
| docs (as-built) | `cc3b5b0ae5b0e9507e2267c47fb55ea969f2765b` | docs: add account income analytics |
|
||||||
|
| docs (evidence) | current evidence commit | docs: record income analytics completion evidence |
|
||||||
|
|
||||||
|
### Verification
|
||||||
|
|
||||||
|
| Command (repo) | Наблюдённый результат |
|
||||||
|
| --- | --- |
|
||||||
|
| `npm run verify` (frontend) | pass; typecheck, Biome, 22 Vitest files / 84 tests, Knip, dependency-cruiser и production build. |
|
||||||
|
| `npm run verify` (backend) | pass; lint, app/test typecheck, 25 Jest suites / 89 tests и build. |
|
||||||
|
| `PATH=/Users/ksv741/.nvm/versions/node/v22.21.0/bin:$PATH npm run test:openapi-contract` (backend) | pass; 1 suite / 1 test, runtime OpenAPI совпадает с committed frontend snapshot. |
|
||||||
|
| `npm run verify` (docs) | pass; markdownlint без issues и `git diff --check` clean. |
|
||||||
|
| `openspec schema validate wealth-ledger-sdd --verbose` (specs) | pass; schema structure, templates и dependency graph valid. |
|
||||||
|
| `openspec validate portfolio-income-analytics --type change --strict --store wealth-ledger-specs` (specs, pre-archive) | pass; change valid. |
|
||||||
|
| `openspec archive portfolio-income-analytics --yes --store wealth-ledger-specs` (specs) | pass; all tasks complete, capability synced and archived as `2026-08-28-portfolio-income-analytics`. |
|
||||||
|
| `openspec validate --specs --strict --store wealth-ledger-specs` (specs, post-archive) | pass; `23 passed, 0 failed`. |
|
||||||
|
|
||||||
|
Все Tasks были завершены до archive. Semantic verification сопоставила
|
||||||
|
поставленную реализацию с Proposal, Delta Spec, Design и Tasks: backend сохраняет
|
||||||
|
account authorization, exact Money и complete-or-error result; frontend сохраняет
|
||||||
|
source currencies, applied URL period, accessible signed trend и отделённый
|
||||||
|
forecast; OpenAPI snapshot синхронизирован.
|
||||||
|
|
||||||
|
### Independent read-only review
|
||||||
|
|
||||||
|
Verdict: **PASS**. Critical findings — `0`, Important findings — `0`.
|
||||||
|
Validation No. 4 выявила signed-trend deviation; она была исправлена, а
|
||||||
|
Validation No. 5 подтвердила финальный runtime contract без product changes.
|
||||||
|
|
||||||
## 2026-08-27-optimize-agent-token-workflow
|
## 2026-08-27-optimize-agent-token-workflow
|
||||||
|
|
||||||
**Change:** optimize-agent-token-workflow (schema `wealth-ledger-sdd`)
|
**Change:** optimize-agent-token-workflow (schema `wealth-ledger-sdd`)
|
||||||
|
|||||||
Reference in New Issue
Block a user