@esoteric-logic/praxis-harness 2.16.0 → 3.0.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/README.md +60 -0
- package/base/skills/px-prompt/SKILL.md +917 -107
- package/bin/praxis.js +73 -1
- package/bin/prompt-compile.js +129 -26
- package/bin/prompt-knowledge.js +152 -0
- package/lib/assemblers.js +25 -6
- package/lib/loader.js +172 -13
- package/package.json +3 -2
- package/prompts/blocks/behaviors/first-action-rule.md +21 -0
- package/prompts/blocks/behaviors/no-flattery.md +1 -2
- package/prompts/blocks/behaviors/phase-aware-reasoning.md +41 -0
- package/prompts/blocks/behaviors/radical-candor.md +23 -0
- package/prompts/blocks/context/mcp-servers.md +1 -1
- package/prompts/blocks/domains/federal-cost-analysis.md +33 -0
- package/prompts/blocks/domains/govcon-capture.md +89 -0
- package/prompts/blocks/domains/govcon-proposal.md +153 -0
- package/prompts/blocks/domains/pamasi-framework.md +58 -0
- package/prompts/blocks/domains/proposal-writing-rules.md +59 -0
- package/prompts/blocks/domains/red-team-review.md +45 -0
- package/prompts/blocks/formats/perplexity-generation.md +37 -0
- package/prompts/blocks/formats/scorecard-output.md +51 -0
- package/prompts/blocks/identity/federal-deal-sa.md +81 -0
- package/prompts/blocks/skills/mermaid-diagrams.md +39 -0
- package/prompts/{projects → personal}/praxis/CLAUDE.md +2 -3
- package/prompts/personal/praxis/project-instructions-claude-desktop.md +30 -0
- package/prompts/{projects/praxis/space-instructions.md → personal/praxis/space-instructions-perplexity.md} +2 -1
- package/prompts/profiles/_base.yaml +1 -0
- package/prompts/profiles/maximus-sa.yaml +27 -0
- package/prompts/projects/_template/prompt-config.yaml +4 -0
- package/prompts/templates/knowledge/architecture-constraints.md +19 -0
- package/prompts/templates/knowledge/corporate-reference.md +25 -0
- package/prompts/templates/knowledge/deal-context.md +27 -0
- package/prompts/work/elect/client-config.yaml +9 -0
- package/prompts/work/elect/deals/azure-architecture/CLAUDE.md +61 -0
- package/prompts/work/elect/deals/azure-architecture/prompt-config.yaml +16 -0
- package/prompts/work/elect/deals/azure-architecture/space-instructions-perplexity.md +39 -0
- package/prompts/work/elect/deals/azure-architecture/system-prompt.md +72 -0
- package/prompts/work/maximus/client-config.yaml +81 -0
- package/prompts/{projects/maximus/system-prompt.md → work/maximus/deals/dha-tricare/CLAUDE.md} +279 -314
- package/prompts/work/maximus/deals/dha-tricare/knowledge/deal-context.md +21 -0
- package/prompts/work/maximus/deals/dha-tricare/knowledge/maximus-corporate.md +30 -0
- package/prompts/work/maximus/deals/dha-tricare/project-instructions-claude-desktop.md +58 -0
- package/prompts/work/maximus/deals/dha-tricare/prompt-config.yaml +41 -0
- package/prompts/work/maximus/deals/dha-tricare/references/dha-tricare-intel.md +104 -0
- package/prompts/work/maximus/deals/dha-tricare/space-instructions-perplexity.md +42 -0
- package/prompts/work/maximus/references/maximus-corporate.md +39 -0
- package/prompts/projects/maximus/prompt-config.yaml +0 -13
- package/prompts/projects/maximus/space-instructions.md +0 -67
- package/prompts/projects/praxis/project-instructions.md +0 -24
- /package/prompts/{projects → personal}/praxis/prompt-config.yaml +0 -0
- /package/prompts/{projects → work}/maximus/references/maturity-questions.md +0 -0
- /package/prompts/{projects → work}/maximus/references/phase-maturity-matrix.md +0 -0
- /package/prompts/{projects → work}/maximus/references/proposal-writing-standards.md +0 -0
package/README.md
CHANGED
|
@@ -79,6 +79,66 @@ For technical research: `/px-discover` (structured options evaluation before dec
|
|
|
79
79
|
| `px-context-probe` | Assess context health and recommend action |
|
|
80
80
|
| `px-context-reset` | Reload context from vault without clearing session |
|
|
81
81
|
|
|
82
|
+
## Prompt Engine
|
|
83
|
+
|
|
84
|
+
Build and manage system prompts for Claude Projects, Perplexity Spaces, and Claude Code from a single source of truth.
|
|
85
|
+
|
|
86
|
+
### Quick reference
|
|
87
|
+
|
|
88
|
+
| Command | What it does |
|
|
89
|
+
|---------|-------------|
|
|
90
|
+
| `/px-prompt my-project` | Create a new project (1 question — describe it) |
|
|
91
|
+
| `/px-prompt --deal irs-masterfile` | New Maximus capture deal (0 questions — Perplexity researches) |
|
|
92
|
+
| `/px-prompt --deal benefeds --type recompete` | New deal with explicit type |
|
|
93
|
+
| `/px-prompt --advance irs-masterfile` | Move deal to next capture phase |
|
|
94
|
+
| `/px-prompt --edit my-project "add NIST 800-53"` | Edit one section, auto-regenerate outputs |
|
|
95
|
+
| `/px-prompt --refresh my-project` | Re-run Perplexity research, diff and update |
|
|
96
|
+
| `/px-prompt --deploy my-project` | Copy outputs to clipboard with platform URLs |
|
|
97
|
+
| `/px-prompt --dashboard` | Project index with budgets and staleness |
|
|
98
|
+
| `/px-prompt --sync` | Recompile all projects, show diffs |
|
|
99
|
+
| `/px-prompt --scan my-project` | Full quality and budget audit |
|
|
100
|
+
|
|
101
|
+
### Deal lifecycle (Maximus captures)
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
/px-prompt --deal irs-masterfile # Create — Perplexity researches from name alone
|
|
105
|
+
/px-prompt --advance irs-masterfile # Shaping → Mid Capture
|
|
106
|
+
/px-prompt --advance irs-masterfile # Mid Capture → Pre-Proposal
|
|
107
|
+
/px-prompt --refresh irs-masterfile # Re-run OSINT before submission
|
|
108
|
+
/px-prompt --advance irs-masterfile # Pre-Proposal → Pre-Submission
|
|
109
|
+
/px-prompt --deploy irs-masterfile # Copy to clipboard, paste to platforms
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Deal types
|
|
113
|
+
|
|
114
|
+
| Type | Flag | When | Emphasis |
|
|
115
|
+
|------|------|------|----------|
|
|
116
|
+
| Recompete | `--type recompete` | Incumbent holds the contract | Defense, ghost matrix, transition |
|
|
117
|
+
| New Start | `--type new-start` | No incumbent, fresh opportunity | Discovery, innovation, OSINT |
|
|
118
|
+
| Task Order | `--type task-order` | Competing on existing IDIQ/BPA | Speed, rates, vehicle history |
|
|
119
|
+
| IDIQ/BPA | `--type idiq` | Winning the vehicle itself | Broad capabilities, teaming |
|
|
120
|
+
|
|
121
|
+
Auto-detected from research if `--type` not specified.
|
|
122
|
+
|
|
123
|
+
### Non-Maximus projects
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
/px-prompt cybersecurity-advisor # Describe it → inference engine → research → deploy
|
|
127
|
+
/px-prompt elect-azure # Work on existing project
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Any project — federal, enterprise, personal. The engine infers role, domains, and platforms from your description.
|
|
131
|
+
|
|
132
|
+
### CLI tools (direct use)
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
node bin/prompt-compile.js --dashboard # Project dashboard
|
|
136
|
+
node bin/prompt-compile.js --sync # Recompile all projects
|
|
137
|
+
node bin/prompt-compile.js <project> # Compile one project
|
|
138
|
+
node bin/prompt-knowledge.js <project> # Render knowledge pack templates
|
|
139
|
+
node bin/prompt-blocks.js --category domains # List available blocks
|
|
140
|
+
```
|
|
141
|
+
|
|
82
142
|
## Rules
|
|
83
143
|
|
|
84
144
|
16 rules across universal and scoped categories. Universal rules load every session. Scoped rules load only when matching file patterns are detected.
|