Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(view): keep session identity comparison distinct [P5]
Corey Olson149ccd5c0461
diff --git a/src/cockpit.js b/src/cockpit.jsindex da6a249e..200dbf6e 100644--- a/src/cockpit.js+++ b/src/cockpit.js@@ -944,7 +944,7 @@ async function jsonRequest(path, body, base, headers, cache) {path = base + path;const res = await fetch(path, { method: body ? 'POST' : 'GET', headers: { ...headers, ...(body ? { 'content-type': 'application/json' } : {}) }, body: body ? JSON.stringify(body) : undefined, cache });const json = await res.json();- if (session && localSession === session && base === session.origin) {+ if (session && session === localSession && base === session.origin) {if (res.status === 401 || res.status === 403) localExpired();else if (res.ok && !localConfirmed) { localConfirmed = true; tabValue(LOCAL_TRIPS, null); }}