Trim unused code and harden runtime data - #38
Merged
Conversation
Add GPT-5.6 Sol defaults and harden cron artifacts
…de-and-harden-runtime # Conflicts: # src/channels/discord/threads.ts # src/cron.ts
kat3samsin
marked this pull request as ready for review
July 13, 2026 16:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
077, dashboard-token-safe status output, and secret redaction across local logs, audit traces, cron output, console previews, tool logs, and Langfuse.Why
A 30-day runtime-history audit showed that the removed paths were unreachable, obsolete, or unused, while cron, heartbeat, Discord, dashboard, voice, MCP, Fetch, and code agents remain active. This trims 536 production LOC and 647 lines overall while adding focused security regression coverage.
The security pass also addresses concrete local risks: routine status output previously exposed the dashboard token, sensitive runtime files depended on permissive umasks, and tool/cron observability could persist raw credentials.
User and developer impact
skimpyclaw statusstill authenticates to the gateway but no longer prints credentials.Validation
pnpm lintpnpm buildpnpm test— 81 files, 960 testspnpm dashboard:test— 54 testspnpm test:coverage— 60.43% line coveragepnpm dashboard:test:coverage— 9.63% line coveragepnpm docs:buildpnpm security:audit— no known vulnerabilities in root, dashboard, or docsscripts/secret-scan.shand gitleaks onorigin/trunk..HEAD— cleangit diff --checkManual testing steps
skimpyclaw status; confirm the gateway and dashboard URL are shown and no token is printed.http://127.0.0.1:18790/dashboard; confirm HTTP 200 and that Coding shows flat agent cards with correct pagination.stat; expect directories at0700and sensitive files at0600.TOKEN=...; confirm local logs, audit events, and console output show[REDACTED_SECRET]while the user notification remains unchanged.0600, and cleanup removes it.Live verification
The daemon was restarted from this checkout under Node 24.15.0. Launchd reported running, the gateway health check passed, the dashboard returned HTTP 200, 18 cron jobs initialized, status omitted credentials, and gateway logs were owner-only.
Additional Codex timeout fix
pnpm build, 82 test files / 977 tests, focused Codex fetch tests,git diff --check, staged Claude review with no blockers, project secret scan, and gitleaks.