Commit Graph
986 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 45f0e16631 feat(scheduler): execute load-test-agent daily run
- Implement `scripts/agent/simple-relay.mjs` for local load testing
- Execute `load-test-agent` prompt via scheduler flow
- Generate load test reports and run artifacts
- Complete daily task for `load-test-agent`

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 23:09:26 +00:00
thePR0M3TH3AN bb4b860695 Merge pull request #436 from PR0M3TH3AN/agents/daily/innerhtml-migration-11256635984187475549
[security] replace innerHTML usages in landing/index.html — convert to safe DOM APIs
2026-02-22 16:30:13 -05:00
google-labs-jules[bot]andPR0M3TH3AN f9f3777de2 [security] replace innerHTML usages in landing/index.html — convert to safe DOM APIs
Migrated innerHTML usage in landing/index.html to safer DOM APIs.
Reduced innerHTML count from 4 to 1.
One instance of innerHTML (marked.parse) was retained as it parses trusted content.
Verified with lint and Playwright.

Executed prompt: src/prompts/daily/innerhtml-migration-agent.md
Agent: innerhtml-migration-agent
Cadence: daily

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 21:27:45 +00:00
thePR0M3TH3AN 5d41aaccb5 Merge pull request #435 from PR0M3TH3AN/agents/daily/governance-agent-436727880707093937
Daily Governance Agent Execution
2026-02-22 15:38:06 -05:00
google-labs-jules[bot]andPR0M3TH3AN f194742c47 task(daily): governance-agent execution
- Executed governance-agent prompt.
- Processed pending proposals (none found).
- Updated artifacts and memory.
- Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 19:19:29 +00:00
thePR0M3TH3AN f04d01e489 Merge pull request #434 from PR0M3TH3AN/agents/daily/docs-code-investigator-ops-mjs-8201837327368172005
docs-code-investigator: Document src/ops.mjs
2026-02-22 14:12:04 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4e244dd847 chore(ai): doc src/ops.mjs (docs-code-investigator)
- Added JSDoc to src/ops.mjs
- Created docs/ops-overview.md
- Updated run artifacts

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 18:23:40 +00:00
thePR0M3TH3AN b221908637 Merge pull request #433 from PR0M3TH3AN/daily-agent-docs-alignment-5857003805847321911
Docs Alignment Agent - Daily Run
2026-02-22 12:49:10 -05:00
google-labs-jules[bot]andPR0M3TH3AN b28ccfc1c8 docs: align TORCH.md with package.json scripts
- Update TORCH.md to include missing scripts (e.g., test:playwright).
- Clarify npm test and validate:scheduler descriptions.
- Execute daily scheduler flow for docs-alignment-agent.
- Create run artifacts and memory updates.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 17:06:38 +00:00
thePR0M3TH3AN d64e532364 Merge pull request #432 from PR0M3TH3AN/agents/weekly/submission-4810470802610063175
Run weekly smoke-agent
2026-02-22 08:21:09 -05:00
google-labs-jules[bot]andPR0M3TH3AN 659ca4980f Run weekly smoke-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 05:08:43 +00:00
thePR0M3TH3AN e4c0c714a2 Merge pull request #431 from PR0M3TH3AN/playwright-integration-testing-4582400102750741081
Add Playwright integration testing with code coverage
2026-02-21 22:51:13 -05:00
google-labs-jules[bot]andPR0M3TH3AN a0e0d3a9cf fix(test): resolve unused variable lint error in dashboard.spec.js
Renames the unused catch error variable `e` to `_` in `test/playwright/dashboard.spec.js` to satisfy the ESLint `no-unused-vars` rule. This fixes the CI failure.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 03:27:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN e8eec45ff7 feat: add Playwright integration tests with coverage and log capture
- Added `@playwright/test` and `c8` dependencies.
- Configured Playwright in `playwright.config.js` to run the dashboard server.
- Added `test/playwright/dashboard.spec.js` to verify dashboard functionality (loading, auth, config) and capture console logs.
- Modified `src/dashboard.mjs` to support graceful shutdown via `/shutdown` endpoint (guarded by `NODE_V8_COVERAGE`) for coverage collection.
- Updated `package.json` with `test:playwright` and `test:playwright:coverage` scripts.
- Updated `.gitignore` to exclude coverage and test artifacts.
- Fixed `host` default value in `src/cli-parser.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 03:22:12 +00:00
thePR0M3TH3AN 2bb3605035 Merge pull request #430 from PR0M3TH3AN/agents/daily/docs-agent-run-2815105097766823127
Run daily docs-agent task
2026-02-21 21:12:01 -05:00
google-labs-jules[bot]andPR0M3TH3AN 5cbe23bebf docs(daily): run docs-agent and update documentation
- Executed scheduler flow for `docs-agent`.
- Audited `README.md`, `CONTRIBUTING.md`, and `AGENTS.md` against codebase.
- Verified existence of documented commands (`npm test`, `npm run lint`).
- Created run artifacts in `src/context/`, `src/todo/`, `src/decisions/`, `src/test_logs/`.
- Created task completion log in `task-logs/daily/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 02:11:22 +00:00
thePR0M3TH3AN 3298830449 Merge pull request #429 from PR0M3TH3AN/agents/daily/design-system-audit-agent-11401676570486531877
chore: execute daily design-system-audit-agent
2026-02-21 20:52:44 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8d38a6fa21 fix(test): mock relay server and use async exec in ops.test.mjs to prevent CI timeouts
Replaced synchronous `execSync` with asynchronous `exec` (promisified) in `test/ops.test.mjs` to allow the parent process's mock WebSocket server to handle connections from the child process.
Added `NOSTR_LOCK_RELAY_FALLBACKS: ''` to the child process environment to prevent `nostr-tools` from attempting to connect to default public relays, which caused hangs in restricted CI environments.
Updated `test/ops.test.mjs` to mock a relay response (EOSE) for robust integration testing without external network dependencies.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 01:41:40 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0836ebf24b chore: execute daily design-system-audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 01:14:16 +00:00
thePR0M3TH3AN 36d8a0bce9 Merge pull request #428 from PR0M3TH3AN/agents/daily/deps-security-agent-2026-02-22-2448744813545043010
chore(deps): deps-security-agent run 2026-02-22
2026-02-21 19:40:09 -05:00
thePR0M3TH3AN da2d76bad6 Merge pull request #427 from PR0M3TH3AN/agents/daily/deps-security-agent-11937336261819463811
chore(deps): Daily security audit and updates [2026-02-21]
2026-02-21 19:39:45 -05:00
google-labs-jules[bot]andPR0M3TH3AN 96c79c8bc7 chore(deps): deps-security-agent run 2026-02-22
- Upgraded eslint to 10.0.1 (patch)
- Generated security reports and run artifacts
- Documented minimatch/ajv vulnerabilities
- Created task completion log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 00:25:21 +00:00
google-labs-jules[bot]andPR0M3TH3AN 03df42dadd chore(deps): Daily security audit and updates [2026-02-21]
- Upgraded `eslint` to `10.0.1` (Safe dev-dependency patch).
- Resolved high-severity `minimatch` vulnerability transitively via `eslint` upgrade.
- Generated daily security reports in `reports/security/`.
- Created run artifacts in `src/context`, `src/decisions`, `src/todo`, `src/test_logs`.
- Updated agent memory.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 23:30:34 +00:00
thePR0M3TH3AN cd1c9406cd Merge pull request #426 from PR0M3TH3AN/agents/daily/decompose-agent-20260221-3268553616377249278
chore: scheduler run for decompose-agent
2026-02-21 17:44:09 -05:00
google-labs-jules[bot]andPR0M3TH3AN d4649f95a2 chore: scheduler run for decompose-agent
Decomposed src/lib.mjs into src/cmd-check.mjs, src/cmd-list.mjs, and src/cmd-complete.mjs to reduce file size.
Extracted logic preserves existing behavior.
Verified with lint and tests.
Reduced src/lib.mjs by 292 lines.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 22:32:13 +00:00
thePR0M3TH3AN a6c06ce173 Merge pull request #425 from PR0M3TH3AN/agents/daily/todo-triage-agent-10621239893036782684
chore: scheduler run for todo-triage-agent
2026-02-21 16:46:30 -05:00
google-labs-jules[bot]andPR0M3TH3AN 14b2e52d61 chore: scheduler run for todo-triage-agent
Executed daily scheduler. Selected todo-triage-agent.
Scanned codebase for TODOs/FIXMEs. Found no actionable code TODOs.
Created task log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 21:26:43 +00:00
thePR0M3TH3AN cd0780bff8 Merge pull request #423 from PR0M3TH3AN/agents/weekly/refactor-agent-7379140273113446489
Refactor src/ops.mjs
2026-02-21 15:58:55 -05:00
thePR0M3TH3AN 22bdf3089b Merge branch 'main' into agents/weekly/refactor-agent-7379140273113446489 2026-02-21 15:56:19 -05:00
thePR0M3TH3AN 3cb9ba64e0 Merge pull request #424 from PR0M3TH3AN/landing-agent-icons-17150499585160147109
Update landing page with missing agent icons
2026-02-21 15:55:50 -05:00
google-labs-jules[bot]andPR0M3TH3AN 7e01dda188 fix(ci): align flaky check test expectations with test names
Updated `test/test-audit-run-flaky-check.test.mjs` to assert against test names instead of file paths, as `scripts/test-audit/run-flaky-check.mjs` keys the results by test name from the TAP output.

