19 Commits
Author SHA1 Message Date
thePR0M3TH3AN d19040c625 chore(deploy): enable unstable Vercel deployments 2026-07-26 14:32:31 -04:00
thePR0M3TH3ANandClaude Opus 4.8 10b93efa02 ci(nsite): build a downloadable site archive on every push
Add .github/workflows/nsite-archive.yml (push to any branch +
workflow_dispatch): npm ci + npm run build, then upload dist/ as an
artifact (bitvid-site-<branch>-<shortsha>, 30d retention). GitHub serves
it as a .zip with index.html at the root, ready for a manual nsite
publish. The workflow holds no signing key and publishes nothing.

Also add an `archive` npm script for the same output locally
(bitvid-site.zip, now gitignored), and land docs/nsite-mirror-plan.md
revised to the manual-publish + auto-archive model: sign client-side via
NIP-07 or local nsyte, never an nsec/nbunksec in CI. The prior CI-signing
workflow is retained as a labeled Phase-3 reference option.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DwbE3uTiFaKRNjx5vP2muV
2026-07-14 09:29:41 -04:00
thePR0M3TH3ANandClaude Opus 4.8 134f60dfd3 chore: gitignore .vercel CLI link directory
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-16 19:50:55 -04:00
google-labs-jules[bot]andPR0M3TH3AN 2374730a57 chore: execute daily audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-24 20:05:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN c3e6d89992 fix(ci): remove massive log file and update gitignore
- Deleted `test_logs/nip-hits.txt` which caused CI failure due to size
- Added `test_logs/nip-hits.txt` to `.gitignore` to prevent recurrence
- Fixed syntax error in `.gitignore` (missing newline)

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 01:22:02 +00:00
thePR0M3TH3AN 83e7e50c8f update 2026-02-12 10:36:25 -05:00
google-labs-jules[bot]andPR0M3TH3AN f9d8f1737f Load Test Report and Verification
Executed the `scripts/agent/load-test.mjs` script with 1000 clients for 60 seconds against a local relay. The test passed successfully with ~86 events/sec throughput and <2ms latency.

Attached the generated load report: `artifacts/load-report-20260211.json`.

No cryptographic bottlenecks were identified (avg signing time 0.74ms).

Note: Added `!artifacts/load-report-*.json` to `.gitignore` to allow tracking of load reports.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-11 19:29:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0bfa3b08e8 fix(ci): fix netlify deployment by building to dist
- Move from root publishing to clean `dist/` directory
- Create `scripts/build-dist.mjs` to orchestrate build and copy assets
- Update `package.json` build script
- Update `netlify.toml` to publish `dist/`
- Ignore `dist/` in `.gitignore`

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 09:07:15 +00:00
google-labs-jules[bot] 603b0b1a69 test(ai): add unit tests for NostrClient and NostrService (agent) 2026-01-26 14:09:53 +00:00
google-labs-jules[bot] ef5cb8ad78 chore(ai): CI health fixes (flaky tests)
- Fix broken `SearchFiltersPopover.js` import in `views/dev/popover-demo.html` by replacing it with a local `wirePopover` implementation, resolving `tests/e2e/popover.spec.ts` failures.
- Update `.gitignore` to exclude `*.log` files to prevent accidental commits of local log files.
- Remove accidental `server.log` from the repository.
- Attempted to fix `tests/visual/moderation.spec.ts` but confirmed "element not found" issues in fixture environment; reverted to preserve passing state.
- Formatted code.
2026-01-26 02:41:31 +00:00
google-labs-jules[bot] c9201c777e Add privacy-preserving telemetry aggregation script
Moves and enhances the telemetry aggregator script to `scripts/agent/telemetry-aggregator.mjs`.
Updates `package.json` to point to the new location.
Implements robust parsing for smoke test summaries and fuzz reports.
Adds PII sanitization (IPs, emails, keys, paths).
Enforces opt-in via `ENABLE_TELEMETRY` environment variable.
Adds `ai/reports/` to `.gitignore`.
2026-01-24 06:29:10 +00:00
google-labs-jules[bot] 4adb8f5103 chore: ignore and remove generated tailwind css
- Add `css/tailwind.generated.css` to `.gitignore`.
- Remove the tracked `css/tailwind.generated.css` file from the repository.
- Update `CONTRIBUTING.md` to discourage committing the generated file.
- Update `README.md` to clarify that `npm run build` generates the gitignored CSS.

This ensures the generated artifact is not tracked, reducing merge conflicts and repository bloat, while maintaining clear instructions for local development.
2026-01-22 19:56:18 +00:00
google-labs-jules[bot] a8647c109f chore(ai): add smoke test script (agent)
Added `scripts/agent/smoke-test.mjs` to verify key application flows in a headless environment.

Features:
- Verifies Relay Connection
- Verifies NSEC Login (Ephemeral)
- Verifies Video Publishing (Sign & Send)
- Verifies Event Retrieval
- Verifies DM Encryption/Decryption

Usage:
```bash
npm install
node scripts/agent/smoke-test.mjs
```

Artifacts (logs/reports) are generated in `artifacts/` and are ignored by git.
Utilizes `scripts/agent/simple-relay.mjs` for a local relay.
Uses `jsdom` to polyfill browser environment for `NostrClient`.
2026-01-17 21:10:02 +00:00
thePR0M3TH3AN 83a9fdb097 Track regenerated Tailwind CSS 2026-01-11 09:10:50 -05:00
thePR0M3TH3AN 1c13122ba0 Ignore generated Tailwind CSS and update build commands 2025-11-03 11:36:48 -05:00
thePR0M3TH3AN 4460865efa Store visual baselines as text assets 2025-10-11 14:55:00 -04:00
thePR0M3TH3AN 23a8eacad4 chore: add tailwind build tooling 2025-09-29 10:16:30 -04:00
Keep Creating Online a1ff0d2a92 greatly improved playback speed on firefox based browsers 2025-01-25 09:10:59 -05:00
Keep Creating Online f55997a9e0 Create .gitignore 2025-01-25 07:58:51 -05:00