fix(consult): read the live skill tree instead of a hash-pinned snapshot
Independent Staging Quality Gate / validate (push) Successful in 9m18s
Independent Staging Quality Gate / publish (push) Has been cancelled

Manual SKILL.md updates were blocked by registry sha256 and a byte-equal versions/ gate. Consult now loads the operator-maintained tree; rectification and personal-report stay hashed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-19 10:25:55 +08:00
co-authored by Cursor
parent 233c728176
commit d35828e76d
14 changed files with 315 additions and 109 deletions
+4 -3
View File
@@ -2,14 +2,15 @@
* Deployment startup guard.
*
* Next.js awaits register() before the server accepts traffic. Node runtimes
* must verify every active Skill package against the immutable registry so a
* stale or partially copied package fails closed during startup.
* must verify hashed product packages (rectification, personal report) and
* confirm the live consult skill tree is present, so a stale copy fails closed.
*/
export async function register(): Promise<void> {
if (process.env.NEXT_RUNTIME !== "nodejs") return;
const { verifyAllActiveSkillPackages } = await import("./lib/skill-package-registry");
const { resolveLiveJyotishSkill, verifyAllActiveSkillPackages } = await import("./lib/skill-package-registry");
verifyAllActiveSkillPackages();
resolveLiveJyotishSkill();
const { startPersonalReportWorker } = await import("./lib/personal-report-worker");
startPersonalReportWorker();