fix(course): 补齐路径 Evidence 与演示一致性 - #57
Merged
Merged
Conversation
Keep API-risk persistence covered by a real one-loop test and canonicalize frozen benchmark hashes across LF/CRLF checkouts.
Run the production Vite entrypoint with a 2 GB Node heap so the default pnpm build does not terminate under the observed local memory pressure.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
提交范围
本 PR 将当前
Nnutural:dev同步到BUPT-ResearchAgent:dev,包含 14 个已提交的后续修复。除本轮 WEBSEC-101 路径修复外,也包含当前分支已有的审计会话隔离、学习路径持久化、RAG 检索/来源、fixture 公平性与前端可访问性收敛;各项均以提交历史为准。本轮页面:课程学习 / 课程入口
demo-student@securehub.local点击“生成个性化路径”时因GenerateLearningPath requires 3 evidence chunks失败的受控数据根因。websec-101-showcase-v8为 7 个受控 WEBSEC-101 讲义 chunk 写入持久化确定性索引;真实检索可返回带章节与来源定位的controlled_showcase_fixtureEvidence,满足既有 evidence floor,不降低该门槛。真实性与环境边界
controlled-showcase-fixture:websec-101:1024:dense:v1仅供显式受控 seed 写入的 local、competition-demo 或 authorized-test WEBSEC-101 场景使用。prod、release环境禁用。evidence_floor=3,未伪造 Evidence、路径、分数或 Provider 成功。若之后 Provider 或 QualityCheck 失败,页面仍必须显示真实运行原因。seed、verify,不得为升级执行reset。已完成验证
22 passed。pnpm typecheck与git diff --check通过。SECUREHUB_ALLOW_SHOWCASE_SEED=1 ... seed、verify成功;manifest 为websec-101-showcase-v8,valid: True,lecture_ready_chunks: 7。controlled_showcase_fixtureEvidence;未调用 live Provider。未纳入验收
seed与verify后才能记录为已验证。