@esoteric-logic/praxis-harness 3.3.1 → 3.4.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.
@@ -39,15 +39,14 @@ Do NOT show "Work on praxis" or "Work on maximus" or any project name — the en
39
39
 
40
40
  Platform outputs use suffixed filenames so users can distinguish them at a glance:
41
41
 
42
- | Platform | Output Filename | Budget | When |
43
- |----------|----------------|--------|------|
44
- | Claude Projects | `system-prompt.md` | 5,000 chars | Standalone projects |
45
- | Claude Projects | `project-instructions-claude-desktop.md` | 5,000 chars | Compiled projects (compiler output) |
46
- | Perplexity Spaces | `space-instructions-perplexity.md` | 4,000 chars | All projects |
42
+ | Platform | Output Filename | Budget |
43
+ |----------|----------------|--------|
44
+ | Claude Projects | `system-prompt.md` | 5,000 chars |
45
+ | Perplexity Spaces | `space-instructions-perplexity.md` | 4,000 chars |
47
46
 
48
- Each project has exactly **2 output files** — one for Claude Projects, one for Perplexity Spaces.
49
- - Standalone: `system-prompt.md` + `space-instructions-perplexity.md`
50
- - Compiled: `project-instructions-claude-desktop.md` + `space-instructions-perplexity.md`
47
+ Each project has exactly **2 output files** — one per platform, same filenames regardless of mode.
48
+ - `system-prompt.md` standalone: hand-written, compiled: generated from profile blocks
49
+ - `space-instructions-perplexity.md` standalone: condensed from system-prompt, compiled: assembled from blocks
51
50
 
52
51
  Claude Code `CLAUDE.md` is NOT generated by this skill — use `px-scaffold`.
53
52
 
@@ -447,7 +446,7 @@ node bin/prompt-compile.js <project-name>
447
446
 
448
447
  **Claude Desktop / Projects (claude.ai):**
449
448
  1. Open project at claude.ai/projects → "Set project instructions"
450
- 2. Paste `system-prompt.md` (standalone) or `project-instructions-claude-desktop.md` (compiled)
449
+ 2. Paste `system-prompt.md`
451
450
  3. If `references/` exists: upload each `.md` file as project knowledge
452
451
  4. Save
453
452
 
@@ -493,7 +492,7 @@ Print deployment reminders for any project with changes.
493
492
  ### 6a. Read all project files
494
493
  1. Read `prompt-config.yaml` for project metadata
495
494
  2. Read `system-prompt.md` (source of truth)
496
- 3. Read platform outputs (`system-prompt.md` or `project-instructions-claude-desktop.md`, `space-instructions-perplexity.md`)
495
+ 3. Read platform outputs (`system-prompt.md`, `space-instructions-perplexity.md`)
497
496
  4. Read all files in `references/` directory
498
497
  5. List any other files in the project folder
499
498
 
@@ -509,8 +508,7 @@ Check each file against these criteria:
509
508
  - Are all referenced knowledge files present in references/?
510
509
 
511
510
  **Budget checks:**
512
- - `system-prompt.md` under 5,000 chars? (standalone)
513
- - `project-instructions-claude-desktop.md` under 5,000 chars? (compiled)
511
+ - `system-prompt.md` under 5,000 chars?
514
512
  - `space-instructions-perplexity.md` under 4,000 chars?
515
513
 
516
514
  **Currency checks (via Perplexity):**
@@ -737,7 +735,7 @@ Maximus PP: 2 contracts at IRS (from USASpending)
737
735
  Gaps: Key personnel [RESEARCH NEEDED]
738
736
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
739
737
  Files created:
740
- project-instructions-claude-desktop.md (2,480 chars) — compiled from profile
738
+ system-prompt.md (2,480 chars) — compiled from profile
741
739
  ✓ space-instructions-perplexity.md (3,976 chars) — deal-specific research domains
742
740
  ✓ references/irs-masterfile-intel.md
743
741
  ✓ knowledge/deal-context.md
@@ -930,7 +928,7 @@ Determine which platforms are targets from `prompt-config.yaml`.
930
928
  ### 11b. Deploy sequence (per platform)
931
929
 
932
930
  **For Claude Projects / Desktop:**
933
- 1. Determine file: `system-prompt.md` (standalone) or `project-instructions-claude-desktop.md` (compiled)
931
+ 1. Read `system-prompt.md`
934
932
  2. Copy to clipboard: `cat <file> | pbcopy`
935
933
  3. Print: "Copied to clipboard. Paste at: claude.ai/projects → Set project instructions"
936
934
  4. List knowledge files to upload: all `.md` files from `references/` AND `knowledge/`
@@ -1102,8 +1100,7 @@ NEXT GATE CHECKLIST: Pre-Proposal
1102
1100
  - **Claude Code CLAUDE.md**: NOT generated by px-prompt — use px-scaffold
