HD Sports Zone Employee Scheduling Builder

26A-29 — Command Shell Preview

This phase previews what future inspect, write, and rollback commands could look like. It does not create an Artisan command, does not register a command, does not execute a command, and does not write to the database.

COMMAND PREVIEW ONLY — NO COMMAND INSTALLED / NO WRITE

Preview Phrases

Approval phraseSAVE_ONE_DRAFT_SHIFT
Rollback phraseROLLBACK_ONE_DRAFT_SHIFT
Owner review phraseOWNER_REVIEW_ONLY_NO_WRITE
Command preview phraseCOMMAND_PREVIEW_ONLY_NO_WRITE
These phrases are displayed for review only. They do not unlock any command or database write.

Future Command Shapes — Not Installed

Not installed by 26A-29 — Would inspect only; no write Future inspect command shape only
php artisan hd:draft-shift-one-row:inspect --approval=SAVE_ONE_DRAFT_SHIFT --row-limit=1 --dry-run=yes --phase=FUTURE_PHASE_ONLY
A future command could inspect the target table, payload, and safety gates before any write.
Not installed by 26A-29 — Not available in 26A-29 Future write command shape only
php artisan hd:draft-shift-one-row:write --approval=SAVE_ONE_DRAFT_SHIFT --row-limit=1 --publish=no --notify=no --employee-view=no --phase=FUTURE_PHASE_ONLY
A future command could create exactly one draft-only test row after explicit approval.
Not installed by 26A-29 — Would inspect only; no delete Future rollback inspect command shape only
php artisan hd:draft-shift-one-row:rollback-inspect --test-row-id={created_row_id} --token={test_token} --dry-run=yes
A future command could inspect the created test row before rollback.
Not installed by 26A-29 — Not available in 26A-29 Future rollback command shape only
php artisan hd:draft-shift-one-row:rollback --test-row-id={created_row_id} --confirm=ROLLBACK_ONE_DRAFT_SHIFT --limit=1
A future command could remove only the created one-row test after explicit rollback confirmation.

Required Before Any Command Install

  • Explicit approval for installing a command must be given in a later phase.
  • Actual one-row database write approval must be separate from command-preview approval.
  • Target table and required columns must be confirmed.
  • Rollback behavior must be available before the first real one-row write.
  • Future command must support inspect/dry-run mode.
  • Future command must show target row before write or delete.
  • Future write command must return created row id immediately.
  • Future rollback command must require rollback phrase and row id.
  • Future command must report affected row count.
  • Future command must not publish, notify, or change employee self-view.

Command Hard Stops

  • Stop if command would affect more than one row.
  • Stop if command would run without exact approval phrase.
  • Stop if command would run without dry-run/inspect first.
  • Stop if target table is not confirmed.
  • Stop if created row id cannot be displayed.
  • Stop if rollback instructions cannot be displayed.
  • Stop if command would publish a schedule.
  • Stop if command would send text or email.
  • Stop if command would touch payroll, POS, reservations, payments, waivers, customers, unavailable blocks, or conflict reviews.
  • Stop if command is being run from Payfast Office instead of hdsportszone.com.

No-Write Proof

  • 26A-29 routes are GET-only.
  • 26A-29 controller imports Route only and does not import DB, Schema, Artisan, Process, or any model.
  • 26A-29 controller does not call insert, create, save, update, delete, destroy, truncate, dispatch, event, mail, notification, queue, broadcast, or migration actions.
  • 26A-29 does not create app/Console command files.
  • 26A-29 does not modify routes/console.php.
  • 26A-29 views only display command text examples as preview strings.
  • 26A-29 smoke test checks file and route presence only.

Safety Locks

  • No ENV changes.
  • No database writes.
  • No database deletes.
  • No migration creation or execution.
  • No Artisan command creation or registration.
  • No real draft shift save.
  • No real rollback or cleanup command is installed.
  • No published schedule.
  • No employee self-view change.
  • No employee text message.
  • No employee email notification.
  • No payroll, POS, reservation, payment, waiver, or customer profile changes.
  • No hard conflict blocking.
  • No automatic scheduling.
  • No Payfast Office file, route, controller, or database action.
  • This phase contains no POST route and no write endpoint.

Route Readiness

26A 29 command shell preview Available
26A 29 print packet Available
26A 29 smoke test Available
26A 28 owner authorization Available
26A 27 readiness completion Available
26A 26 execution preview packet Available
26A 25 final approval gate Available
26A 24 target table confirmation Available
26A 23 rollback plan Available
26A 22 dry run validator Available

Next Step Notes

  • Recommended next safe phase: 26A-30 — Controlled One-Row Draft Save Command Readiness Checklist / Still No Write.
  • Do not install or run an Artisan command from 26A-29.
  • Do not create a draft shift from 26A-29.
  • Do not add a POST/write route in this phase.
  • Do not send employee notifications.
  • Do not publish schedules.
  • Do not touch payroll, POS, reservations, payments, waivers, customers, unavailable blocks, or conflict-review records.