Harvey Xia
Back to projects

TradeOps

Quotation & approval workflowLocal case study

Versioned quotations, separate requester and approver roles, currency rules and transactional audit records. A business-analysis case study built around the question: which version was actually approved?

Status
Local case study
AI in the product
None: a business-rules study
Evidence
Local PostgreSQL tests; backup and restore check
Limits
Simulated data and roles

Decisions worth testing

Reject approvals against stale quotation versions, prevent self-approval, use decimal arithmetic for money, and roll back a write if its audit record fails.

Evidence and limits

The repository records local PostgreSQL tests and a backup/restore check. Data and roles are simulated; production identity, monitoring and deployment are outside the demonstrated scope.

Explore TradeOps

Dated implementation evidence

  1. Record scope, acceptance criteria and a handoff before implementation.

    View commit · a012730
  2. Implement versioned quotations and approval checks using FastAPI and PostgreSQL.

    View commit · 4fd7c66

Verification and limits

The dated local review records 19 tests and a separate backup/restore comparison. It also records disabling multiline editing to prevent silent line loss. These checks were documented on 13 October; they were not rerun for this case page. Production identity remains outside scope.

AI collaboration: attribution boundary

The records below show implementation and review outcomes. They do not record a complete prompt history or identify human versus AI authorship of individual changes. Commit history alone cannot establish that split; no percentage of authorship is claimed.