@davoodmehraban89 / Aram-2 Mirror · read-only
Fork 0

Mirrored from https://github.com/davoodmehraban89/Aram.git

Synced Dec 3, 15:45 UTC

codex/windows-native-pilot-shell-20261030
add-index-html-10623938925177053894 arena/094f314c-aram chatgpt-phase1b2-autopilot codex/adr-future-connectors-pi-v1 codex/aram-account-note-source-trace-20261031 codex/aram-actions-node24-maintenance-20261031 codex/aram-analyst-review-workbook-20261031 codex/aram-bs-candidate-statement-20261031 codex/aram-cash-flow-direct-candidate-20261031 codex/aram-clean-reference-year-integrity-20261030 codex/aram-cross-statement-controls-20261031 codex/aram-equity-changes-candidate-20261031 codex/aram-five-statement-cli-20261031 codex/aram-five-statement-integration-20261031 codex/aram-five-statement-orchestrator-20261031 codex/aram-gate3-coverage-target-guard-20261030 codex/aram-gate3-hidden-xlsx-guard-20261030 codex/aram-gate3-integration-validation-20261030 codex/aram-gate3-mapping-change-preview-20261030 codex/aram-gate3-stale-note-guard-20261030 codex/aram-income-statement-candidate-20261031 codex/aram-manifest-referential-integrity-20261031 codex/aram-mapping-source-parser-20261101 codex/aram-multidimensional-mapping-20261101 codex/aram-multistatement-mapping-20261031 codex/aram-pipeline-manifest-schema-20261031 codex/aram-readonly-mapping-coverage-20261031 codex/aram-reconciliation-review-gate-20261031 codex/aram-same-flush-fiscal-lock-20261030 codex/aram-synthetic-windows-demo-20261031 codex/aram-trial-balance-diagnostic-20261031 codex/aram-windows-background-detail-search-20261031 codex/aram-windows-detail-review-20261031 codex/aram-windows-five-statement-pilot-20261031 codex/aram-windows-statement-figures-20261031 codex/gate-2a-pilot-workbook codex/gate-2a-pilot-workbook-6864754244772568979 codex/gate3-authenticated-principal-boundary-20261030 codex/gate3-authored-draft-staging-20261030 codex/gate3-carry-forward-preview-20261023 codex/gate3-draft-staging-audit-20261030 codex/gate3-mapping-batch-freshness-20261030 codex/gate3-mapping-batch-review-20261030 codex/gate3-mapping-core codex/gate3-mapping-coverage-20261023 codex/gate3-mapping-excel-20261023 codex/gate3-note-mapping-review-20261023 codex/gate3-signed-year-scope-20261030 codex/gate3-unapproved-proposal-storage-20261030 codex/payvast-mapping-discovery-20261023 codex/phase-2a-backend-foundation codex/phase-2b-post-merge-record codex/phase-2b-source-registration codex/phase-2b-source-registration-12955190277775369594 codex/post-gate2a-control-reconciliation codex/post-pr18-acceptance-record codex/project-control-foundation codex/t1-repo-hygiene-20261023 codex/t2-ci-hardening-20261023 codex/t3-explicit-migrations-20261023 codex/t6a-readonly-diagnostics-20261023 codex/v1-01-safety-gate-hardening codex/v1-year-isolation-followup-20261023 codex/windows-native-pilot-shell-20261030 docs/aram-master-control-plan-20261111 docs/aram-roadmap-dashboard-20261030 docs/financial-statement-reconciliation-1402-1404-20261110 feat/gate3-governed-mapping-20261101 feat/gate3-package9-1-security-20261103 feat/gate3-package9-isolated-20261103 fix/password-unicode-validation-20261111 governance/aram-5-1-3-controls-20261030 governance/role-based-operating-model jules-1168663913887856558-73b8a885 jules-gate-2b-mapping-workflow-foundation-4137724387867065330 phase-1b1-audit-report-7365389436990903239 phase-2a-backend-foundation-10237597358138521261 phase1b2-postmerge-metadata-fix refactor/drg-parent-year-id-15088443704684163304 source-data-cleanup
md 46.9 KB

Project Log

This is an append-only operational log. Never delete or rewrite accepted entries. Corrections must be added as new entries that reference the original entry.

Required entry fields

Each new entry must record: UTC timestamp, actor, task/phase, base branch and SHA, working branch, PR number/URL, commit SHA, exact changed files, test command, GitHub Actions run URL/result, artifact or release URL, acceptance status, reviewer, remaining risks, and next action. Unknown evidence must be written as NOT_VERIFIED, never guessed.

Historical entries imported from GitHub

2026-08-18T11:08:12Z — Phase 1B-1

  • Actor: Jules / repository owner
  • Base: source-data-cleanup@d18287a74c9453e8071ed03db6b369805b5ccde3
  • Working branch: phase-1b1-audit-report-7365389436990903239
  • PR: #1
  • Head SHA: a3e3f675ca637b5ab719b1d6e5fc37c9fb47f707
  • Merge SHA: cd074095c3d63a4a2da1ab8490ce772f555fc91d
  • Changed files: 3; exact list available in the PR
  • Tests / CI / artifacts: NOT_VERIFIED
  • Acceptance: VERIFIED_AND_MERGED
  • Reviewer: repository owner
  • Remaining risk: historical test evidence not recorded here
  • Next action: Phase 1B-2

2026-08-19T16:29:06Z — Phase 1B-2 corrections

  • Actor: Jules / repository owner
  • Base: source-data-cleanup@cd074095c3d63a4a2da1ab8490ce772f555fc91d
  • Working branch: jules-1168663913887856558-73b8a885
  • PR: #4
  • Head SHA: ce77f7511066ff85845e6d1f383f20a264f4730b
  • Merge SHA: f8084268c1080595d9da672d490834ed677ad77f
  • Changed files: 7; exact list available in the PR
  • Tests / CI / artifacts: NOT_VERIFIED
  • Acceptance: VERIFIED_AND_MERGED
  • Reviewer: repository owner
  • Remaining risk: claims must still be interpreted against the source evidence
  • Next action: Phase 2A

