Skip to content

docs: correct overstated impact claim from issue #66 - #71

Merged
diese-tech merged 2 commits into
mainfrom
claude/correct-status-events-doc
Sep 21, 2026
Merged

diese-tech merged 2 commits into
mainfrom
claude/correct-status-events-doc

Conversation

@diese-tech

Copy link
Copy Markdown
Owner

Summary

Doc-only correction. Does not touch issue #61 or issue #66's state — this is not intended to reopen or close either.

After PR #70 merged, the user asked what the "654 jobs" in that PR's status_events finding actually were, since the product has no real customers yet. Good question — I hadn't checked, I'd only confirmed the count and the actor_id: null pattern for the demo-seed rows, and assumed the rest were real.

Queried the actual rows: 653 belong to northwind-comfort-live-qa and the load-fleet-hvac-* companies with customer_name/issue literally reading "Synthetic multi-company office load test" — output from a prior run of scripts/load-multi-office-actions.mjs. The remaining one is an obvious manual placeholder entry ("John Smith" / "123-456-7890" / "Heater broke") in a company named "...Demo Co". None of the 654 are real customer data.

What this changes and what it doesn't

  • The underlying bug and its fix (routing status_events inserts through the admin client) are unaffected — that gap was real and would have silently dropped the audit trail for the first genuine dispatcher-created job.
  • Only the impact framing in docs/AUTHORIZATION.md's resolved note was overstated ("654 real, non-demo jobs" implied confirmed production data loss). Corrected to accurately describe the rows as QA/load-test artifacts.

Tests

  • npx vitest run — 328 passed, unaffected (doc-only)
  • npx tsc --noEmit, npm run lint — clean

🤖 Generated with Claude Code

https://claude.ai/code/session_01MR2GnZw5BX1L6QgTabt5JF


Generated by Claude Code

The "654 real, non-demo jobs" framing was wrong. Checked the actual
rows: 653 are scripts/load-multi-office-actions.mjs output against the
QA/fleet test companies (customer_name/issue literally read "Synthetic
multi-company office load test"), and the last one is an obvious manual
placeholder entry ("John Smith") in a company named "...Demo Co". None
had is_demo set, which is what made the query in #66 look like it was
surfacing real production data loss -- it wasn't. The product has no
real customers yet.

The underlying bug and fix are unaffected -- status_events inserts via
the session-scoped client were and are silently dropped by RLS, which
would have hit the first real dispatcher-created job. Only the impact
framing needed correcting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MR2GnZw5BX1L6QgTabt5JF
@vercel

vercel Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
swift-dispatch Ready Ready Preview Sep 20, 2026 12:24pm UTC

@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: 694703304f

ℹ️ 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 docs/AUTHORIZATION.md Resolved
Codex review on PR #71: customer_name is "Office Fleet <slug>
<workerId>-<cycle>", not the "Synthetic..." string -- only issue and
problem_description carry that literal text. Narrowed the wording to
match scripts/load-multi-office-actions.mjs's actual output.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MR2GnZw5BX1L6QgTabt5JF

Copy link
Copy Markdown
Owner Author

Fixed in b5f4f0b — you're right, customer_name is Office Fleet <companySlug> <workerId>-<cycle>; only issue/problem_description carry the "Synthetic multi-company office load test" literal. Narrowed the wording to match.


Generated by Claude Code


Generated by Claude Code

@diese-tech diese-tech left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Half-Shell Council Review

April O’Neil: This is the right correction to make. The PR narrows an overstated impact claim without rewriting the history of #66 or pretending the underlying bug was less real. The scope is exactly what the title says: documentation only.

Donatello: The revised fingerprint now matches the actual load script. customer_name follows the Office Fleet <companySlug> <workerId>-<cycle> pattern, while issue / problem_description carry the Synthetic multi-company office load test literal. The prior automated P2 was valid against the earlier commit, but it is resolved in b5f4f0b.

Raphael: Good correction, because the previous wording overclaimed the evidence. But this doesn’t let the bug off the hook. The real defect was still that authenticated/session-scoped writes to status_events had no INSERT policy and were being dropped. This PR only fixes the claim that the 654 affected rows represented real customer traffic.

Michelangelo: Beautifully boring. One doc, one factual cleanup, no bonus refactor hiding in the pizza box.

Casey Jones: Operationally, this matters. Future debugging shouldn’t send somebody hunting for nonexistent customer data or treating load-test debris like an incident. The revised note leaves enough fingerprints to identify those rows later.

Splinter: Correct the record without disturbing already-resolved implementation work. Good discipline.

Shredder: I looked for the easy failure mode here: using the correction to downplay #66 itself. The diff does not do that. It explicitly preserves the conclusion that the first genuine dispatcher-created or updated job would have lost its audit event before the fix.

Leonardo: No blocking finding remains. The earlier P2 has been addressed, the correction is factual and narrowly scoped, and CI is green on exact head b5f4f0bccee9795bed7ff6b3c9578b9ae92e8b42.

Disposition: ready from review perspective.

@diese-tech
diese-tech merged commit 7eb82b5 into main Sep 21, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — b5f4f0bc Deployed Sep 20, 2026 by vercel[bot]
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.

2 participants