thesis-quality-gatelisted
Install: claude install-skill gxgeek-n/wenqu-mem
# Thesis Quality Gate
Use the deterministic CLI in this Skill as the control plane for thesis state and delivery
readiness. Keep project evidence, decisions, reports, and private data in the thesis project;
keep only reusable code and sanitized templates in this Skill.
## Locate the project
Run commands from the thesis project root, which must contain `.project/`. Prefer the
project-local launcher when present:
```bash
python3 scripts/thesis_quality.py state refresh
```
Otherwise invoke the Skill entry directly:
```bash
python3 <skill-path>/scripts/thesis_quality.py --project <project-root> state refresh
```
Read [references/project-contract.md](references/project-contract.md) before onboarding a
new project or changing paths and schemas.
## Operate the quality loop
1. Refresh state before relying on branch, commit, version, page count, stage, risk, or
last-build information.
2. Refresh the numeric ledger after changing thesis numbers. Treat automatic classification
as provisional; never auto-mark evidence as verified.
3. Sync the literature registry after changing `ref.bib`. Mark a source verified only after
checking a real bibliographic source.
4. Run Doctor after meaningful source, environment, build, or delivery changes.
5. Before formal delivery, require confirmed research anchors, an accepted current-stage
artifact contract, a closed revision ledger, a current deterministic de-AI report, and an
isolated AI review report.
6. Run the gate matching