CK Codex Deployment
CampKitchen build, intake, testing, deployment, and recovery checklist.
CampKitchen intake, testing, approval, deployment, tooling, fallback, and publishing workflow.
CampKitchen build, intake, testing, deployment, and recovery checklist.
Open PowerShell and go to the active CampKitchen repository:
Set-Location "C:\GitHub\CampKitchen"
Confirm the repository state:
git status -sb
A clean synchronized result normally looks like:
Start the repository workflow:
```powershell
.\ck.ps1 start
Do not begin a new build when Codex or Git reports unexplained local changes.
Open the CampKitchen repository in Codex:
C:\GitHub\CampKitchen
Start a new Codex chat for the specific feature, bug, tooling task, or documentation task.
Use this repository-driven prompt:
CampKitchen build task: [WORK-ITEM ID and requested change].
Read and follow AGENTS.md, AI-WORKFLOW.md, docs/Chat-Workflow.md, docs/Product-Backlog.md, the relevant specification, docs/Master-Build.md, and the affected source files.
Use the repository's risk-based testing, deployment-approval, documentation, intake, and versioning rules.
Do not deploy production without clear product-owner approval after test review.
At the end, provide a completed Tracker Handoff Summary.
The authoritative workflow belongs in the CampKitchen repository:
AGENTS.md contains short non-negotiable rules.AI-WORKFLOW.md contains the complete workflow.docs/Chat-Workflow.md explains how Codex and the tracker chat work together.docs/Intake-Inbox.md contains unformalized project intake.Reusable prompts should defer to these repository instructions instead of repeating the entire workflow.
Use Fast Project Intake for bugs, features, enhancement requests, general requests, feedback, ideas, questions, and other observations.
Natural-language examples:
bug report: The CampKitchen logo does not display on the Super Admin page.
feature request: Allow groups and menu items to be archived and restored.
feedback: The date arrows work, but they are difficult to notice.
idea: Add a weekly dashboard showing meals, guest counts, and major prep needs.
request: Add a way for an administrator to cancel a pending invitation.
question: Should archived menu items still appear in historical prep lists?
Fast intake should:
INTAKE-### identifier.docs/Intake-Inbox.md.Fast intake should not create a full specification, assign a final work-item prefix, update every planning document, investigate root cause, run full repository validation, or deploy.
General form:
.\ck.ps1 intake -Type Bug -Title "Title" -Summary "Summary"
Supported types:
Bug
Feature
Enhancement
Request
Feedback
Idea
Question
Other
Bug example:
.\ck.ps1 intake -Type Bug -Title "Super Admin logo missing" -Area "Super Admin" -Actual "The CampKitchen logo does not display." -Expected "The approved CampKitchen logo displays."
Feature example:
.\ck.ps1 intake -Type Feature -Title "Archive groups" -Summary "Allow old groups to be archived instead of permanently deleted." -RequestedOutcome "Users can restore archived groups later."
Preview an intake entry without changing files:
.\ck.ps1 intake -Type Feedback -Title "Date controls are hard to notice" -Summary "The controls work but are visually easy to miss." -WhatIf
List open intake:
.\ck.ps1 intake-list
Filter the list:
.\ck.ps1 intake-list -Status "Needs Triage"
Formalization is the separate step that converts raw intake into official project work.
Examples:
Formalize INTAKE-012.
Formalize INTAKE-012 as a bug.
Formalize INTAKE-013 as a user-interface feature.
During formalization, Codex may:
BUG, UX, ADM, KIT, INF, or SHR.An intake item may instead be merged, answered, closed as informational feedback, or deferred.
Codex should stop before test deployment and ask which option you prefer.
Use for high-risk work or deeper browser and workflow testing:
Choose Option A. Deploy to test and perform extended Codex testing.
Use for most low-risk visual, branding, print, navigation, or backward-compatible UI work:
Choose Option B. Deploy to test, confirm the deployment and current assets, then stop for my manual testing.
Codex should verify the test deployment, confirm the current assets, then provide a short manual test list.
Choose Option C. Do not deploy yet.
Minimum repository, source-completeness, security, and relevant build checks still apply. Option B skips extended testing, not minimum safety checks.
Passing result:
Testing passed.
Failed result:
Testing failed.
Expected:
[expected behavior]
Actual:
[actual behavior]
Steps:
[steps that produced the failure]
Correct the implementation and update the test deployment.
Passing testing does not authorize production by itself.
After test review, Codex should ask whether the tested version is approved for production.
No exact phrase is required. Clear approvals include:
Production approved.
Actual site approved.
Yes, deploy it to production.
Go live with this version.
Push this change live.
When approval is unclear, Codex should ask:
Do you approve deploying this tested version to production?
To pause:
Do not deploy production yet.
After clear production approval, Codex should normally:
origin/main.When Codex reports that it committed and pushed, do not run .\ck.ps1 save afterward.
This is optional when Codex already reports a successful commit and push:
git status -sb
Expected clean synchronized result:
### Create the Dropbox Backup
```powershell
.\ck.ps1 backup
Paste the actual handoff into the tracker chat:
Record this build:
[actual Tracker Handoff Summary from Codex]
This is chat text, not a PowerShell command.
A separate Mark deployed tracker message is optional when the handoff already includes the commit, production deployment, and verification record.
Use these only when independently confirming Codex's commit and push.
git log -5 --oneline --decorate
git fetch origin
git status -sb
git rev-list --left-right --count origin/main...HEAD
Expected synchronized result:
0 0
These are optional confirmation commands, not routine requirements.
Use this only when Codex did not commit and push.
First check:
git status
Save only when Git shows expected modified or untracked files:
.\ck.ps1 save -Message "WORK-ID: concise description"
When prompted:
SAVE
Do not run save when the working tree is clean. A clean tree means the changes are already committed or there is nothing new to save.
Use these only for review, troubleshooting, or when Codex has not already completed the same step.
git status
git diff --stat
git --no-pager diff
.\ck.ps1 verify
.\ck.ps1 deploy test
Manual production deployment requires clear production approval:
.\ck.ps1 deploy production -ConfirmProduction DEPLOY
CampKitchen deployment tooling should not depend on whichever PATH a PowerShell or Codex process happens to inherit.
The repository should provide:
.\ck.ps1 doctor
The doctor command should report absolute paths and versions for:
All ck.ps1 commands and child deployment scripts should share one resolver that:
CampKitchen tooling task: INF-003, make deployment tool discovery self-configuring and reliable.
Read AGENTS.md, AI-WORKFLOW.md, ck.ps1, package.json, all PowerShell helper scripts, all deployment scripts, and the Wrangler configuration.
Do not change CampKitchen application behavior.
Do not deploy production.
Consolidate tool discovery into one shared resolver used by every ck.ps1 action and child deployment process.
Resolve absolute paths for git.exe, gh.exe, node.exe, npm.cmd, npx.cmd, project-local Wrangler, and python.exe.
Prepend resolved directories to the current process PATH, pass the repaired environment to child processes, prefer a locally pinned Wrangler version, add .\ck.ps1 doctor, run deployment preflight before lengthy validation, fail fast with actionable messages, and add a safe resume mechanism for failures that occur before upload.
Test normal PowerShell, a reduced-PATH child process, the named deployment path, doctor, and a test deployment.
A test deployment is authorized.
Production deployment is not authorized.
Update the relevant workflow documentation, commit and push the tooling fix, and return a completed Tracker Handoff Summary.
CampKitchen uses MAJOR.MINOR.PATCH.
Use 2.3.2, 2.3.3, and so forth for bug fixes, small corrections, performance improvements, accessibility fixes, and backward-compatible adjustments.
Use 2.4.0, 2.5.0, and so forth for backward-compatible new features, screens, workflows, reports, or meaningful feature bundles.
Use 3.0.0 only for breaking or incompatible changes, major workflow replacement, or an explicitly approved next-generation release.
Test deployments do not increment the public version. Codex may recommend a version. The product owner approves MINOR and MAJOR changes.
Use this prompt when only repository records need to change:
Apply the latest CampKitchen tracker updates to the repository documentation.
Update the Product Backlog, relevant specifications, Product Roadmap, Changelog, Development Journal, Master Build, and other affected records.
Do not change application code.
Do not deploy.
Run repository validation once.
Commit and push the documentation update.
Return a completed Tracker Handoff Summary.
No test or production deployment is required for documentation-only work.
This checklist is a separate static Cloudflare Worker project:
C:\GitHub\CK-Codex-Deployment
Replace the deployed page with the updated HTML:
Copy-Item "D:\Downloads\CampKitchen-Clickable-Checklist.html" "C:\GitHub\CK-Codex-Deployment\public\index.html" -Force
Review changes:
git --no-pager diff
Run the site's self-check:
.\site.ps1 doctor
Preview locally:
.\site.ps1 dev
Deploy the site:
.\site.ps1 deploy
Commit and push the site update:
git add .
git commit -m "SITE: update CK Codex Deployment checklist"
git push
Production address:
https://build.campmenutool.com
.\ck.ps1 start..\ck.ps1 backup.