This resolves the CI failure where the test expected keys matching the file paths but received keys matching the test names defined in the fixtures.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:49:53 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6cd20a06b7 refactor(ops): extract cmdRemove, fix lock-utils export, fix test audit
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:46:18 +00:00
google-labs-jules[bot]andPR0M3TH3AN 19c9ff7b67 feat(landing): add missing agent icons
Added `proposal-triage-agent`, `plan-agent`, `builder-agent`, and `governance-agent` to the landing page `AGENT_ICONS` map. This ensures these agents are correctly displayed with appropriate icons in the Functional Agents section.

Verified that `src/prompts/weekly-scheduler.md` and `src/prompts/roster.json` already correctly list these agents.
Verified frontend changes using Playwright.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:42:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN 637259a07a refactor(ops): extract cmdRemove to src/cmd-remove.mjs and fix lock-utils export
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:38:30 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7c8eeb939c refactor(ops): extract cmdRemove to src/cmd-remove.mjs
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:32:12 +00:00
thePR0M3TH3AN 6b5022ac45 update 2026-02-21 15:29:40 -05:00
thePR0M3TH3AN 9fef4c4f46 update 2026-02-21 15:16:45 -05:00
thePR0M3TH3AN 49411889c0 Merge pull request #422 from PR0M3TH3AN/claude/plan-agent-architecture-QF47j
Add plan-agent, proposal-triage-agent, and builder-agent to close idea-to-implementation gap
2026-02-21 15:16:25 -05:00
Claude 33ea996b04 feat(agents): add plan-agent pipeline to close idea-to-implementation gap
Introduces three new weekly agents that form a triage→plan→build pipeline:

- proposal-triage-agent: evaluates proposals, dead ends, and coverage gaps;
  produces prioritized backlog in src/backlog/BACKLOG.md
- plan-agent: creates concrete implementation plans from top backlog items
  in src/plans/PLAN-*.md
- builder-agent: executes approved plans, makes code changes, verifies
  acceptance criteria

Also includes:
- Architecture proposal document in docs/proposals/
- Seeded initial backlog with 11 items from diagnosed dead ends
- Updated roster.json and weekly-scheduler.md (24 weekly agents)
- All three validators pass (prompt-contract, scheduler-roster, flow-parity)

https://claude.ai/code/session_01FLP7ibXd5QPG517g1kYCHL
2026-02-21 20:13:35 +00:00
thePR0M3TH3AN fdc4aecd92 Merge pull request #393 from PR0M3TH3AN/fix/governance-command-injection-10151244085139343159
Verify governance command injection fix and repair broken tests
2026-02-21 15:04:36 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0cc086c08d fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:03:04 +00:00
thePR0M3TH3AN 1c8c955cd1 Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:56:15 -05:00
google-labs-jules[bot]andPR0M3TH3AN 61b3fd5709 fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:55:52 +00:00
thePR0M3TH3AN 78e90669c7 Merge pull request #390 from PR0M3TH3AN/fix/lock-utils-imports-13445229136005844691
refactor(lock): centralize lock utility functions
2026-02-21 14:55:47 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4e01a33cc2 fix(lock): fix potential duplicate imports in lock-publisher
- Rewrote `src/lock-publisher.mjs` to ensure clean imports and no duplicate declarations of `withTimeout`.
- This addresses the lint error `Identifier 'withTimeout' has already been declared` seen in CI.
- Verified lint passes locally.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:54:06 +00:00
thePR0M3TH3AN f47fe02a94 Merge branch 'main' into fix/lock-utils-imports-13445229136005844691 2026-02-21 14:49:37 -05:00
thePR0M3TH3AN e5e490449e Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:49:18 -05:00
thePR0M3TH3AN 3d788c58a7 Merge pull request #421 from PR0M3TH3AN/agents/daily/style-agent-7331917025368212480
chore(scheduler): Execute daily style-agent and fix lock-utils export
2026-02-21 14:48:55 -05:00
google-labs-jules[bot]andPR0M3TH3AN ef22045a61 fix(scheduler): Resolve CI module export error in lock-utils
- Fix `SyntaxError: The requested module './lock-utils.mjs' does not provide an export named 'withTimeout'` by refactoring exports in `src/lock-utils.mjs`.
- Explicitly import `relayListLabel` and `mergeRelayList` from `src/utils.mjs` before exporting them to avoid ambiguous export behavior in some environments.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:46:26 +00:00
google-labs-jules[bot]andPR0M3TH3AN cb089fa061 fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:45:51 +00:00