Skip to content

v2.0.0: persistent review and bounded corrections

Choose a tag to compare

@flowcool flowcool released this 06 Nov 14:47
e49001c

Bourse Direct importer v2.0.0

This release adds persistent activity review and bounded corrections.
It reads original Bourse Direct notices from Paperless.
BUY, SELL and net coupon imports remain additive.
Simulation remains the default.

Breaking change: TTF correction setup

Set ACTIVITY_REVIEW_FILE before you correct charged TTF on an existing BUY.
The connector now requires this file, including with profile off.
Without it, the connector reports review_evidence and holds the affected BUY.
Independent imports can continue.

Mount a private persistent directory for the review file and its companion files.
The container uses UID/GID 10001.
The directory must belong to that user and have mode 0700.
Review files and companion files require mode 0600.
Keep the complete directory between runs.
Read the README before you change a deployment.

Review and corrections

Set ACTIVITY_REVIEW_FILE to retain exact before and after values.
Use decision: yes to approve an eligible unchanged proposal.
Use decision: reject to reject a pair.
Changed evidence clears old approval.
Approval cannot override missing evidence or an identity conflict.

ACTIVITY_RECONCILIATION defaults to off.
The optional profiles are conservative, balanced and permissive.
A profile other than off requires a review file and an explicit IANA TZ.
Each profile applies fixed amount and date limits.
Read the README for those limits before you enable a profile.

Manual decisions, profiles, identity migration and TTF share one correction per run.
New imports have no correction limit.
Corrections preserve the activity ID, account, security, type, EUR, tags and notes.
BUY and SELL quantities stay unchanged.
The connector never merges, splits or deletes activities.

The connector retains an uncertain correction across restarts.
It holds writes to that account until exact readback confirms the result.
It does not resend the correction.
Keep the review file and its companion evidence during recovery.

Outcomes and notifications

Each run reports success, success with required action, or failure.
review_approval and review_evidence require action and keep exit code 0.
review_unavailable fails with exit code 1.
Existing failures retain exit code 1.

When APPRISE_URLS is set, failures and required actions send one summary per run.
This includes simulation.
Unresolved actions repeat on later runs.
Clean runs stay silent.
The summary omits account data and secrets.
APPRISE_TIMEOUT sets the notification deadline from 1 to 30 seconds.
The default is 10 seconds.
A delivery failure does not change the financial result or its exit code.

Image and qualification

The image supports native linux/amd64 and linux/arm64.
The candidate includes SBOM, provenance and a verified signature.
Publication copies the qualified image index without a rebuild.

Release image index: sha256:f817a32c33bc0030a2632b7b6a5b2ceb1a9f72865cdbc1c275189358ffa87b38.
Source commit: e49001c7d8181925dbab8275c001f939e47bbb97.
Exact-image lab acceptance: 78 golden scenarios and 4 empty scenarios passed on this index. Both labs stopped after qualification.
The qualification record binds the retained evidence by SHA256.

Download the operator bundle and run sha256sum -c SHA256SUMS.
Use the digest-pinned image from its Compose file.
This release does not activate production or its schedule.
Infra owns deployment.
Financial production writes require separate operator authority.

Changes since v1.0.0

What's Changed

Documentation

  • docs: archive qualified PDF notice importer by @flowcool in #224
  • docs: define project boundaries, free lab use and the lab gate by @flowcool in #225
  • docs: define IBKR v4 review contract and require both implementation reviews by @flowcool in #226
  • ci: keep documentation PR checks light and align project guidance by @flowcool in #227

Maintenance and dependencies

  • ci: cut CI and review-bot cost; one PR per change by @flowcool in #222
  • chore(deps): update python minor and patch by @renovate[bot] in #203
  • chore(deps): update github actions by @renovate[bot] in #233
  • chore(deps): update dependency python to v3.15.2 by @renovate[bot] in #232
  • chore(deps): update dependency aptible/supercronic to v0.2.51 by @renovate[bot] in #231
  • build(deps): bump oauthlib from 4.0.0 to 4.0.1 by @dependabot[bot] in #237

Other changes

  • Implement operator actions and bounded reconciliation by @flowcool in #230

Full Changelog: v1.0.0...v2.0.0