Skip to content

Release Projecto 1.0.9: fix audit findings and terminal recovery - #4

Merged
aditya9515 merged 2 commits into
mainfrom
codex/publish-projecto-1.0.9
Oct 16, 2026
Merged

aditya9515 merged 2 commits into
mainfrom
codex/publish-projecto-1.0.9

Conversation

@aditya9515

@aditya9515 aditya9515 commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Projecto could lose concurrent edits, start overlapping terminals, accept unsolicited sign-in callbacks and report successful commands as failures. Version 1.0.9 serializes storage and launch changes, binds desktop sign-in to a pending verifier, tracks terminal exit separately from output and bounds retained logs. Failed focus/stop operations now retain ownership until process exit is confirmed, preventing duplicate launches.

The shared protocol is vendored for clean-checkout builds. Saved disabled commands remain disabled, stale UI responses are ignored, account metadata is isolated and privileged IPC is restricted to the main application document.

Validation: 113 desktop tests, TypeScript and lint passed, including GitHub CI for the final commit. The Windows x64 installer and Squirrel package were rebuilt from source tree c5532288769a5f9455c3297e1d763df1ccf2ebb8. Package contents include the final terminal fix; production CSP, Squirrel RELEASES SHA-1/size and installer SHA-256 were verified. Windows binaries are unsigned because no signing certificate is configured.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T03:43:03.939678Z 7c8875e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5cbf411b4b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/main/index.ts
const settings = await settingsStore.getSettings();
await syncOpenAtLogin(settings.launchOnStartup);
await subscriptionService.initialize();
void subscriptionService.initialize().catch((error) => logMainProcessError("Initial subscription verification failed", error));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Await startup verification before accepting new authentication

When an existing session is restored, this allows its verification request to remain in flight while the window and protocol handler become available. If the user completes sign-in for another account before that request finishes, the stale request can subsequently overwrite the new subscription state; an old-session 401 is worse because handleUnauthorizedSession saves the captured old record with no token, immediately signing the new user back out. Keep initialization serialized with startup as before, or discard verification results when the persisted session has changed.

Useful? React with 👍 / 👎.

Comment on lines +778 to +779
` printf '%s\\n' "$projecto_exit_code" > ${quoteBash(path.join(this.runsDirectory, `${runId}.exit.tmp`))}`,
` mv -- ${quoteBash(path.join(this.runsDirectory, `${runId}.exit.tmp`))} ${quoteBash(path.join(this.runsDirectory, `${runId}.exit`))}`,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Finalize runs when changing to the command directory fails

For a Linux or macOS command whose configured relative cwd does not exist, the generated script exits at the earlier cd ... || exit 1 before either trap is installed. Consequently this new exit file is never written, while the tailer no longer times out and only emits an idle warning, leaving the run and project terminal session active indefinitely until the user manually stops it. Install the finalization trap before changing directories or explicitly write a failure status on that path.

Useful? React with 👍 / 👎.

Comment thread README.md
Comment on lines +102 to +103
- Version: `1.0.8`
- Installer: `Projecto-1.0.8.Setup.exe`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the documented build target to 1.0.9

This commit sets the package and generated installer version to 1.0.9, but the release instructions still identify 1.0.8 as the current target and tell maintainers to publish the 1.0.8 artifacts. Following this section would update the website or release feed with the wrong installer name and version; the version, filename, and publication note should match 1.0.9.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7c8875e562

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

name: "Full Dev Workspace",
description:
"Run every saved project command, then open the browser and editor.",
"Run all commands enabled for profile launch, then open the browser and editor. Run dependency installation separately first.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Limit Full Dev Workspace to launch-enabled commands

When a project contains setup commands marked runOnLaunch: false, selecting this renamed preset still assigns allCommandIds, so launching it runs dependency installation despite the new description explicitly saying to run installation separately. Build the preset from runnableCommandIds so its behavior matches the advertised workflow.

Useful? React with 👍 / 👎.

@aditya9515
aditya9515 merged commit 1e4fb7b into main Oct 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant