@levelcode/cli 0.3.1 → 0.3.2
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/dist/index.js +36 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -75886,6 +75886,15 @@ Spawn context-gathering agents before making edits. Spawn the code-reviewer afte
|
|
|
75886
75886
|
- Do not cast types as "any". Maintain strong typing throughout.
|
|
75887
75887
|
- When modifying exported symbols, find and update all references.
|
|
75888
75888
|
|
|
75889
|
+
# Output Completeness \u2014 CRITICAL
|
|
75890
|
+
|
|
75891
|
+
- NEVER truncate or abbreviate your output. There are NO length constraints.
|
|
75892
|
+
- NEVER create stubs, placeholders, or TODO comments instead of real implementations.
|
|
75893
|
+
- NEVER say "due to length constraints" or "for brevity" \u2014 write the complete code.
|
|
75894
|
+
- If the task asks for 2000+ lines, write 2000+ lines. The system handles context automatically.
|
|
75895
|
+
- If you run out of context, the context-pruner will handle it. Just keep writing.
|
|
75896
|
+
- Deliver production-ready, complete, compilable code every time.
|
|
75897
|
+
|
|
75889
75898
|
${PLACEHOLDER.FILE_TREE_PROMPT_SMALL}
|
|
75890
75899
|
${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}
|
|
75891
75900
|
${PLACEHOLDER.SYSTEM_INFO_PROMPT}
|
|
@@ -86733,6 +86742,22 @@ When no tasks are available for you to work on:
|
|
|
86733
86742
|
2. If no tasks are available, send an idle notification by using SendMessage with type "message" to the team leader, summarizing what you completed and that you are waiting for work.
|
|
86734
86743
|
3. Do not spin or poll repeatedly. Wait for new messages in your inbox.`;
|
|
86735
86744
|
}
|
|
86745
|
+
function buildQualityStandards() {
|
|
86746
|
+
return `## Output Quality Standards
|
|
86747
|
+
|
|
86748
|
+
CRITICAL: Never truncate, abbreviate, or create stub/placeholder implementations.
|
|
86749
|
+
|
|
86750
|
+
- **Never say** "due to length constraints" or "for brevity" \u2014 there are no length constraints. Produce complete, full implementations.
|
|
86751
|
+
- **Never create stubs** like "// TODO: implement" or "// remaining implementation here". Write the actual code.
|
|
86752
|
+
- **Never skip sections** of code with comments like "// ... rest of implementation similar to above". Write every line.
|
|
86753
|
+
- **If your output is getting long**, that is fine. Continue writing. The system handles context limits automatically via context-pruner.
|
|
86754
|
+
- **If you run out of context space**, the system will spawn a context-pruner to summarize and continue. You do not need to manage this yourself.
|
|
86755
|
+
- **Quality over speed.** A complete 2000-line implementation is better than a 200-line stub with TODOs.
|
|
86756
|
+
- **Production-ready code only.** Every file you create should compile, have proper error handling, and be ready to ship.
|
|
86757
|
+
- **Include all imports, all types, all tests** that were requested. Do not skip any part of the specification.
|
|
86758
|
+
|
|
86759
|
+
If a task is genuinely too large for a single step, break it into sub-tasks and complete each one fully. Never deliver partial work.`;
|
|
86760
|
+
}
|
|
86736
86761
|
function buildShutdownProtocol() {
|
|
86737
86762
|
return `## Shutdown Protocol
|
|
86738
86763
|
|
|
@@ -86803,6 +86828,8 @@ function generateTeamContextPrompt(config2) {
|
|
|
86803
86828
|
"",
|
|
86804
86829
|
buildAvailableTools(config2),
|
|
86805
86830
|
"",
|
|
86831
|
+
buildQualityStandards(),
|
|
86832
|
+
"",
|
|
86806
86833
|
buildCommunicationProtocol(),
|
|
86807
86834
|
"",
|
|
86808
86835
|
buildTaskWorkflow(),
|
|
@@ -166215,6 +166242,15 @@ Spawn context-gathering agents before making edits. Spawn the code-reviewer afte
|
|
|
166215
166242
|
- Do not cast types as "any". Maintain strong typing throughout.
|
|
166216
166243
|
- When modifying exported symbols, find and update all references.
|
|
166217
166244
|
|
|
166245
|
+
# Output Completeness \u2014 CRITICAL
|
|
166246
|
+
|
|
166247
|
+
- NEVER truncate or abbreviate your output. There are NO length constraints.
|
|
166248
|
+
- NEVER create stubs, placeholders, or TODO comments instead of real implementations.
|
|
166249
|
+
- NEVER say "due to length constraints" or "for brevity" \u2014 write the complete code.
|
|
166250
|
+
- If the task asks for 2000+ lines, write 2000+ lines. The system handles context automatically.
|
|
166251
|
+
- If you run out of context, the context-pruner will handle it. Just keep writing.
|
|
166252
|
+
- Deliver production-ready, complete, compilable code every time.
|
|
166253
|
+
|
|
166218
166254
|
{LEVELCODE_FILE_TREE_PROMPT_SMALL}
|
|
166219
166255
|
{LEVELCODE_KNOWLEDGE_FILES_CONTENTS}
|
|
166220
166256
|
{LEVELCODE_SYSTEM_INFO_PROMPT}
|