@esoteric-logic/praxis-harness 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ Platform outputs use suffixed filenames so users can distinguish them at a glanc
42
42
  | Platform | Output Filename | Budget |
43
43
  |----------|----------------|--------|
44
44
  | Claude Projects | `system-prompt.md` | 5,000 chars |
45
- | Perplexity Spaces | `space-instructions-perplexity.md` | 4,000 chars |
45
+ | Perplexity Spaces | `space-instructions-perplexity.md` | 4,500 chars |
46
46
 
47
47
  Each project has exactly **2 output files** — one per platform, same filenames regardless of mode.
48
48
  - `system-prompt.md` — standalone: hand-written, compiled: generated from profile blocks
@@ -370,7 +370,7 @@ Read the full `system-prompt.md` as source.
370
370
 
371
371
  ### 3a. Generate Perplexity Space instructions
372
372
 
373
- **Target:** `space-instructions-perplexity.md` | **Budget:** under 4,000 chars
373
+ **Target:** `space-instructions-perplexity.md` | **Budget:** under 4,500 chars
374
374
 
375
375
  **Include:** identity, domain expertise, research domains, source priority, answer format, key frameworks (by name only), reasoning approach, accuracy standards, anti-hallucination rules
376
376
  **Exclude:** internal templates, scoring matrices, reference file content, deployment details, full tables
@@ -415,7 +415,7 @@ Think step-by-step: Understand the question → search sources → analyze findi
415
415
 
416
416
  After generating, check:
417
417
  - `system-prompt.md` under 5,000 chars
418
- - `space-instructions-perplexity.md` under 4,000 chars
418
+ - `space-instructions-perplexity.md` under 4,500 chars
419
419
 
420
420
  If over budget: flag and suggest sections to trim.
421
421
 
@@ -509,7 +509,7 @@ Check each file against these criteria:
509
509
 
510
510
  **Budget checks:**
511
511
  - `system-prompt.md` under 5,000 chars?
512
- - `space-instructions-perplexity.md` under 4,000 chars?
512
+ - `space-instructions-perplexity.md` under 4,500 chars?
513
513
 
514
514
  **Currency checks (via Perplexity):**
515
515
  - Are domain-specific terms, standards, and versions still current?
@@ -522,7 +522,7 @@ Show a structured report:
522
522
  |---------------------------|--------|-----------------------------------|
523
523
  | Quality Controls section | PASS | Present in system-prompt.md |
524
524
  | Anti-Hallucination | FAIL | Missing — will add |
525
- | Budget: Perplexity | PASS | 2,392 / 4,000 chars |
525
+ | Budget: Perplexity | PASS | 2,392 / 4,500 chars |
526
526
  | File naming | FAIL | Uses old convention — will rename |
527
527
  | Knowledge files | WARN | 0 reference files — consider adding |
528
528
  ```
@@ -58,7 +58,7 @@ function discoverAllProjects() {
58
58
  const CHAR_BUDGETS = {
59
59
  'claude-code': Infinity,
60
60
  'claude-project': 5000,
61
- 'perplexity-space': 4000,
61
+ 'perplexity-space': 4500,
62
62
  };
63
63
 
64
64
  // Global flags set by CLI parser
package/lib/assemblers.js CHANGED
@@ -148,6 +148,20 @@ function assembleClaudeProject(blocks, projectConfig, vars) {
148
148
  for (const block of formatBlocks) lines.push(block.content, '');
149
149
  }
150
150
 
151
+ // Deal context — auto-injected from deal config vars
152
+ if (projectConfig.deal && vars.agency) {
153
+ lines.push('## Deal Context');
154
+ lines.push(`**Customer**: ${vars.agency}`);
155
+ if (vars.program_name) lines.push(`**Program**: ${vars.program_name}`);
156
+ if (vars.incumbent) lines.push(`**Incumbent**: ${vars.incumbent}`);
157
+ if (vars.contract_value) lines.push(`**Value**: ${vars.contract_value}`);
158
+ if (vars.naics) lines.push(`**NAICS**: ${vars.naics}`);
159
+ if (vars.pop) lines.push(`**POP**: ${vars.pop}`);
160
+ if (projectConfig.deal_type) lines.push(`**Type**: ${projectConfig.deal_type}`);
161
+ if (projectConfig.capture_phase) lines.push(`**Phase**: ${projectConfig.capture_phase}`);
162
+ lines.push('');
163
+ }
164
+
151
165
  // Additional context
152
166
  const append = (projectConfig.overrides || {}).claude_project_append || {};
153
167
  if (append.additional_context) {
@@ -222,6 +236,18 @@ function assemblePerplexitySpace(blocks, projectConfig, vars) {
222
236
  lines.push('');
223
237
  }
224
238
 
239
+ // Deal context — auto-injected from deal config vars
240
+ if (projectConfig.deal && vars.agency) {
241
+ lines.push('## Deal Context');
242
+ lines.push(`Customer: ${vars.agency}`);
243
+ if (vars.program_name) lines.push(`Program: ${vars.program_name}`);
244
+ if (vars.incumbent) lines.push(`Incumbent: ${vars.incumbent}`);
245
+ if (vars.contract_value) lines.push(`Value: ${vars.contract_value}`);
246
+ if (projectConfig.deal_type) lines.push(`Type: ${projectConfig.deal_type}`);
247
+ if (projectConfig.capture_phase) lines.push(`Phase: ${projectConfig.capture_phase}`);
248
+ lines.push('');
249
+ }
250
+
225
251
  // Research Domains
226
252
  const append = (projectConfig.overrides || {}).perplexity_space_append || {};
227
253
  if (append.research_domains) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esoteric-logic/praxis-harness",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "Layered Claude Code harness — workflow discipline, AI-Kits, persistent vault integration",
5
5
  "bin": {
6
6
  "praxis-harness": "./bin/praxis.js",
@@ -12,6 +12,14 @@ SSEB simulation: score only what's on the page against Section M. Ratings: Outst
12
12
  11-section assessment (Customer/Architecture/Process/Artifacts/Planning/Assumptions/Risks/Dependencies/Cyber/Cost/Competitive). PAMASI maturity: P→A→M→A→S→I. Gates: Shaping=P, Mid Capture=A-M, Pre-Proposal=S, Pre-Submission=I.
13
13
  BLUF every paragraph. FBP every claim. Active voice, SHALL→WILL, 70/30 mission/company. Ban "robust/world-class/seamless/leverage/synergy." Hierarchy: Approach→Framework→Methodology→Process (never conflate).
14
14
 
15
+ ## Deal Context
16
+ Customer: Office of Personnel Management (OPM)
17
+ Program: BENEFEDS
18
+ Incumbent: FedPoint Systems LLC (Long Term Care Partners / John Hancock)
19
+ Value: $500M ceiling
20
+ Type: recompete
21
+ Phase: Shaping
22
+
15
23
  ## Research Domains
16
24
  - OPM BENEFEDS contract history and performance (SAM.gov, FPDS)
17
25
  - FedPoint federal performance and ATO certifications
@@ -46,6 +46,16 @@ Match response length to question complexity. Lead with the answer. No preamble
46
46
 
47
47
  11-section scorecard (R/Y/G) + PAMASI stage + phase verdict (On Track/Needs Work/Off Track). Gate verdicts: Pass/Conditional/No Pass/Stop & Reset.
48
48
 
49
+ ## Deal Context
50
+ **Customer**: Office of Personnel Management (OPM)
51
+ **Program**: BENEFEDS
52
+ **Incumbent**: FedPoint Systems LLC (Long Term Care Partners / John Hancock)
53
+ **Value**: $500M ceiling
54
+ **NAICS**: 518210, 524292, 541512
55
+ **POP**: Jan 2023 – Dec 2026
56
+ **Type**: recompete
57
+ **Phase**: Shaping
58
+
49
59
  ## Knowledge Files
50
60
  Upload these alongside this prompt:
51
61
  - **references/maturity-questions.md** — maturity-questions
@@ -10,7 +10,13 @@ platforms:
10
10
  - claude-project
11
11
  - perplexity-space
12
12
 
13
- vars: {}
13
+ vars:
14
+ agency: "Defense Health Agency (DHA)"
15
+ program_name: "TRICARE Managed Care Support / Health IT Services"
16
+ incumbent: "Humana Government Business (East), TriWest Healthcare Alliance (West), Leidos (MHS GENESIS)"
17
+ contract_value: "T-5: $70.9B (East) + $65.1B (West) + $6.9B (MHS GENESIS)"
18
+ naics: "524114"
19
+ pop: "T-5 active through ~2032. T-6 recompete expected ~2031."
14
20
 
15
21
  knowledge_files:
16
22
  - file: references/dha-tricare-intel.md
@@ -33,8 +39,8 @@ knowledge_packs:
33
39
  overrides:
34
40
  perplexity_space_append:
35
41
  research_domains: |
36
- - DHA TRICARE T-5/T-6 contract developments (SAM.gov, USASpending, FPDS)
37
- - DHA strategic plan, IG/GAO findings, congressional oversight
38
- - TRICARE beneficiary experience, claims processing, provider networks
39
- - MHS GENESIS modernization and cloud migration
40
- - Maximus federal health IT and CX past performance
42
+ - DHA TRICARE T-5/T-6 contract developments (SAM.gov, FPDS)
43
+ - DHA strategic plan, GAO findings, congressional oversight
44
+ - TRICARE beneficiary experience and provider networks
45
+ - MHS GENESIS modernization
46
+ - Maximus federal health IT past performance
@@ -12,12 +12,20 @@ SSEB simulation: score only what's on the page against Section M. Ratings: Outst
12
12
  11-section assessment (Customer/Architecture/Process/Artifacts/Planning/Assumptions/Risks/Dependencies/Cyber/Cost/Competitive). PAMASI maturity: P→A→M→A→S→I. Gates: Shaping=P, Mid Capture=A-M, Pre-Proposal=S, Pre-Submission=I.
13
13
  BLUF every paragraph. FBP every claim. Active voice, SHALL→WILL, 70/30 mission/company. Ban "robust/world-class/seamless/leverage/synergy." Hierarchy: Approach→Framework→Methodology→Process (never conflate).
14
14
 
15
+ ## Deal Context
16
+ Customer: Defense Health Agency (DHA)
17
+ Program: TRICARE Managed Care Support / Health IT Services
18
+ Incumbent: Humana Government Business (East), TriWest Healthcare Alliance (West), Leidos (MHS GENESIS)
19
+ Value: T-5: $70.9B (East) + $65.1B (West) + $6.9B (MHS GENESIS)
20
+ Type: new-start
21
+ Phase: Shaping
22
+
15
23
  ## Research Domains
16
- - DHA TRICARE T-5/T-6 contract developments (SAM.gov, USASpending, FPDS)
17
- - DHA strategic plan, IG/GAO findings, congressional oversight
18
- - TRICARE beneficiary experience, claims processing, provider networks
19
- - MHS GENESIS modernization and cloud migration
20
- - Maximus federal health IT and CX past performance
24
+ - DHA TRICARE T-5/T-6 contract developments (SAM.gov, FPDS)
25
+ - DHA strategic plan, GAO findings, congressional oversight
26
+ - TRICARE beneficiary experience and provider networks
27
+ - MHS GENESIS modernization
28
+ - Maximus federal health IT past performance
21
29
 
22
30
  ## How to Answer
23
31
  No flattery or filler. Be skeptical, concise.
@@ -46,6 +46,16 @@ Match response length to question complexity. Lead with the answer. No preamble
46
46
 
47
47
  11-section scorecard (R/Y/G) + PAMASI stage + phase verdict (On Track/Needs Work/Off Track). Gate verdicts: Pass/Conditional/No Pass/Stop & Reset.
48
48
 
49
+ ## Deal Context
50
+ **Customer**: Defense Health Agency (DHA)
51
+ **Program**: TRICARE Managed Care Support / Health IT Services
52
+ **Incumbent**: Humana Government Business (East), TriWest Healthcare Alliance (West), Leidos (MHS GENESIS)
53
+ **Value**: T-5: $70.9B (East) + $65.1B (West) + $6.9B (MHS GENESIS)
54
+ **NAICS**: 524114
55
+ **POP**: T-5 active through ~2032. T-6 recompete expected ~2031.
56
+ **Type**: new-start
57
+ **Phase**: Shaping
58
+
49
59
  ## Knowledge Files
50
60
  Upload these alongside this prompt:
51
61
  - **references/maturity-questions.md** — maturity-questions