Skip to content

feat: add Boss Mode and Sweet Lab previews - #8

Draft
Shakeyswings wants to merge 21 commits into
termux-sync-0226-2301from
feature/wingboss-boss-mode-sweet-lab
Draft

Shakeyswings wants to merge 21 commits into
termux-sync-0226-2301from
feature/wingboss-boss-mode-sweet-lab

Conversation

@Shakeyswings

@Shakeyswings Shakeyswings commented Aug 18, 2026 •

Copy link
Copy Markdown
Owner

Current approved implementation:

  • Boss Mode selling prices are approved for 6, 12, 20, and 36 wings.
  • Fire Storm 20 wings is explicitly approved at 415 minor units ($4.15).
  • Fire Storm remains a per-quantity Boss-finish charge; cost inputs remain separate and are still required for contribution/profitability analysis.
  • Sweet Lab current products are Deep Fried Snickers, Deep Fried Oreos, and Deep Fried Blasto at $5.95 each.
  • Sweet Lab includes 2 toppings, then adds $0.75 for each topping after two.
  • Current canonical menu data remains the source of truth.

@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: 061fdae8d9

ℹ️ 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/domain/wingboss.ts Outdated
Comment thread src/domain/wingboss.ts Outdated
Comment thread src/domain/wingboss.ts
Comment on lines +85 to +86
if (!selection.primaryFlavorId) reasons.push("Primary flavor is required.");
if (!selection.bossFinishFlavorId) reasons.push("Boss finish flavor is required.");

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 Reject unsupported primary and finish flavor IDs

When this validator receives a selection from a curated preset or any caller other than the current keyboard, it checks only that the primary and finish IDs are nonempty: for example, two distinct nonexistent IDs with kitchenValidated: true return valid: true. Because isBossSelectionCustomerSelectable() delegates to this result, enabling the currently blocked price would allow such an unsupported recipe to pass the selling guard; validate these IDs against BOSS_PRIMARY_FLAVORS and BOSS_FINISH_FLAVORS as is already done for finishers.

Useful? React with 👍 / 👎.

Comment thread src/domain/wingboss.ts
return [
"BOSS MODE",
`1. PRIMARY - ${selection.primaryFlavorId}`,
"2. BOSS COOK - validated re-fry profile",

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 Do not label unvalidated recipes as validated

For every completed customer preview, bossSelectionFromState() hard-codes kitchenValidated: false and then passes that selection to this renderer, which nevertheless prints validated re-fry profile. The resulting summary simultaneously says the path is not kitchen validated and describes its cook stage as validated, misleading customers about the status of arbitrary preview combinations; make this wording conditional or neutral for unvalidated selections.

Useful? React with 👍 / 👎.

Comment thread src/domain/wingboss.ts Outdated
Comment on lines +90 to +92
if (selection.primaryFlavorId && selection.bossFinishFlavorId && selection.primaryFlavorId === selection.bossFinishFlavorId) {
reasons.push("Primary and boss finish flavors must stay in distinct recipe positions.");
}

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 Allow one flavor to occupy both ordered recipe roles

When the kitchen validates a path that applies the same flavor before and after the Boss cook stage, this equality check rejects it even though the approved architecture requires distinct roles and positions, not distinct ingredient IDs (03_approved_architecture/boss_mode/BOSS_MODE_ARCHITECTURE_PATCH_v1.md:10). The primary and finish stages already remain distinct fields in the recipe signature, and every listed finish flavor also appears in the primary pool, so this adds an unsupported restriction to otherwise valid paths.

Useful? React with 👍 / 👎.

@Shakeyswings
Shakeyswings marked this pull request as draft August 18, 2026 22:05
@Shakeyswings

Copy link
Copy Markdown
Owner Author

Codex review

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