2026-08-20T18:53:39Z — Phase 2A backend foundation

  • Actor: ChatGPT/Codex implementation; repository owner
  • Base: source-data-cleanup@f8084268c1080595d9da672d490834ed677ad77f
  • Working branch: codex/phase-2a-backend-foundation
  • PR: #6
  • Head SHA: 2bcf2b3cbab6d3df1d9340397cec43e363aec8f7
  • Merge SHA: 84b19ef1a6efe3e82291a565829ba3e1fc47d246
  • Changed files: 18; exact list available in the PR
  • Reported test command: cd backend && pytest
  • GitHub Actions: reported successful in PR; direct run URL not recorded here
  • Artifacts: none
  • Acceptance: VERIFIED_AND_MERGED
  • Reviewer: repository owner
  • Remaining risk: preserve data and fiscal-year invariants
  • Next action: focused ingestion work

2026-08-24T00:34:12Z — Model refactor

  • Actor: Jules / repository owner
  • Base: source-data-cleanup@84b19ef1a6efe3e82291a565829ba3e1fc47d246
  • Working branch: refactor/drg-parent-year-id-15088443704684163304
  • PR: #8
  • Head SHA: b602ced45b04ac0876acac2dcca381d72de38c27
  • Merge SHA: 5122fd052ebe0ffe0e07dbb8153a872a4f047355
  • Changed files: backend/src/aram_backend/models.py
  • Reported test command: python -m pytest backend/tests/
  • GitHub Actions URL: NOT_VERIFIED
  • Artifacts: none
  • Acceptance: VERIFIED_AND_MERGED
  • Reviewer: repository owner
  • Remaining risk: none newly recorded
  • Next action: Phase 2B review

2026-08-24T00:34:36Z — Parallel V1 prototype closed

  • Actor: Jules / repository owner
  • Base: source-data-cleanup@84b19ef1a6efe3e82291a565829ba3e1fc47d246
  • Working branch: phase-2a-backend-foundation-10237597358138521261
  • PR: #7
  • Head SHA: a06aab6f2e2c50ec8111316b1a689fb71660c000
  • Merge SHA: none
  • Changed files: 94; exact list available in the PR
  • Tests / GitHub Actions / official release: NOT_VERIFIED
  • Branch artifacts: present in the unmerged PR; not accepted release assets
  • Acceptance: VERIFIED_BUT_UNMERGED; closed, superseded/out of scope
  • Reviewer: repository owner
  • Remaining risk: large parallel implementation; do not merge directly
  • Next action: recover feature-by-feature through focused PRs

2026-08-24T01:34:25Z — Phase 2B ingestion foundation opened

  • Actor: ChatGPT/Codex implementation; repository owner
  • Base: source-data-cleanup@5122fd052ebe0ffe0e07dbb8153a872a4f047355
  • Working branch: codex/phase-2b-source-registration
  • PR: #9
  • Head SHA at import: 8b141d793ad2d534fdf7399bb79d101d53ae29af
  • Changed files: 8; exact list available in the PR
  • Reported test command: pytest
  • Reported GitHub Actions: success; direct run URL must be checked during review
  • Artifacts: none
  • Acceptance: IN_PROGRESS; draft, not merged
  • Reviewer: pending independent review
  • Remaining risk: evidence and diff review incomplete
  • Next action: review before any acceptance

