Skip to content

Commit 09d85bb

Browse files
MatissJaniscursoragentgithub-actions[bot]
authored
docs: add Architecture Decision Records page with bank sync credential ADR (#6965)
* docs: add Architecture Decision Records page for controversial decisions Co-authored-by: Cursor <cursoragent@cursor.com> * Add release notes for PR #6965 --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a0378c1 commit 09d85bb

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

packages/docs/docs-sidebar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ const sidebars = {
326326
'contributing/leadership/funding',
327327
'contributing/leadership/triaging-issues',
328328
'contributing/leadership/new-core-contributors-guide',
329+
'contributing/leadership/architecture-decision-records',
329330
'contributing/leadership/cursor-ide',
330331
'contributing/leadership/paying-contributors',
331332
],
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Architecture Decision Records
2+
3+
The core maintainers sometimes make decisions that are non-obvious or controversial. We record them here so that the rationale is clear for contributors and users, and so we can refer back to them when similar questions come up.
4+
5+
We are open to revisiting these decisions if someone with more experience or knowledge proposes a better approach.
6+
7+
---
8+
9+
## Bank sync: credential storage
10+
11+
**Decision:** Bank sync credentials are stored on the sync server in plain text. They are not encrypted on the client and are not stored in the budget file.
12+
13+
**Rationale:** Encrypting credentials on the client (or making encryption optional) does not materially improve security. If the server is compromised, secrets still need to be decrypted during normal operation and can be obtained at that point. Keeping credentials only on the server avoids exposing them to extensions and plugins, which would increase the attack surface. Actual Budget does not provide strong isolation between untrusted users on a shared instance; users who need isolation should run separate instances.
14+
15+
**Consequences:** The design stays simpler, security guarantees are clearer, and maintenance cost is lower. Server administrators can access credentials, and a compromised server is not protected by encryption.

upcoming-release-notes/6965.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
category: Maintenance
3+
authors: [MatissJanis]
4+
---
5+
6+
Add Architecture Decision Records documentation page with bank sync credential storage example.

0 commit comments

Comments
 (0)