Skip to content

Commit de679f7

Browse files
authored
Merge pull request #352 from mohabbis/claude/ghost-workflow-automation-qq3pb0
2 parents 3038236 + b5cd668 commit de679f7

5 files changed

Lines changed: 755 additions & 529 deletions

File tree

docs/vertical-accounting-close.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,25 @@ Select Close Pack + period
8282
-> Undo available for the whole run (organizer_undo)
8383
```
8484

85-
### NEW capability 1 — reconciliation
86-
87-
A pure, read-only step over the proposed plan + the pack's expected-docs
88-
checklist. For each client it emits `Present | Missing | Unexpected | Duplicate`
89-
per expected doc type. This is deterministic (counts by classified type against
90-
declared minimums) — **no AI in the decision path**, consistent with rule 1 (AI
91-
may propose classification; the reconcile verdict is arithmetic).
92-
93-
Suggested home: `src-tauri/src/finance/reconcile.rs` (the `finance/` scaffolding
94-
already exists per `docs/enterprise-financial-operations.md`) or a new
95-
`organizer/reconcile.rs`. It touches: **files (read-only)**, no OS input, no
96-
network, no secrets. It produces review-surface data only; it never mutates.
85+
### NEW capability 1 — reconciliation — **implemented (commandless core)**
86+
87+
A pure, read-only step over an expected-docs checklist + the documents already
88+
classified as present. For each client it emits a per-requirement
89+
`Present | Partial | Missing` status (with `found`/`required` counts and the
90+
matched file names) plus any `unexpected` present documents. This is
91+
deterministic (counts by classified `ReportKind` against declared minimums) —
92+
**no AI in the decision path**, consistent with rule 1 (AI may propose
93+
classification; the reconcile verdict is arithmetic).
94+
95+
Landed at `src-tauri/src/finance/close/reconcile.rs` (`CloseChecklist`,
96+
`ExpectedDoc`, `PresentDoc`, `reconcile() -> ReconcileReport`), reusing
97+
`filing::finance::ReportKind` as the doc-type taxonomy and `filing::Period`.
98+
It touches: **nothing** — pure in/struct out, no files, OS input, network, or
99+
secrets, and it never mutates. It stays **commandless**: a Tauri surface on top
100+
must still carry its own module, risk class, policy check, approval, and
101+
audit/undo behavior (see the command table below). Surplus documents (`found >
102+
required`) are surfaced via the count for the human to resolve; the core never
103+
deletes a "duplicate".
97104

98105
### NEW capability 2 — the Close Report (the sellable artifact)
99106

0 commit comments

Comments
 (0)