[2026-08-24] Phase 2B Replacement Candidate (PR #12)

  • Recorded PR #10 governance merge in PROJECT_STATUS.md.
  • Created and recorded PR #12 as the replacement candidate for Phase 2B, superseding PR #9.
  • Current active branch: codex/phase-2b-source-registration-12955190277775369594
  • Base SHA: a41b07d7a7dd192c3ae4a277eb4903327883456f
  • Verified CI evidence: GitHub Backend CI run #16 successful on PR #12.
  • Updated docs to ensure Phase 2B metadata-registration conflict rejection is thoroughly tested and verified.

2026-08-24T08:00:00Z — PR #12 corrective evidence and documentation finalization

  • Actor: Jules implementation; ChatGPT/Codex independent remote verification and documentation correction
  • Task/phase: Phase 2B ingestion foundation replacement candidate
  • Base: source-data-cleanup@a41b07d7a7dd192c3ae4a277eb4903327883456f
  • Working branch: codex/phase-2b-source-registration-12955190277775369594
  • PR: #12
  • Independently reviewed implementation head: 9e90533658e400a51402db673efae9cbd0aa37d1
  • Changed files at reviewed head: PROJECT_STATUS.md, backend/README.md, backend/pyproject.toml, backend/src/aram_backend/ingestion.py, backend/src/aram_backend/ledger_parser.py, backend/src/aram_backend/workbook_inspection.py, backend/tests/test_ingestion.py, backend/tests/test_ledger_parser.py, backend/tests/test_workbook_inspection.py, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md
  • Regression evidence: exact duplicate remains idempotent; same-year/same-hash conflicts in document type, filename, or both raise SourceRegistrationError; each rejection leaves one unchanged original SourceDocument
  • Reported local verification by Jules: full backend pytest suite, compileall, Alembic upgrade/downgrade round-trip, and git diff --check passed; exact pytest count was not independently captured and remains NOT_VERIFIED
  • GitHub Actions: Backend CI run #17, success
  • Artifacts/releases: none
  • Protected data: the complete PR filename list contains no canonical XLSX/PDF, data/, database, ZIP, EXE, or financial-source file
  • Acceptance: IN_PROGRESS; Draft and unmerged
  • Reviewer: ChatGPT/Codex candidate-requirements review; final acceptance pending
  • Remaining risks: final documentation commits require their own CI result; independent acceptance decision is not yet recorded
  • Recovery: close PR #12 without merging to leave the accepted branch unchanged
  • Next action: independently review the final remote head and record an explicit decision

2026-08-24T08:35:40Z — Phase 2B accepted; superseded candidate closed

  • Actor: ChatGPT/Codex independent reviewer; repository owner authorization
  • Task/phase: Phase 2B ingestion foundation acceptance and post-merge control reconciliation
  • Accepted base before merge: source-data-cleanup@a41b07d7a7dd192c3ae4a277eb4903327883456f
  • Accepted branch after merge: source-data-cleanup@7b5bd79b760d534dad34b3162f770e838616ebe9
  • Accepted PR: #12
  • Reviewed PR #12 head: f7cb6abb7caf3f1c0c28d402ae41b0e3c005a280
  • Merge method and SHA: squash; 7b5bd79b760d534dad34b3162f770e838616ebe9
  • Final PR #12 GitHub Actions: Backend CI run #21, success
  • Test evidence: 42 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded
  • Superseded PR: #9, closed without merge
  • Post-merge control branch: codex/phase-2b-post-merge-record
  • Post-merge control PR: #13
  • PR #13 base: source-data-cleanup@7b5bd79b760d534dad34b3162f770e838616ebe9
  • PR #13 changed files: PROJECT_STATUS.md, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md
  • PR #13 tests / CI / artifacts: documentation-only; no backend workflow triggered; artifacts NONE
  • Protected data: no application code, tests, workflows, canonical XLSX/PDF, data/, database, binary, ZIP, EXE, or financial-source file changed
  • Acceptance: PR #12 VERIFIED_AND_MERGED; PR #9 closed unmerged; PR #13 IN_PROGRESS
  • Reviewer: PR #12 independently accepted by ChatGPT/Codex with explicit repository-owner merge authorization; PR #13 review pending
  • Recovery: revert merge commit 7b5bd79b760d534dad34b3162f770e838616ebe9 through a separately reviewed rollback PR if Phase 2B must be withdrawn
  • Remaining risk: PR #13 must be independently reviewed before its documentation becomes accepted
  • Next action: review PR #13, then select the next focused Issue #11 roadmap task

2026-08-24T09:29:00Z — Gate 2A implementation candidate prepared

  • Actor: ChatGPT/Codex implementation
  • Task/phase: Issue #14, Pilot workbook contract and read-only preflight
  • Base: source-data-cleanup@7c7533ee87146dc8fc78b46ebf423be55532c7eb
  • Working branch: codex/gate-2a-pilot-workbook
  • Scope: typed in-memory preflight, reproducible blank workbook generator, approved blank template, contract, regression tests, and control records
  • Local focused verification: 9 targeted preflight scenarios passed through a direct Python harness; compileall succeeded
  • Full pytest/Alembic: pending GitHub Backend CI because the automation runtime could not install the repository test dependencies from the external package index
  • Template SHA-256: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f
  • Protected data: no canonical XLSX/PDF, data/, database, financial-source, migration, workflow, ZIP, EXE, desktop, or release file changed
  • Acceptance: IN_PROGRESS; Draft and unmerged
  • Remaining risks: full Backend CI and independent diff review are required
  • Recovery: close the Draft PR without merge; accepted branch remains unchanged

2026-08-24T09:40:00Z — Gate 2A Draft PR and CI verified

  • Draft PR: #15
  • Published head: 8b0431b54392e3c19ae995e2b38bdf08a56a0473
  • Changed files: 9, all within the Issue #14 allowlist
  • GitHub Actions: Backend CI run #23, success
  • Test evidence: 52 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded
  • PR state: Draft, open, mergeable, and unmerged
  • Acceptance: IN_PROGRESS; independent diff review and explicit merge decision remain required

2026-08-25T06:30:00Z — Post-Gate-2A control reconciliation and stale-work cleanup

  • Actor: Codex successor project manager / independent GitHub reviewer; cleanup authorized by repository owner
  • Task/phase: reconcile accepted Gate 2A evidence, close its duplicate candidate, and block stale-base Gate 2B work before continuation
  • Accepted base: source-data-cleanup@4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
  • Working branch: codex/post-gate2a-control-reconciliation
  • PR: #18, Draft and unmerged
  • Initial publication commit: c6eefc26955c694c388371bcfaa96452b1b5f469
  • Exact changed files planned/finalized: PROJECT_STATUS.md, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md, docs/handoff/MASTER_RECOVERY_PROMPT.md
  • Accepted Gate 2A evidence: PR #15, reviewed head 74b6a6397a2a2c9199a5c7bcf818bb661b2ebe06, squash merge 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
  • Final Gate 2A GitHub Actions: Backend CI run #24, success; 52 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded
  • Pilot template SHA-256 independently recomputed from the accepted GitHub file: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f
  • Superseded duplicate: PR #16 closed without merge on 2026-08-25 after an evidence comment; it duplicated accepted Gate 2A, was dirty, and recorded incorrect merge SHA 35d45c3f200672a6ef97f13a84cf7c823ecf1bb8
  • Closed reference candidate: PR #17, base 7c7533ee87146dc8fc78b46ebf423be55532c7eb, head 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18; closed without merge on 2026-08-25 after an evidence comment; its green stale-head CI does not prove compatibility and no content is accepted
  • Tests for PR #18: documentation-only; backend pytest and migration execution are not applicable; final remote diff and changed-file review remain mandatory
  • GitHub Actions for PR #18: NOT_VERIFIED at entry creation; documentation-only paths may not trigger Backend CI
  • Artifacts/releases: NONE
  • Protected data: no application code, workflow, migration, XLSX/PDF, data/, database, financial-source, binary, ZIP, EXE, or release file changed
  • Acceptance: IN_PROGRESS; PR #18 is not merged and requires independent final-head review plus explicit repository-owner authorization
  • Reviewer: final PR #18 reviewer pending
  • Issue metadata: Issue #14 closed as completed with verified PR #15 evidence; Issue #11 updated to mark Gate 2 accepted and Gate 3 blocked pending PR #18
  • Recovery: close PR #18 without merge; accepted branch remains at 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
  • Remaining risks: branch protection is disabled; PR #17 reference work remains unaccepted; Mapping/UI/release work is incomplete
  • Next action: independently review Draft PR #18; do not start or merge Gate 2B work before the control decision

2026-08-25T06:46:16Z — PR #18 accepted; time-bound candidate record reconciled

  • Actor: ChatGPT/Codex independent reviewer; repository owner explicit authorization
  • Task/phase: accept the post-Gate-2A control reconciliation and correct the preceding time-bound candidate snapshot
  • Accepted base before merge: source-data-cleanup@4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
  • Working branch: codex/post-gate2a-control-reconciliation
  • PR: #18
  • Reviewed PR head: fcbeb7387218e9ab294318ae462ed59de717fc95
  • Merge method and SHA: squash; f213d321ff4cd7d3d6fa65ba78dc48f090ee846b
  • Exact changed files: PROJECT_STATUS.md, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md, docs/handoff/MASTER_RECOVERY_PROMPT.md
  • Tests: documentation-only; backend pytest, migration execution, and compileall were not applicable
  • GitHub Actions: no workflow run was associated with reviewed head fcbeb7387218e9ab294318ae462ed59de717fc95; documentation-only paths did not trigger Backend CI
  • Artifacts/releases: NONE
  • Protected data: no application code, tests, workflow, migration, dependency, XLSX/PDF, data/, database, financial-source, binary, ZIP, EXE, artifact, or release file changed
  • Acceptance: VERIFIED_AND_MERGED
  • Reviewer: ChatGPT/Codex after full remote four-file diff review and Davood's explicit merge authorization
  • Correction note: the preceding 2026-08-25T06:30:00Z entry is preserved as an accurate historical candidate snapshot; its Draft/unmerged and pending-review statements are no longer current
  • Issue metadata: Issue #11 was reconciled after the merge; Gate 3 is ready for a new focused task definition, while closed PR #17 remains reference-only
  • Recovery: revert merge commit f213d321ff4cd7d3d6fa65ba78dc48f090ee846b through a separately reviewed rollback PR if the accepted control reconciliation must be withdrawn
  • Remaining risks: the accepted branch is unprotected; Mapping, note/sub-note workflow/UI, reproducible Windows packaging, and end-to-end Pilot acceptance remain incomplete
  • Next action: fetch the live accepted head and define one new focused Gate 3 / Gate 2B Mapping task; do not revive or merge PR #17

2026-08-25T07:37:08Z — Role-based operating model prepared

  • Actor: project manager / repository maintainer; requested by Davood
  • Task/phase: record the complete Aram responsibility model in the permanent recovery prompt
  • Base: source-data-cleanup@77f9f595ccfe67a87b11024ff0f6143629dba438
  • Working branch: governance/role-based-operating-model
  • PR: #20
  • Published implementation head before required control-record update: 92f6e096d3471bb5de1fe876066eedee5ab8bcf9
  • Intended final changed files: PROJECT_STATUS.md, docs/DECISION_LOG.md, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md, docs/handoff/MASTER_RECOVERY_PROMPT.md
  • Governance change: define Davood as Project Owner, ChatGPT chat as Operational Coordinator, Jules as primary Implementation Agent, Codex Work as Senior Technical Supervisor / Independent Reviewer / Authorized Maintainer, and GitHub as the evidence source of truth
  • Authority change: record standing delegation for routine technical review and merge actions after evidence gates, while retaining Davood escalation for accounting ambiguity, material scope, protected-data, release, destructive, credential, and external-authority decisions
  • Clarification: a repository mismatch pauses only the affected task without edits and does not halt the project
  • Tests: documentation-only; backend pytest, migrations, and compileall are not applicable; final remote content, diff, whitespace, link, and consistency checks are required
  • GitHub Actions at entry creation: NOT_VERIFIED; documentation-only paths may not trigger Backend CI
  • Artifacts/releases: NONE
  • Protected data: no application code, test, workflow, migration, dependency, XLSX/PDF, data/, database, financial-source, binary, ZIP, EXE, artifact, or release file is in scope
  • Acceptance at entry creation: IN_PROGRESS; this is a historical preparation record and the live PR state remains authoritative
  • Reviewer at entry creation: pending final-head independent remote review
  • Recovery: close PR #20 without merge; the accepted branch remains at 77f9f595ccfe67a87b11024ff0f6143629dba438
  • Remaining risks: the accepted branch is unprotected; role assignments do not replace evidence gates; Gate 3 Mapping and all later V1 gates remain incomplete
  • Next action: finish the five-file remote candidate, independently review PR #20, and record one acceptance decision

2026-08-26T15:36:29Z — V1-01 safety-gate hardening prepared

  • Actor: Codex Work authorized maintainer / implementation agent for the critical fix
  • Task/phase: V1-01 safety-gate hardening before Gate 3 Mapping
  • Base: source-data-cleanup@b1ddee87d31ee73b3a5aeac8f9953d0a604c206a
  • Working branch: codex/v1-01-safety-gate-hardening
  • PR: Draft #21
  • Initial implementation commit SHA: 6d774e5dd7afb00b04e523ba255aeee4f13bfccc; final reviewed head remains remote-state dependent
  • Exact planned changed files: index.html, PROJECT_STATUS.md, backend/src/aram_backend/models.py, backend/src/aram_backend/pilot_workbook.py, backend/tests/test_models.py, backend/tests/test_pilot_workbook.py, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md
  • Implementation: prevent approved/locked fiscal-year identity mutation and deletion; prevent parent-company mutation/deletion when protected years exist; reject targetless, hierarchy-invalid, formula-code, review-evidence-deficient, and closing-delta-mismatched Pilot rows; replace the disconnected hard-coded root UI with an explicit quarantine page
  • Local tests: cd backend && .venv/bin/pytest -q -> 67 passed, 1 third-party deprecation warning
  • Focused static checks: .venv/bin/ruff check src/aram_backend/models.py src/aram_backend/pilot_workbook.py -> passed; .venv/bin/mypy src/aram_backend/models.py src/aram_backend/pilot_workbook.py -> passed
  • Migration / compile: isolated SQLite alembic upgrade head and alembic downgrade base passed; python -m compileall -q src tests scripts passed
  • Adversarial verification: the previously accepted targetless/account_level=99/closing_delta=999 workbook is rejected; locked-year identity mutation and deletion are blocked
  • GitHub Actions: pending for Draft PR #21
  • Artifacts/releases: NONE
  • Protected data: no canonical XLSX/PDF, data/, database, financial-source value, ZIP, EXE, tag, or release is changed
  • Acceptance: IN_PROGRESS; implementation author must not merge this PR
  • Reviewer: independent reviewer pending
  • Recovery: close the candidate PR without merge; accepted branch remains at the recorded base
  • Remaining risks: comprehensive Mapping, note/sub-note workflow, real Pilot UI/output, Windows packaging, and user acceptance remain incomplete
  • Next action: publish the focused PR and obtain independent remote review after CI

2026-10-23 — Gate 3 mapping core candidate

2026-10-30 — Gate 3 current-note safety and change-review preview, Draft PR #50

  • Owner direction: advance Gate 3 without misrepresenting Draft/tested code as accepted. Implementation author: ChatGPT; independent C1/C2/C3 reviewers NOT created, authorized or simulated.
  • Accepted baseline checked: source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged. Child candidate is stacked on unmerged Draft PR #26 exact 185e47f031902a8918c93c8dbb420122e7408403; PR #50.
  • Discovered existing save_mapping_rule allowed an obsolete version of the same-year target note even though read-only coverage/notes diagnostics flag it stale. Test-only RED 5190535bf2e735f741bc65b61bb2ae8492cd1c61: GitHub CI 41070855173 2 expected failures, 88 passes, one warning.
  • Fixed before replay check at 0d7f2cbad255b44eccd326c9255b9787c65f4385: require latest note version per fiscal year/number, preventing stale new writes and silent idempotent reaffirmation.
  • New read-only mapping_change_preview.py: explicit expected-base-version check, deterministic before/proposed rule values, current year/account/note identity and unsigned SHA-256 snapshot. Separate verifier detects rule, account, note or lifecycle drift; it neither mutates nor authenticates/approves.
  • First composite code+test GREEN SHA 494af5d0f8442d193591542e1076727f892ebc87: CI 41071138346, 117 passed, 1 warning. Final HEAD after documents must be rechecked.
  • Eight-file allowlist: modified backend/src/aram_backend/mapping_service.py, backend/tests/test_mapping_service.py; new backend/src/aram_backend/mapping_change_preview.py, backend/tests/test_mapping_change_preview.py, this spec and plan, plus append-only project log/handoff.
  • Safety: no protected canonical XLSX/PDF, data/, financial amounts, production DB, migrations, dependencies, workflows, binaries, tags, secrets or releases changed. No whole-project completion, Windows app, authentic human approval, permanent audit or transactional concurrency guarantee claimed. These remain under Issues #49, #39, #43.
  • Scope is Draft/unmerged pending parent reconciliation and three real independent technical/accounting/acceptance reviews on exact final SHA. Rollback before acceptance: close Draft unmerged; after any authorized merge: reviewed revert PR.

2026-10-30 — Adversarial two-session review freshness regression, Draft PR #50

  • Additional test-only SHA 6a998a82274a7526fedc5404197efa80eb7fd602: an external Session updates MappingRule content or FiscalYear status while preview Session holds cached identities.
  • RED CI 41071505361 verified 2 intended stale-preview failures and 117 passes, one warning; this was an actual stale-read bypass in current SQLAlchemy identity-map use, not a provider-level concurrency test.
  • Fix SHA f69dfa81e9a938836570a8ef2300fc8e410ce69a refreshes relevant persisted objects with populate_existing, without flushing pending ORM changes.
  • GREEN CI 41071670008 119 passed, 1 warning, Alembic upgrade/downgrade and compileall succeeded. Final docs SHA needs separate CI/allowlist verification.
  • No actual user financial data, production databases, authentication, approval authority, DB-level compare-and-set, dependencies, workflows, migrations or releases changed; independent C1/C2/C3 remain unrecorded and parent #26 unmerged.

2026-10-30 — Gate 3 batch Mapping preview, Draft PR #51

  • User requested continuing Gate 3 implementation; actor is ChatGPT coordinator not independent C1/C2/C3 reviewer, and no product-user approval or authorization was faked.
  • Parent: unmerged Draft PR #50 f79947a8624adbd8e84c3f8247ac3ca4a7bd4240, originally derived from unmerged #26; accepted source-data-cleanup 7dc864fd032f0c4ae4d650d89304a01286a6d914 left unchanged. New Draft PR #51.
  • Added read-only batch decision preparation: bounded typed rows with provenance locators and expected base versions; classify NEW, CHANGED, UNCHANGED, COALESCED duplicate, CONFLICT and INVALID; flag entire batch unready when any invalid/conflict. No silent first/last rule precedence, no delete by omission and no DB mapping writes.
  • Initial tests-only RED CI 41081238728 confirmed missing implementation. First GREEN CI 41081481135: 138 passed, 1 warning, migration round-trip and compile success.
  • Six adversarial tests confirmed Python True == 1 could cause malformed target/base version values to coalesce with valid numeric inputs, and Unicode control characters could spoof row locators. RED CI 41081877772: 6 expected failures, 138 passed. Typed identity comparison and Unicode control/format/surrogate rejection at c0b547983925ac912641ebd795fc0c345f01a1a7: GREEN CI 41082029761: 144 passed, one warning, Alembic/compile success.
  • Scoped new code/test, typed no-op classification in existing preview, this focused spec/plan and append-only log/handoff only; no financial source XLSX/PDF, data/, customer SQL, migration, workflow, dependency, binary or release changed. Final documentation head requires exact CI again.
  • This code is NOT an authenticated approval lifecycle, a persisted audit or a replacement for existing import_mapping_workbook (which can still save by a separate path). Provider concurrency and financial owner-approved rule hierarchy still open under Issues #43 and #49; real reviewers/branch rules still unresolved in Issue #39.
  • No child/parent merge, acceptance of Gate 3, reviewer identity or financial correctness certification. Rollback by closing unmerged Draft, or later independently reviewed revert.

2026-10-30 — Gate 3 bulk snapshot freshness, Draft PR #52

  • Draft PR #52, parent unmerged Draft #51 at d022ac48e78d06eb3c17ec820435ccbaac7a6a9c (upstream #50/#26 unmerged). Accepted branch source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged.
  • Earlier batch preview had no entire-batch revalidation and did not retain version/catalog evidence for unchanged rows. Tests first: commit 84318eff89246fa5557275d17a6a4233786c6bd1, RED CI 41083365885 showed the new verifier was missing (import/collection failure).
  • New read-only verify_mapping_batch_current reproduces the original typed source rows, compares full output to original snapshot and rejects all stale, modified, invalid, conflicting or no-op-only batches. Unchanged rows now contain complete old/new/current account and note evidence, so subsequent catalog edits cannot silently persist green status. A single-row no-op still raises by default.
  • GREEN code/test CI 41083623835 on 70760f33026c7cb7f2ad6ac6be164de708f93d41: 159 passed, 1 warning, migration round-trip and compileall successful. A new CI is required after final documentation SHA.
  • Files allowed: batch review module, change preview module, batch tests, new focused spec/plan, append-only log/handoff. No accounting source XLSX/PDF, data/, production DB, schema migration, dependencies, GitHub workflow, secrets or release.
  • Not approval: no real authenticated approver, persisted audit log, transactionally isolated CAS/apply, Excel importer retrofit or actual financial reconciliation. Review does not write. Genuine distinct C1/C2/C3 and upstream merges blocked by Issues #39/#49/#43.
  • Rollback while Draft: close without merging. Any authorized merged change requires a reviewed revert plan.

2026-10-30 — Gate 3 persistent Unreviewed proposal evidence, Draft PR #53

  • Draft PR #53 stacked on unmerged Draft PR #52 exact SHA 1063431b08a9e03e022aa9b8e6c5ed90bfb05395, inherited #51/#50/#26 unmerged. Accepted source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged.
  • The backend has no trusted authenticated actor or approver boundary. To avoid fabricated authority, introduced only inactive, durable Unreviewed proposals; no review/approve/apply endpoint, no user identity or MappingRule mutation. DB CHECK state = 'Unreviewed' denies even direct Approved state writes in the tested schema.
  • New SQLAlchemy Core table mapping_review_drafts has independent MetaData to avoid being created prematurely by the legacy 20260820_01 migration's Base.metadata.create_all. Explicit additive 20261030_02 Alembic upgrade and downgrade creates/drops it in isolation. Required FK to year, unique request key/year, payload JSON, SHA-256 hash, timestamp.
  • Service stages only current, review-ready batch snapshots, rejects conflicting idempotency key reuse and pending ORM edits, reads only the explicitly scoped year, verifies stored hash and refuses old mapping/note/year snapshots. Caller controls commit/rollback; no rule application.
  • Tests-only 3ee1a4c44e9580ecc21a38ea26ea155841ebcaba: RED CI 41086027866 missing module collection failure. Initial implementation CI 41086255707 FAILED due to teardown FK order of independent test table and pending-session error message; corrected fixture and early clean-session guard.
  • GREEN CI 41086542121 179 passed, 1 warning, both migration upgrades/downgrades and compile success. Extra DB tamper/hash, unique-index and metadata/FK tests added on fe167c7b480517cecf302e92427d75afe51f2bc4: CI 41086774270 182 passed, 1 warning, full migration and compile success. Docs-head CI still required.
  • No canonical accounting XLSX/PDF, data/, real production/customer DB, existing migration, dependency, workflow, secrets or binaries modified. The new migration is not run on any user database.
  • NOT ACCEPTED: proposal hash is unsigned/not tamper-proof against malicious DB access; no immutable accounting audit, authenticated decision workflow, transactional compare-and-set apply, dual-reviewer identities, legacy import gate, financial-source reconciliation or provider-specific concurrency test. All remain Issues #49/#39/#43, plus PR #25 migration reconciliation. Zero real C1/C2/C3 approvals, no merge.
  • Rollback while Draft: close without merge. A later accepted migration downgrade deletes unreviewed drafts and would require separately reviewed backup/recovery.

2026-10-30 — Gate 3 DraftStaged system audit evidence, Draft PR #54

  • User authorized continued ARAM work; implementation is a SYSTEM staging-event foundation, not real authenticated reviewer approval. Draft PR #54 child of unmerged #53 exact 3f089d03ca134cd73082dd0db8ba2461e1e6bc7c; upstream #52/#51/#50/#26 and migration PR #25 remain unmerged. Accepted branch source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged.
  • Introduced mapping_draft_events on the existing separate Core MetaData; new explicit 20261030_03 SQLite-only migration creates unique per-draft DraftStaged event table and BEFORE UPDATE/DELETE triggers. Non-SQLite migration raises before DDL until provider-specific controls are independently reviewed. SQLite triggers can be removed by an administrator and are not WORM/signed audit.
  • Saving a new Unreviewed draft records exactly one independent checksum-linked SYSTEM event in the same caller transaction; rollback discards both. Idempotent replay does not add events. Scoped draft read crosschecks event presence/draft ID/year/request key/payload hash/event digest; corrupt or tampered read fails. No trusted actor/approver fields or MappingRule write/apply path.
  • Test-only RED CI 41088848958 missing module; initial GREEN CI 41089095498 190 passed, 1 warning, full migration/compile passed.
  • Three added adversarial tests: parent draft DELETE blocked by FK, distinct staged drafts get distinct events, and migration must refuse nonempty pre-audit draft table. RED CI 41089408299 1 expected missing-guard failure, 192 passed, one warning. Fix refuses upgrade before DDL if any old 20261030_02 rows exist, rather than fabricating historical events. GREEN CI 41089569653 193 passed, 1 warning, migrations up/down and compile successful. Final docs-head CI still required.
  • No canonical financial XLSX/PDF, data/, user/production DB, existing migration, dependencies, GitHub workflow, binary, credentials, tag or release changed. Actual C1/C2/C3 independent approvals absent. This is NOT authenticated financial approval, externally anchored immutable journal, atomic MappingRule apply/CAS, real source-ledger reconciliation, or multi-provider concurrency guarantee. Issues #49/#39/#43 stay OPEN and Gate 3 formally unaccepted.
  • Before any proposed live upgrade, accounting owner must approve retention/backups for old drafts and possible destructive downgrade; real DB access has never been granted. Rollback before merge: close Draft without data change.

2026-10-30 — Gate 3 pinned RS256 principal verification, Draft PR #55

  • User explicitly authorized continued ARAM implementation. Draft PR #55 stacked on unmerged Draft #54 exact SHA c5e3fb7f8917433a1075ece8ad1ee95a1695dad5; upstream Draft #53/#52/#51/#50/#26 and migration #25 remain unmerged. Accepted source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 untouched.
  • Prior backend exposed no authenticated user principal. Added new GET /api/v1/auth/me read-only endpoint, requiring actual RS256 RSA-signed short-lived access token via server-pinned, operator-configured public verification key. Strict issuer, audience, subject, iat/nbf/exp, lifetime <=900 seconds, exactly one signed mapping_proposer or mapping_reviewer role. Rejects absent/invalid Bearer, forged X-User and role headers, wrong RSA signer, wrong issuer/audience, expired/future, unsigned/HMAC and tampered JWT, duplicate/dual/unknown roles, private/malformed/weak RSA keys.
  • Added PyJWT[crypto]>=2.10,<3 to backend dependencies and ARAM_AUTH_ISSUER, ARAM_AUTH_AUDIENCE, ARAM_AUTH_PUBLIC_KEY_PEM to settings. Defaults disabled; missing IdP deployment config returns HTTP 503 rather than fake authentication. Synthetic CI uses ephemeral local RSA keys, not real enterprise accounts/IdP or credentials.
  • Test-first initial test SHA afe380fc0a2236f9eb2cdfce21168a1dbc507bfd: RED CI 41109024753 34 expected 404 route failures, 193 passing tests, 2 warnings. Auth module/route implementation SHA c0b6f5df64ae9235683926e1fed661dadb46be67: GREEN CI 41109205928 227 passes, 2 warnings, migration/compile success. Further synthetic forged-payload/weak-RSA/reviewer-does-not-approve cases at ad66b06bab27ad61040f7a5b4f8cb81923eaf2da: GREEN CI 41109398796 231 passes, 2 warnings, migrations and compile successful. Final documentation-head CI must be checked separately.
  • This is not identity-provider deployment, token refresh/revocation, JWKS rotation, company/year authorization, author/reviewer separation tied to persisted draft, human approval, immutable signed audit or transactional Mapping apply. Legacy save_mapping_rule and Excel import still bypass the future governed path. No source XLSX/PDF, customer DB, data/, migrations, workflows, binaries or releases modified. Real C1/C2/C3 reviewers/financial acceptance absent (Issues #49/#39/#43). PR stays Draft/unmerged; Gate 3 0% formal acceptance.
  • Scope: new auth module/tests, config/main, pyproject dependency, focused spec/plan and append-only log/handoff; no private signing key stored in repository.

2026-10-30 — Gate 3 signed company/year Mapping access, Draft PR #56

  • Continued user-authorized ARAM Gate 3 implementation: Draft PR #56 on exact unmerged parent #55 8d82f1e7be9653bac467101234a62029bdfa3178; accepted source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged. Upstream #54/#53/#52/#51/#50/#26 and schema #25 unmerged.
  • Addressed serious unscoped role risk: a synthetically RSA-verified mapping_proposer or mapping_reviewer alone must NOT authorize every financial year. Added optional strict signed JWT aram_scopes with exact Company.code, fiscal-year business number and role; an absent grant means no year authority. Reject malformed/wildcard/duplicated/overlarge claims, mismatched role, Boolean year, extra keys. For a signed, valid role but wrong company/year return 403 without leaking metadata; invalid signed role claims return 401.
  • New read-only require_year_access checks signed grant vs latest DB Company/FiscalYear and Draft status. Requeries ORM identity-map with populate_existing to see independent DB changes; no_autoflush avoids persisting unrelated pending records. GET /api/v1/auth/year-access/{year_id} wires real Depends(require_verified_principal) and get_session as a diagnostic preflight; NO proposal, approve or MappingRule apply mutation.
  • Tests-first commit 463b340d9bb5a88837439620e8608bcce98e770e RED CI 41110810775: 28 intended failures/231 prior passes, demonstrating missing scope verification and API; initial code f9deb416726334b9070ae864632ce38a7aa862cb CI 41110973867 2 failed/257 passed because negative tests expected 403 for malformed role but correct outcome is 401. Corrected assertions and added explicit direct proposer→reviewer denial test in 59cb141cad81add6523f4fea7a127c8180d080e5; exact code-head CI pending.
  • Scope: auth identity module, NEW year authorization module, read-only main route, synthetic tests, focused spec/plan and append-only log/handoff. No real enterprise IdP users or grants configured. No finance approval, persisted proposal-author identity, reviewer/author independence, externally immutable audit, atomic locked CAS apply, Excel bypass closure, production/provider verification or ledger reconciliation. Issues #49/#39/#43 and real C1/C2/C3 review remain blockers; no merge/release.
  • Tests only on disposable SQLite and synthetic RSA signing keys; no canonical XLSX/PDF, data/, customer/production DB, migration, dependencies, workflow or accepted branch changes. A successful year-access check does NOT authorize eventual finance posting or skip same-transaction revalidation.

2026-10-30 — Gate 3 atomically authored Unreviewed Mapping drafts, Draft PR #57

  • User expressly authorized continued work; created Draft PR #57 child of unmerged Draft #56 exact 0fc0713bd9e0906954c16d7a6b25aad8bf793383. Upstream #55/#54/#53/#52/#51/#50/#26 and migration redesign #25 remain unmerged; accepted source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged.
  • New POST /api/v1/mapping/unreviewed-drafts accepts strict typed rows and year/request key ONLY via RSA-verified FastAPI principal and signed exact company/year mapping_proposer permission. Stages Unreviewed Mapping draft, existing SYSTEM DraftStaged event and new immutable-at-SQLite-DML author record in one transaction; all rollback together on failure. No MappingRule posting, approval, finance decision or private signing key.
  • New independent Core table mapping_draft_authors with per-draft UNIQUE, RESTRICT FK, proposer-only CHECK, author issuer+subject and source hash, optional readback consistency check. Additive 20261030_04 SQLite-only explicit Alembic migration creates update/delete denial triggers; other DB providers fail closed. Cannot resist a privileged administrator or serve as externally signed/WORM audit.
  • Existing unattributed old drafts are NOT retroactively claimed by a new signer; request key ownership is fixed by original author. Exact same signer+request key+proposal is idempotent without duplicate author/system events; different signer receives 409. A separate read-only check requires a different reviewer (issuer, subject) with current signed reviewer scope; it never records Reviewed/Approved, audit decision or rule change. No real IdP configured or actual enterprise reviewer.
  • Tests-first SHA b31bf83778a1e5bcb404290fd00a7e5c445fd6e9: RED CI 41116237163 missing new module at collection. Code SHA ed9703da28d04bef7d09692a974322987280f401: GREEN CI 41116509978 275 passed, two warnings, all four Alembic upgrade legs and reverse downgrades, compileall successful. Recheck final documentation HEAD CI separately.
  • Allowed eight changes: new authored service, its tests, new migration, modified main endpoint, new spec/plan, append-only log/handoff. No canonical financial XLSX/PDF, data/, customer/production DB, original migration, workflows, dependencies, executables, releases or accepted branch touched. No finance C1/C2/C3 approval.
  • Remaining real blockers: existing low-level save_unreviewed_batch and direct Mapping/Excel write APIs are still possible ungoverned paths; external IdP, stable employee identity, real reviewer/author separation, signed human audit, transactional MappingRule CAS/apply, provider concurrency and actual 1402–1404 reconciliation not done. Issues #49/#39/#43 OPEN. PR #57 Draft/unmerged; Gate 3 formally 0% accepted.

2026-10-30 — Windows native ARAM Pilot shell Draft PR #59

  • Owner confirmed ARAM must be delivered as Windows EXE and authorized implementation continuation. Previous audited root index.html was a quarantined warning with zero controls (Issue #58), NOT a real financial app. Created Draft PR #59 on exact unmerged Draft #57 parent 6b6aca8883ad4902574cbf954d739e1a3bcf3967; accepted branch source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 untouched.
  • Implemented native Tk/ttk Persian window, not webview: File menu with Choose XLSX, Run Preflight, Clear and Exit; Help menu About; three equivalent action buttons, three tab pages and keyboard shortcuts. No dead Apply, Approve, Print or Export button. Flow is intentionally read-only: select local xlsx ≤20 MiB, reject symlink/unsupported/oversize files; bound Excel ZIP metadata to 500 entries/128 MiB uncompressed; run existing preflight_pilot_workbook, show sheet/row/field/issue details without recording SQL or editing source. All other finance workflows explicitly marked not implemented.
  • Added native backend/desktop entry point, reproducible Windows PowerShell PyInstaller onefile build script and separate Windows x64 PR CI. EXE output name AramPilot-UNRELEASED.exe. Windows runner must run synthetic module tests, frozen EXE --self-test, frozen native Tk --ui-smoke (all 5 menus/actions, 3 buttons, 3 tabs and shortcut registration) and upload an unsigned 7-day artifact only on success. Neither a preflight pass nor UI smoke is real financial approval or physical pixel-click certification.
  • Tests first 13b00d75249e92b8a5ac901ecae8e350837aae4b RED Backend CI 41120753977 failed at collection as newly tested module did not exist. New code and workflow candidate in active Draft; final exact-head backend/Windows CI and artifact verification still pending as of entry.
  • Documents: spec/plan 2026-10-30-windows-native-desktop-pilot, desktop README, proposed ADR-012, updated PROJECT_STATUS and handoff. No original index.html, source XLSX/PDF, data/, sample templates, customer/production SQL, previous migrations, secrets, dependency constraints, financial values, binary commits or accepted branch touched.
  • Remaining: Windows executable clean-VM and signing, full physical GUI test + DPI/RTL and screen readers, real enterprise IdP/role and financial workflows, notes/subnotes and statements, reconciliation/source evidence, reviewer CAS/immutable approval, three independent C1/C2/C3 reviews, all ancestor PR acceptances. Gate 3 still 0% formally accepted, no merged release.