Repository navigation
fix(report): locked preview keeps the failed-prompt count; drop dead doc links - #163
Merged
Merged
Conversation
…doc links from comments - redactForPreview carries failedPrompts (a count) so an engine that failed every prompt reads UNAVAILABLE in the locked preview too - comments no longer point at docs/audit/* files that are not in this repo Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
Added 4cc3f3a: |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two small follow-ups, both from Mercury's review.
redactForPreviewnow keeps an engine'sfailedPromptscount. That count arrived in feat(crawler): one crawl module for both paths, one budget, failed prompts not counted #154. Without it, an engine that failed every prompt read "COMING SOON" in the locked preview instead of "UNAVAILABLE". No prompt, answer or site name is kept.docs/audit/*files, which are not in this repo. The pointers are removed; each comment still says why on its own. This covers TDD task AEO-T-003, "no deaddocs/audit/*link on main".Pipeline: /tdd (
gate.redact.test.tsfails on main with COMING SOON ≠ UNAVAILABLE, and passes with the change) → tsc → full suiteRisk
Code review: self-review only. It is a one-field change with a test, plus comment edits.
Checks:
npx vitest runpassed 217/217 tests before the new spec, and the new spec passes.npx tsc --noEmitis clean.grep docs/audit/ src scriptsreturns nothing.🤖 Generated with Claude Code