Skip to content

Commit 993749f

Browse files
authored
Merge pull request #2 from msitarzewski/docs/memory-bank-session-update
docs: update memory-bank with v0.2.1 session progress
2 parents 7a44f6d + 19efeef commit 993749f

2 files changed

Lines changed: 20 additions & 11 deletions

File tree

memory-bank/activeContext.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Active Context: OpenStudio
22

3-
**Last Updated**: 2026-03-13 (Release 0.2.1 Security Hardening — In Progress)
3+
**Last Updated**: 2026-03-13 (Release 0.2.1 Security Hardening — PR Open)
44

55
## Current Phase
66

77
**Release**: 0.2.1 (Security Hardening)
88
**Branch**: `release/0.2.1-security-hardening`
9-
**Status**: Implementation in progress (changes staged, not yet committed)
10-
**Focus**: Server-side security hardening, JWT auth, rate limiting, CORS, input validation
11-
**Next**: Commit, test, merge to main
9+
**Status**: PR #1 open, CI green (Node 18/20/22), awaiting merge
10+
**PR**: https://github.com/msitarzewski/openstudio/pull/1
11+
**Focus**: Merge PR, deploy to production
12+
**Next**: Merge PR to main, pull on umacbookpro, restart service
1213

1314
## Recent Decisions
1415

memory-bank/progress.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
✅ Auto-config: `station-manifest.json` created from sample on first run
7272
`npm start` serves full studio at `localhost:6736`
7373

74-
### v0.2.1 Security Hardening (In Progress)
74+
### v0.2.1 Security Hardening (PR #1 Open — CI Green)
7575

7676
**Server-Side**:
7777
`server/lib/auth.js` — JWT room tokens (24h) + invite tokens (4h)
@@ -99,14 +99,22 @@
9999
`station-manifest.sample.json` — TURN creds marked CHANGE_ME
100100
`deploy/station-manifest.production.json` — TURN creds marked CHANGE_ME
101101

102+
**CI Fixes** (resolved during PR):
103+
✅ Removed `cache: npm` from CI — lock files are gitignored
104+
✅ Switched `npm ci``npm install` in CI
105+
✅ Updated all 7 Playwright test URLs from port 8086 → 6736
106+
✅ Fixed `test-program-bus.mjs` headed → headless for CI
107+
✅ Increased return-feed test timeouts (WebRTC renegotiation flaky in CI)
108+
✅ Added retry for return-feed test, `fail-fast: false` on matrix
109+
102110
## What's Next
103111

104112
### Immediate
105113

106-
1. **Commit & test v0.2.1**Finalize security hardening branch, run full test suite
107-
2. **Deploy to openstudio.zerologic.com**Run `deploy/setup.sh` on production server with `JWT_SECRET` and `ALLOWED_ORIGINS` set
108-
3. **End-to-end recording test**Manual test: record, stop, download, verify tracks
109-
4. **Playwright tests update**Update test URLs from port 8086 to 6736
114+
1. **Merge PR #1**https://github.com/msitarzewski/openstudio/pull/1 (CI green)
115+
2. **Deploy to umacbookpro**`git pull` + `systemctl --user restart openstudio` on umacbookpro
116+
3. **Deploy to openstudio.zerologic.com**Run `deploy/setup.sh` on production server with `JWT_SECRET` and `ALLOWED_ORIGINS` set
117+
4. **End-to-end recording test**Manual test: record, stop, download, verify tracks
110118

111119
### Short Term (Next Sprint)
112120

@@ -143,8 +151,8 @@
143151
- Deployment config for openstudio.zerologic.com
144152
- DX: Codespaces, CI matrix, GitHub templates
145153

146-
### Release 0.2.1 — Security Hardening 🔒 (In Progress 2026-03-13)
147-
**Status**: Implementation in progress (branch: `release/0.2.1-security-hardening`)
154+
### Release 0.2.1 — Security Hardening 🔒 (PR Open 2026-03-13)
155+
**Status**: PR #1 open, CI green (Node 18/20/22), awaiting merge
148156
- JWT room tokens + invite tokens (`server/lib/auth.js`)
149157
- WebSocket rate limiting (100 signaling/10s, 500 stream/10s) + per-IP connection limit (10)
150158
- HTTP security headers (X-Content-Type-Options, X-Frame-Options, Referrer-Policy)

0 commit comments

Comments
 (0)