@@ -537,7 +537,7 @@ class DirectiveEvaluatorAgent extends AgentBase {
537537 return this._failResult(base, 0, 'Directive is empty or too short to constitute a viable use case.', text);
538538 }
539539
540- const _tl = text.toLowerCase();
540+ const tl = text.toLowerCase();
541541
542542 // Step 2: Criterion 1 — Goal Clarity
543543 const goalSignals = [
@@ -12800,7 +12800,7 @@ app.get('/api/governance-index', (_, res) => res.json({
1280012800
1280112801// Governance Index — sub-endpoints
1280212802app.get('/api/governance-index/pillars', (_, res) => {
12803- const _idx = {};
12803+ const idx = {};
1280412804 // Quick pillar summary
1280512805 res.json({
1280612806 count: 9,
@@ -25689,7 +25689,7 @@ app.get('/gcir-zk-recursive-2035', (req, res) => {
2568925689});
2569025690
2569125691// Summary + meta endpoints
25692- app.get('/api/gcir-zk-recursive-2035/summary', (req , res) => res.json({
25692+ app.get('/api/gcir-zk-recursive-2035/summary', (_req , res) => res.json({
2569325693 docRef: GCIR67.docRef,
2569425694 version: GCIR67.version,
2569525695 title: GCIR67.title,
@@ -25700,110 +25700,110 @@ app.get('/api/gcir-zk-recursive-2035/summary', (req, res) => res.json({
2570025700 classification: GCIR67.classification,
2570125701 counts: GCIR67.counts,
2570225702}));
25703- app.get('/api/gcir-zk-recursive-2035/directive', (req , res) => res.json(GCIR67.directive));
25704- app.get('/api/gcir-zk-recursive-2035/audiences', (req , res) => res.json(GCIR67.audiences));
25705- app.get('/api/gcir-zk-recursive-2035/indices', (req , res) => res.json(GCIR67.indices));
25706- app.get('/api/gcir-zk-recursive-2035/tiers', (req , res) => res.json(GCIR67.tiers));
25707- app.get('/api/gcir-zk-recursive-2035/severities', (req , res) => res.json(GCIR67.severities));
25708- app.get('/api/gcir-zk-recursive-2035/investment', (req , res) => res.json(GCIR67.investment));
25709- app.get('/api/gcir-zk-recursive-2035/counts', (req , res) => res.json(GCIR67.counts));
25710- app.get('/api/gcir-zk-recursive-2035/executive-summary', (req , res) => res.json(GCIR67.executiveSummary));
25703+ app.get('/api/gcir-zk-recursive-2035/directive', (_req , res) => res.json(GCIR67.directive));
25704+ app.get('/api/gcir-zk-recursive-2035/audiences', (_req , res) => res.json(GCIR67.audiences));
25705+ app.get('/api/gcir-zk-recursive-2035/indices', (_req , res) => res.json(GCIR67.indices));
25706+ app.get('/api/gcir-zk-recursive-2035/tiers', (_req , res) => res.json(GCIR67.tiers));
25707+ app.get('/api/gcir-zk-recursive-2035/severities', (_req , res) => res.json(GCIR67.severities));
25708+ app.get('/api/gcir-zk-recursive-2035/investment', (_req , res) => res.json(GCIR67.investment));
25709+ app.get('/api/gcir-zk-recursive-2035/counts', (_req , res) => res.json(GCIR67.counts));
25710+ app.get('/api/gcir-zk-recursive-2035/executive-summary', (_req , res) => res.json(GCIR67.executiveSummary));
2571125711
2571225712// Modules
25713- app.get('/api/gcir-zk-recursive-2035/modules', (req , res) => res.json(GCIR67.modules));
25713+ app.get('/api/gcir-zk-recursive-2035/modules', (_req , res) => res.json(GCIR67.modules));
2571425714app.get('/api/gcir-zk-recursive-2035/modules/:id', (req, res) => {
2571525715 const m = GCIR67.modules.find(x => x.mid === req.params.id);
2571625716 if (!m) return res.status(404).json({ error: 'module not found', id: req.params.id });
2571725717 res.json(m);
2571825718});
2571925719
2572025720// TLA+ invariants -> zk circuits (M1)
25721- app.get('/api/gcir-zk-recursive-2035/tla-invariants', (req , res) => res.json(GCIR67.tlaInvariants));
25721+ app.get('/api/gcir-zk-recursive-2035/tla-invariants', (_req , res) => res.json(GCIR67.tlaInvariants));
2572225722app.get('/api/gcir-zk-recursive-2035/tla-invariants/:id', (req, res) => {
2572325723 const t = GCIR67.tlaInvariants.find(x => x.tiid === req.params.id);
2572425724 if (!t) return res.status(404).json({ error: 'tla invariant not found', id: req.params.id });
2572525725 res.json(t);
2572625726});
2572725727
2572825728// GC-IR bridge stages (M1)
25729- app.get('/api/gcir-zk-recursive-2035/gcir-bridges', (req , res) => res.json(GCIR67.gcirBridges));
25729+ app.get('/api/gcir-zk-recursive-2035/gcir-bridges', (_req , res) => res.json(GCIR67.gcirBridges));
2573025730app.get('/api/gcir-zk-recursive-2035/gcir-bridges/:id', (req, res) => {
2573125731 const b = GCIR67.gcirBridges.find(x => x.gbid === req.params.id);
2573225732 if (!b) return res.status(404).json({ error: 'gcir bridge not found', id: req.params.id });
2573325733 res.json(b);
2573425734});
2573525735
2573625736// zk circuits (M2/M3)
25737- app.get('/api/gcir-zk-recursive-2035/zk-circuits', (req , res) => res.json(GCIR67.zkCircuits));
25737+ app.get('/api/gcir-zk-recursive-2035/zk-circuits', (_req , res) => res.json(GCIR67.zkCircuits));
2573825738app.get('/api/gcir-zk-recursive-2035/zk-circuits/:id', (req, res) => {
2573925739 const c = GCIR67.zkCircuits.find(x => x.zcid === req.params.id);
2574025740 if (!c) return res.status(404).json({ error: 'zk circuit not found', id: req.params.id });
2574125741 res.json(c);
2574225742});
2574325743
2574425744// Recursive proof pipelines (M2/M3)
25745- app.get('/api/gcir-zk-recursive-2035/proof-pipelines', (req , res) => res.json(GCIR67.proofPipelines));
25745+ app.get('/api/gcir-zk-recursive-2035/proof-pipelines', (_req , res) => res.json(GCIR67.proofPipelines));
2574625746app.get('/api/gcir-zk-recursive-2035/proof-pipelines/:id', (req, res) => {
2574725747 const p = GCIR67.proofPipelines.find(x => x.ppid === req.params.id);
2574825748 if (!p) return res.status(404).json({ error: 'proof pipeline not found', id: req.params.id });
2574925749 res.json(p);
2575025750});
2575125751
2575225752// OSCAL proof extensions (M4)
25753- app.get('/api/gcir-zk-recursive-2035/oscal-proof-extensions', (req , res) => res.json(GCIR67.oscalProofExtensions));
25753+ app.get('/api/gcir-zk-recursive-2035/oscal-proof-extensions', (_req , res) => res.json(GCIR67.oscalProofExtensions));
2575425754app.get('/api/gcir-zk-recursive-2035/oscal-proof-extensions/:id', (req, res) => {
2575525755 const o = GCIR67.oscalProofExtensions.find(x => x.opid === req.params.id);
2575625756 if (!o) return res.status(404).json({ error: 'oscal proof extension not found', id: req.params.id });
2575725757 res.json(o);
2575825758});
2575925759
2576025760// Evidence ingestion pipelines (M4)
25761- app.get('/api/gcir-zk-recursive-2035/evidence-pipelines', (req , res) => res.json(GCIR67.evidencePipelines));
25761+ app.get('/api/gcir-zk-recursive-2035/evidence-pipelines', (_req , res) => res.json(GCIR67.evidencePipelines));
2576225762app.get('/api/gcir-zk-recursive-2035/evidence-pipelines/:id', (req, res) => {
2576325763 const ep = GCIR67.evidencePipelines.find(x => x.epid === req.params.id);
2576425764 if (!ep) return res.status(404).json({ error: 'evidence pipeline not found', id: req.params.id });
2576525765 res.json(ep);
2576625766});
2576725767
2576825768// Research apex syntheses (M7)
25769- app.get('/api/gcir-zk-recursive-2035/research-syntheses', (req , res) => res.json(GCIR67.researchSyntheses));
25769+ app.get('/api/gcir-zk-recursive-2035/research-syntheses', (_req , res) => res.json(GCIR67.researchSyntheses));
2577025770app.get('/api/gcir-zk-recursive-2035/research-syntheses/:id', (req, res) => {
2577125771 const r = GCIR67.researchSyntheses.find(x => x.rsyid === req.params.id);
2577225772 if (!r) return res.status(404).json({ error: 'research synthesis not found', id: req.params.id });
2577325773 res.json(r);
2577425774});
2577525775
2577625776// Roadmap phases 2026-2035
25777- app.get('/api/gcir-zk-recursive-2035/roadmap-phases', (req , res) => res.json(GCIR67.roadmapPhases));
25777+ app.get('/api/gcir-zk-recursive-2035/roadmap-phases', (_req , res) => res.json(GCIR67.roadmapPhases));
2577825778app.get('/api/gcir-zk-recursive-2035/roadmap-phases/:id', (req, res) => {
2577925779 const r = GCIR67.roadmapPhases.find(x => x.rpid === req.params.id);
2578025780 if (!r) return res.status(404).json({ error: 'roadmap phase not found', id: req.params.id });
2578125781 res.json(r);
2578225782});
2578325783
2578425784// Report sections (M8) — <title>/<abstract>/<content>
25785- app.get('/api/gcir-zk-recursive-2035/report-sections', (req , res) => res.json(GCIR67.reportSections));
25785+ app.get('/api/gcir-zk-recursive-2035/report-sections', (_req , res) => res.json(GCIR67.reportSections));
2578625786app.get('/api/gcir-zk-recursive-2035/report-sections/:id', (req, res) => {
2578725787 const rs = GCIR67.reportSections.find(x => x.rsid === req.params.id);
2578825788 if (!rs) return res.status(404).json({ error: 'report section not found', id: req.params.id });
2578925789 res.json(rs);
2579025790});
2579125791
2579225792// Standard artifact endpoints
25793- app.get('/api/gcir-zk-recursive-2035/schemas', (req , res) => res.json(GCIR67.schemas));
25794- app.get('/api/gcir-zk-recursive-2035/code', (req , res) => res.json(GCIR67.code));
25795- app.get('/api/gcir-zk-recursive-2035/kpis', (req , res) => res.json(GCIR67.kpis));
25796- app.get('/api/gcir-zk-recursive-2035/risk-control-matrix', (req , res) => res.json(GCIR67.riskControlMatrix));
25797- app.get('/api/gcir-zk-recursive-2035/traceability', (req , res) => res.json(GCIR67.traceability));
25798- app.get('/api/gcir-zk-recursive-2035/data-flows', (req , res) => res.json(GCIR67.dataFlows));
25799- app.get('/api/gcir-zk-recursive-2035/regulators', (req , res) => res.json(GCIR67.regulators));
25793+ app.get('/api/gcir-zk-recursive-2035/schemas', (_req , res) => res.json(GCIR67.schemas));
25794+ app.get('/api/gcir-zk-recursive-2035/code', (_req , res) => res.json(GCIR67.code));
25795+ app.get('/api/gcir-zk-recursive-2035/kpis', (_req , res) => res.json(GCIR67.kpis));
25796+ app.get('/api/gcir-zk-recursive-2035/risk-control-matrix', (_req , res) => res.json(GCIR67.riskControlMatrix));
25797+ app.get('/api/gcir-zk-recursive-2035/traceability', (_req , res) => res.json(GCIR67.traceability));
25798+ app.get('/api/gcir-zk-recursive-2035/data-flows', (_req , res) => res.json(GCIR67.dataFlows));
25799+ app.get('/api/gcir-zk-recursive-2035/regulators', (_req , res) => res.json(GCIR67.regulators));
2580025800app.get('/api/gcir-zk-recursive-2035/regulators/:name', (req, res) => {
2580125801 const r = GCIR67.regulators.find(x => x.name.toLowerCase() === decodeURIComponent(req.params.name).toLowerCase());
2580225802 if (!r) return res.status(404).json({ error: 'regulator not found', name: req.params.name });
2580325803 res.json(r);
2580425804});
25805- app.get('/api/gcir-zk-recursive-2035/rollout-90', (req , res) => res.json(GCIR67.rollout90));
25806- app.get('/api/gcir-zk-recursive-2035/evidence-pack', (req , res) => res.json(GCIR67.evidencePack));
25805+ app.get('/api/gcir-zk-recursive-2035/rollout-90', (_req , res) => res.json(GCIR67.rollout90));
25806+ app.get('/api/gcir-zk-recursive-2035/evidence-pack', (_req , res) => res.json(GCIR67.evidencePack));
2580725807
2580825808// ===================== END WP-067 =====================
2580925809
0 commit comments