project-tiny-context-harness 0.2.58 → 0.2.59

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 CHANGED
@@ -115,7 +115,7 @@ npm ci
115
115
  npm run smoke:quickstart
116
116
  npm run preview:pack
117
117
  cd /path/to/your/test-repo
118
- npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.2.58.tgz
118
+ npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.2.59.tgz
119
119
  npx --no-install ty-context init --adopt
120
120
  make validate-context
121
121
  ```
package/assets/README.md CHANGED
@@ -94,7 +94,7 @@ That smoke packs the local workspace, installs it into a disposable repo, runs `
94
94
  ```sh
95
95
  npm run preview:pack
96
96
  cd /path/to/your/test-repo
97
- npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.2.58.tgz
97
+ npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.2.59.tgz
98
98
  npx --no-install ty-context init --adopt
99
99
  make validate-context
100
100
  ```
@@ -33,7 +33,7 @@ Every completed invocation must produce:
33
33
 
34
34
  Exception: if the Context confirmation gate below triggers, stop after materializing the plan and reading enough Context to explain the uncertainty. Ask the user for confirmation before producing the checklist or goal/target-mode prompt.
35
35
 
36
- The goal/target-mode prompt must be no longer than 4000 characters. Use the user's language when practical. For Chinese requests, use this shape:
36
+ The goal/target-mode prompt must be no longer than 3980 characters, including line breaks. This conservative budget keeps the prompt below Codex's 4000-character practical paste boundary even when character counting differs slightly. Keep the prompt information-dense: preserve required paths, core acceptance criteria, evidence rules, blockers and false-completion traps while using compact wording. Use the user's language when practical. For Chinese requests, use this shape:
37
37
 
38
38
  ```text
39
39
  实施计划: tmp/ty-context/plan-acceptance/<plan>.md
@@ -391,7 +391,7 @@ After compiling the checklist, produce a paste-ready goal/target-mode prompt.
391
391
 
392
392
  Hard requirements:
393
393
 
394
- - The prompt must be no longer than 4000 characters including line breaks.
394
+ - The prompt must be no longer than 3980 characters including line breaks. Treat 3980 as the effective hard budget and preserve information density; do not drop required paths, core acceptance categories, blocker rules, evidence rules or false-completion traps merely to be short.
395
395
  - The first line must identify the plan path.
396
396
  - Use `实施计划: <path>` for Chinese prompts and `Plan: <path>` for English prompts.
397
397
  - The second line must be a resource lifecycle instruction: `可多开agent,agent名额不够了就关掉不用的。` for Chinese prompts or `You may use multiple agents; if agent slots run low, close idle or unnecessary agents.` for English prompts.
@@ -404,8 +404,8 @@ Hard requirements:
404
404
  - Do not include explanatory preface inside the prompt.
405
405
  - Do not include Markdown tables inside the prompt if they make it too long.
406
406
  - Prefer short numbered items over verbose prose.
407
- - If the full checklist is too large, write the full checklist to `tmp/ty-context/plan-acceptance/<plan-slug>-acceptance-checklist.md`, then compress the goal/target-mode prompt while preserving all core acceptance categories.
408
- - The compact prompt may reference the full checklist path, but it must still include the core completion criteria directly.
407
+ - If the full checklist is too large, write the full checklist to `tmp/ty-context/plan-acceptance/<plan-slug>-acceptance-checklist.md`, then compress the goal/target-mode prompt by increasing information density while preserving all core acceptance categories.
408
+ - The compact prompt may reference the full checklist path, but it must still include the core completion criteria directly.
409
409
 
410
410
  Recommended compact Chinese prompt shape:
411
411
 
@@ -461,7 +461,7 @@ AC14 Final audit: compare every item against the plan and full checklist; every
461
461
  Do not count these as completion: code-only changes, plan-only updates, partial tests, stale or partial evidence, infrastructure without acceptance proof, runtime not configured/exercised, artifact not accepted by validator, API/UI not reflecting accepted evidence, unexercised fallback, unresolved hard blockers, or contradictions between API/UI/data/tests.
462
462
  ```
463
463
 
464
- Before final response, check the prompt length. If it exceeds 4000 characters, compress it and check again.
464
+ Before final response, check the prompt length. If it exceeds 3980 characters, compress by tightening wording and referring to the full checklist path while preserving required paths, core AC categories, blocker/evidence rules and false-completion traps; then check again.
465
465
 
466
466
  ## Final Response Requirements
467
467
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-tiny-context-harness",
3
- "version": "0.2.58",
3
+ "version": "0.2.59",
4
4
  "description": "Minimal project memory and validation harness for AI coding agents.",
5
5
  "license": "MIT",
6
6
  "author": "Seven128",