@sentropic/focus 0.6.1-rc.1 → 0.6.1-rc.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.
@@ -19,13 +19,13 @@ export interface ReadabilityOptions {
19
19
  }
20
20
  export declare const PROSE_LIMITS: {
21
21
  readonly body: {
22
- readonly maxSentenceWords: 15;
23
- readonly maxBlockWords: 40;
22
+ readonly maxSentenceWords: 20;
23
+ readonly maxBlockWords: 60;
24
24
  readonly maxParagraphSentences: 3;
25
25
  };
26
26
  readonly annex: {
27
- readonly maxSentenceWords: 20;
28
- readonly maxBlockWords: 50;
27
+ readonly maxSentenceWords: 25;
28
+ readonly maxBlockWords: 80;
29
29
  readonly maxParagraphSentences: 3;
30
30
  };
31
31
  };
@@ -48,12 +48,12 @@ export declare const READABILITY_LIMITS: {
48
48
  readonly maxOptionLabelLength: 100;
49
49
  readonly maxConsequenceLength: 160;
50
50
  readonly maxOptionBodyLength: 300;
51
- readonly maxCellWords: 40;
52
- readonly maxSentenceWords: 15;
51
+ readonly maxCellWords: 60;
52
+ readonly maxSentenceWords: 20;
53
53
  readonly maxInputLabelWords: 12;
54
54
  readonly maxInputLabelLength: 100;
55
55
  readonly maxCompletionCriterionSentences: 1;
56
- readonly maxCompletionCriterionWords: 15;
56
+ readonly maxCompletionCriterionWords: 20;
57
57
  readonly maxCompletionCriterionLength: 160;
58
58
  };
59
59
  /** Check a structurally valid document; use ForPresentation for untrusted input. */
@@ -1,8 +1,8 @@
1
1
  import { isEvidenceDossier, isReportDocument } from "../model.js";
2
2
  import { parseProse, visibleInlineText } from "../render/prose.js";
3
3
  export const PROSE_LIMITS = {
4
- body: { maxSentenceWords: 15, maxBlockWords: 40, maxParagraphSentences: 3 },
5
- annex: { maxSentenceWords: 20, maxBlockWords: 50, maxParagraphSentences: 3 },
4
+ body: { maxSentenceWords: 20, maxBlockWords: 60, maxParagraphSentences: 3 },
5
+ annex: { maxSentenceWords: 25, maxBlockWords: 80, maxParagraphSentences: 3 },
6
6
  };
7
7
  function lengthLimits(scope, options) {
8
8
  const defaults = PROSE_LIMITS[scope];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/focus",
3
- "version": "0.6.1-rc.1",
3
+ "version": "0.6.1-rc.2",
4
4
  "description": "Focused-session document runtime (FocusSnapshot): the concrete decision-dossier document model + deterministic terminal/MD/HTML renderers + a /track read binding over @sentropic/track/read + a /cli read-only driver (stp focus). Read-only snapshot render-core; markdown injected by the host, HTML sanitized by the host. (Focus-M1 L3)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -71,7 +71,7 @@
71
71
  "dependencies": {
72
72
  "@lezer/markdown": "1.8.0",
73
73
  "@noble/hashes": "2.0.1",
74
- "@sentropic/track": "0.98.12-rc.1",
74
+ "@sentropic/track": "0.98.12-rc.2",
75
75
  "yaml": "2.9.0"
76
76
  },
77
77
  "devDependencies": {
@@ -76,7 +76,7 @@
76
76
  "role": "skill-instructions",
77
77
  "path": "skills/focus/SKILL.md",
78
78
  "mediaType": "text/markdown",
79
- "sha256": "0f98c2c1714b44ce15d1b057abfeb75d72d4f814d7fc5a7dfb5d8c9cad0fb25f"
79
+ "sha256": "609488188cfe501b873b4fe619bd763b82ae3d3cf3a61a6251b06798161d6c78"
80
80
  },
81
81
  {
82
82
  "role": "document-schema",
@@ -88,11 +88,11 @@ questions. It is not a reason to produce a longer dossier.
88
88
  - Write quantities, dates, durations and percentages in digits, with units.
89
89
  Put the essential point first in your own words. Choose headings and leads
90
90
  for the subject. No opening label is required.
91
- - Focus's mobile profile C allows 15 words per sentence, 40 per paragraph
91
+ - Focus's mobile profile C allows 20 words per sentence, 60 per paragraph
92
92
  or individual list item and 3 sentences per paragraph. Aim for 2 sentences.
93
93
  An introductory paragraph and each bullet have independent budgets. Use
94
- profile B in explanatory annexes (20 words per sentence, 50 per block,
95
- 3 sentences per paragraph, aim for 15 words per sentence). Table cells
94
+ profile B in explanatory annexes (25 words per sentence, 80 per block,
95
+ 3 sentences per paragraph, aim for 20 words per sentence). Table cells
96
96
  each have their own budget. Keep conditions that affect the choice beside it.
97
97
  - Choose punctuation for meaning. Keep opaque identifiers and hashes in
98
98
  structured references. Preserve the owner's quotation exactly.