1103
1101
 
1104
1102
  ### File naming
1105
- - Standalone Claude Projects output: `system-prompt.md`
1106
- - Compiled Claude Projects output: `project-instructions-claude-desktop.md`
1103
+ - Claude Projects output: `system-prompt.md` (all modes)
1107
1104
  - Perplexity output: `space-instructions-perplexity.md`
1108
1105
 
1109
1106
  ### Quality defaults (mandatory in all generated prompts)
@@ -213,7 +213,7 @@ function compileProject(projectName, targets, projectDirOverride, clientDirOverr
213
213
 
214
214
  const outputNames = {
215
215
  'claude-code': 'CLAUDE.md',
216
- 'claude-project': 'project-instructions-claude-desktop.md',
216
+ 'claude-project': 'system-prompt.md',
217
217
  'perplexity-space': 'space-instructions-perplexity.md',
218
218
  };
219
219
 
@@ -302,8 +302,8 @@ function main() {
302
302
  console.log('No projects found.');
303
303
  process.exit(0);
304
304
  }
305
- console.log(`${'Project'.padEnd(28)} ${'Mode'.padEnd(12)} ${'System Prompt'.padEnd(15)} ${'Claude Desktop'.padEnd(15)} ${'Perplexity'.padEnd(15)} Refs`);
306
- console.log('-'.repeat(105));
305
+ console.log(`${'Project'.padEnd(28)} ${'Mode'.padEnd(12)} ${'System Prompt'.padEnd(15)} ${'Perplexity'.padEnd(15)} Refs`);
306
+ console.log('-'.repeat(85));
307
307
  for (const proj of allProjects) {
308
308
  const cfgPath = path.join(proj.dir, 'prompt-config.yaml');
309
309
  const cfg = fs.existsSync(cfgPath) ? yaml.load(fs.readFileSync(cfgPath, 'utf8')) : {};
@@ -318,7 +318,7 @@ function main() {
318
318
  ? fs.readdirSync(refsDir).filter((f) => f.endsWith('.md')).length
319
319
  : 0;
320
320
  console.log(
321
- `${proj.name.padEnd(28)} ${mode.padEnd(12)} ${fileStatus('system-prompt.md').padEnd(15)} ${fileStatus('project-instructions-claude-desktop.md').padEnd(15)} ${fileStatus('space-instructions-perplexity.md').padEnd(15)} ${refCount}`
321
+ `${proj.name.padEnd(28)} ${mode.padEnd(12)} ${fileStatus('system-prompt.md').padEnd(15)} ${fileStatus('space-instructions-perplexity.md').padEnd(15)} ${refCount}`
322
322
  );
323
323
  }
324
324
  process.exit(0);
@@ -338,7 +338,7 @@ function main() {
338
338
  console.log('\n\x1b[1mPROMPT ENGINE DASHBOARD\x1b[0m');
339
339
  console.log('\x1b[90m' + '━'.repeat(110) + '\x1b[0m');
340
340
  console.log(
341
- `${'Project'.padEnd(24)} ${'Mode'.padEnd(12)} ${'Claude Proj'.padEnd(14)} ${'Perplexity'.padEnd(14)} ${'Refs'.padEnd(6)} ${'Updated'.padEnd(12)} Stale?`
341
+ `${'Project'.padEnd(24)} ${'Mode'.padEnd(12)} ${'System Prompt'.padEnd(14)} ${'Perplexity'.padEnd(14)} ${'Refs'.padEnd(6)} ${'Updated'.padEnd(12)} Stale?`
342
342
  );
343
343
  console.log('\x1b[90m' + '─'.repeat(110) + '\x1b[0m');
344
344
 
@@ -371,7 +371,7 @@ function main() {
371
371
  const stale = daysSince > STALE_DAYS ? '\x1b[31mYes\x1b[0m' : '\x1b[32mNo\x1b[0m';
372
372
 
373
373
  console.log(
374
- `${proj.name.padEnd(24)} ${mode.padEnd(12)} ${fileBudget('project-instructions-claude-desktop.md', CHAR_BUDGETS['claude-project']).padEnd(23)} ${fileBudget('space-instructions-perplexity.md', CHAR_BUDGETS['perplexity-space']).padEnd(23)} ${String(refCount).padEnd(6)} ${updated.padEnd(12)} ${stale}`
374
+ `${proj.name.padEnd(24)} ${mode.padEnd(12)} ${fileBudget('system-prompt.md', CHAR_BUDGETS['claude-project']).padEnd(23)} ${fileBudget('space-instructions-perplexity.md', CHAR_BUDGETS['perplexity-space']).padEnd(23)} ${String(refCount).padEnd(6)} ${updated.padEnd(12)} ${stale}`
375
375
  );
376
376
  }
377
377
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esoteric-logic/praxis-harness",
3
- "version": "3.3.1",
3
+ "version": "3.4.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",