@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.
- package/base/skills/px-prompt/SKILL.md +13 -16
- package/bin/prompt-compile.js +6 -6
- package/package.json +1 -1
- /package/prompts/personal/praxis/{project-instructions-claude-desktop.md → system-prompt.md} +0 -0
- /package/prompts/work/maximus/projects/benefeds/{project-instructions-claude-desktop.md → system-prompt.md} +0 -0
- /package/prompts/work/maximus/projects/dha-tricare/{project-instructions-claude-desktop.md → system-prompt.md} +0 -0
|
@@ -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 |
|
|
43
|
-
|
|
44
|
-
| Claude Projects | `system-prompt.md` | 5,000 chars |
|
|
45
|
-
|
|
|
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
|
|
49
|
-
-
|
|
50
|
-
-
|
|
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`
|
|
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
|
|
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?
|
|
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
|
-
✓
|
|
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.
|
|
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
|
-
-
|
|
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)
|
package/bin/prompt-compile.js
CHANGED
|
@@ -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': '
|
|
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)} ${'
|
|
306
|
-
console.log('-'.repeat(
|
|
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('
|
|
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)} ${'
|
|
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('
|
|
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
/package/prompts/personal/praxis/{project-instructions-claude-desktop.md → system-prompt.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|