agent-security-hardening
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
Enforce end-to-end product quality for Nebula interface, mobile, LAN, chat/session lifecycle, provider, harness, workspace, and other operator-visible changes. Use whenever implementing, fixing, reviewing, or claiming completion of a workflow that an operator reaches through the Nebula UI, especially changes under ui/, API-to-UI integrations, persistence/reconnect behavior, responsive layouts, or browser security boundaries.
Treat each change as an operator workflow, not an isolated component. Establish the behavioral contract before editing, test it through the real entry point, and do not claim completion without evidence from the focused tests that cover it.
Apply the repository's docs/design/interface-principles.md alongside these gates:
icon-first secondary controls, minimal copy, subtle styling and accessible actions.
Before implementation:
Do not begin with CSS selectors or endpoint shapes. Begin with what the operator must be able to accomplish and observe.
Trace every required lifecycle step across UI, API client, Core route, durable storage, and provider or harness adapter. Identify duplicate state ownership and resolve authority explicitly. Prefer:
Avoid fixing a state-ownership defect with an unrelated CSS or timing workaround. Avoid adding vendor-specific UI when a normalized component can represent the capability.
Add regression coverage at the layer where the defect escaped:
Do not accept a mocked API test as proof of persistence or reconnection. Do not accept a one-off browser script as a substitute for a committed regression test.
Read quality-gates.md for the required matrices and evidence format.
Use the running product through the same visible controls the operator uses. For a session feature, exercise one continuous session through all applicable lifecycle steps. For a mobile feature, focus the real input, open the software keyboard when physical-device access exists, rotate when relevant, background and resume, and verify that content remains reachable without horizontal clipping.
Record the origin, build type, browser engine/profile, viewport, and workflow result. Clearly distinguish physical-device testing, device emulation, and a resized desktop viewport.
Follow the test-selection rule: run only the individual tests that exercise what changed. Pick the layer where the change could break: a unit or component test for logic, the one Playwright journey test for layout or interaction, a real-Core test only when server-owned state changed, and a LAN-origin check only for origin-sensitive behaviour. Never run a whole spec file, a whole suite or every browser project. Keep mobile browser projects as permanent entries in the Playwright configuration rather than ad hoc invocations.
Report what you did not run. Never convert “not tested” into “supported,” “fixed,” or “complete.”
Lead the handoff with the operator-visible outcome. Then report:
Do not use a generic “tests passed” statement when the required product journey was not exercised.
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.
DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days
GAgarrytan/gstack143k598 new stars in the last 7 days
Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.
ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days
RUruvnet/RuView106k739 new stars in the last 7 days