rhachet-roles-ehmpathy 1.2.0 → 1.3.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.
Files changed (53) hide show
  1. package/dist/.test/genContextStitchTrail.d.ts +1 -2
  2. package/dist/.test/genContextStitchTrail.js +2 -4
  3. package/dist/.test/genContextStitchTrail.js.map +1 -1
  4. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js +9 -0
  5. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js.map +1 -1
  6. package/dist/logic/context/genStitchStreamToDisk.d.ts +13 -0
  7. package/dist/logic/context/genStitchStreamToDisk.js +73 -0
  8. package/dist/logic/context/genStitchStreamToDisk.js.map +1 -0
  9. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.metaphor.galactic_spacetravel.[article].md +42 -0
  10. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.metaphor.galactic_spacetravel.[lesson].md +60 -0
  11. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.1.why.common.[article].md +32 -0
  12. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.1.why.term_smells.[article].md +36 -0
  13. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.1.why.term_smells.detection.[lesson].md +73 -0
  14. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.2.tactic.eliminate.[article].md +55 -0
  15. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.2.tactic.eliminate.[lesson].md +41 -0
  16. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.3.eliminator.[trait]._.md +66 -0
  17. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.3.eliminator.[trait].balance.md +36 -0
  18. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.3.eliminator.[trait].bane.md +34 -0
  19. package/dist/logic/roles/bhrain/.briefs/grammar/gerunds.3.eliminator.[trait].boon.md +35 -0
  20. package/dist/logic/roles/bhrain/.briefs/logistics/term.logistics.[article].md +21 -0
  21. package/dist/logic/roles/bhrain/.briefs/logistics/term.logistics.of_information.[article].md +22 -0
  22. package/dist/logic/roles/bhrain/.briefs/logistics/term.logistics.of_knowledge.[article].md +29 -0
  23. package/dist/logic/roles/bhrain/.briefs/tactician/tactics.compose.traits_and_skills.[article].md +76 -0
  24. package/dist/logic/roles/bhrain/.briefs/tactician/trait.articulation.[article].md +67 -0
  25. package/dist/logic/roles/bhrain/.briefs/tactician/trait.purpose.[article].md +56 -0
  26. package/dist/logic/roles/bhrain/.briefs/tactician/trait.vs_skill.[article].md +55 -0
  27. package/dist/logic/roles/bhrain/.briefs/tactician/trait.vs_tactic.[article].md +70 -0
  28. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.d.ts +0 -2
  29. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.js +1 -5
  30. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.js.map +1 -1
  31. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.js +6 -3
  32. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.js.map +1 -1
  33. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.d.ts +0 -1
  34. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.js +11 -26
  35. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.js.map +1 -1
  36. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.template.md +0 -9
  37. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.d.ts +7 -8
  38. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.js +7 -5
  39. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.js.map +1 -1
  40. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.js +5 -6
  41. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.js.map +1 -1
  42. package/dist/logic/roles/bhrain/getBhrainRole.js +2 -0
  43. package/dist/logic/roles/bhrain/getBhrainRole.js.map +1 -1
  44. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.js +1 -1
  45. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.js.map +1 -1
  46. package/dist/logic/roles/bhrain/khue.triage/stepTriage.js +1 -1
  47. package/dist/logic/roles/bhrain/khue.triage/stepTriage.js.map +1 -1
  48. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.transformers_over_conditionals.[lesson].md +97 -0
  49. package/package.json +4 -2
  50. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.d.ts +0 -9
  51. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.js +0 -3
  52. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.js.map +0 -1
  53. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.TriageCatalog.[gallery][example].structure.md +0 -18
@@ -0,0 +1,35 @@
1
+ # 🧩 .trait.boon: `gerund eliminator`
2
+
3
+ ## 💡 essence
4
+ the **boon of the gerund eliminator** is the discipline to strip away fuzzy *-ing* nouns and replace them with distilled essences. in this mode, the trait sharpens language, removes ambiguity, and strengthens thought.
5
+
6
+ ---
7
+
8
+ ## 🌟 benefits
9
+ - **clarity**: prose becomes crisp and precise by naming the outcome, resource, or structure instead of the process.
10
+ - **distillation**: forces terms like *planning* to resolve into *plan* or *strategy*.
11
+ - **rigor**: applies the gerund smell test consistently, preventing vague placeholders.
12
+ - **transferability**: concepts carry across contexts more cleanly when expressed in distilled nouns.
13
+ - **thought discipline**: strengthens the writer’s ability to separate essence from activity.
14
+
15
+ ---
16
+
17
+ ## 🔍 behaviors
18
+ - scans text for gerunds and highlights them for replacement.
19
+ - replaces *thinking* with *thought* or *reason*, *teaching* with *instruction*, *training* with *discipline*.
20
+ - edits prose into sharper forms without loss of meaning.
21
+ - maintains a catalog of distilled alternatives to accelerate editing.
22
+
23
+ ---
24
+
25
+ ## 🌱 cultivation
26
+ to develop the boon:
27
+ 1. memorize and apply the gerund removal checklist.
28
+ 2. practice rewriting passages until no gerund nouns remain.
29
+ 3. study catalogs of replacements to internalize sharper terms.
30
+ 4. make *“every gerund is guilty until proven otherwise”* a reflex.
31
+
32
+ ---
33
+
34
+ ## 📌 takeaway
35
+ the **gerund eliminator** in boon mode elevates both prose and thought. it yields language that is sharper, more precise, and less ambiguous, turning every sentence into a vessel of distilled essence.
@@ -0,0 +1,21 @@
1
+ # 📦 definition of logistics
2
+
3
+ ## core meaning
4
+ logistics is the organized process of **planning, implementing, and controlling the movement and storage of goods, services, and information** from their point of origin to their point of consumption.
5
+
6
+ ## key functions
7
+ - **transportation** – moving goods by road, rail, sea, air, or pipelines
8
+ - **warehousing** – storing goods until they are needed
9
+ - **inventory management** – balancing supply with demand to avoid shortages or surpluses
10
+ - **packaging & handling** – preparing items for safe and efficient movement
11
+ - **information flow** – tracking shipments, scheduling, and coordinating operations
12
+ - **distribution** – delivering goods to customers or retail locations
13
+
14
+ ## scope
15
+ - **business / supply chain** – logistics ensures that materials, parts, and products are in the right place, at the right time, in the right quantity, and at the lowest possible cost
16
+ - **military** – originally, the term referred to supplying and moving troops, equipment, and weapons
17
+ - **modern extensions** – covers not only physical goods but also digital and service logistics (e.g., cloud computing infrastructure, health care logistics)
18
+
19
+ ---
20
+
21
+ 👉 in short: logistics = *the art and science of getting things where they need to be, when they need to be there, as efficiently as possible.*
@@ -0,0 +1,22 @@
1
+ # 🧾 definition of logistics in the scope of information
2
+
3
+ ## core meaning
4
+ **information logistics** is the discipline of **planning, implementing, and controlling the flow of information** so that the right data reaches the right people or systems at the right time, in the right form, and with the right quality.
5
+
6
+ ## key functions
7
+ - **collection** – gathering information from multiple sources (sensors, databases, users, external feeds)
8
+ - **processing & transformation** – cleaning, enriching, and converting raw data into usable formats
9
+ - **storage & retrieval** – keeping information organized in databases, files, or knowledge systems for timely access
10
+ - **transmission** – distributing information efficiently across networks, devices, or teams
11
+ - **presentation** – tailoring information into forms suitable for human or machine consumption (dashboards, APIs, reports)
12
+ - **tracking & feedback** – monitoring flows to ensure accuracy, timeliness, and relevance
13
+
14
+ ## scope
15
+ - **business intelligence** – ensuring decision-makers have up-to-date, relevant data
16
+ - **it systems** – designing infrastructures for reliable data pipelines, synchronization, and delivery
17
+ - **knowledge management** – managing documents, messages, and records as efficiently as goods in a supply chain
18
+ - **digital services** – streaming platforms, cloud systems, and IoT all rely on information logistics for real-time performance
19
+
20
+ ---
21
+
22
+ 👉 in short: **information logistics** = *treating data like cargo — moving, storing, and delivering it so that it arrives at its destination in the most useful way possible.*
@@ -0,0 +1,29 @@
1
+ # 🧠 concept: knowledge logistics for llms
2
+
3
+ ## core concept
4
+ **knowledge logistics** is the practice of **organizing, moving, and delivering knowledge resources** within large language model (llm) workflows, ensuring that the **right context, at the right level of abstraction, is available at the right time** during interaction or computation.
5
+
6
+ ## why it matters
7
+ - llms are powerful engines but **context-hungry**: they require carefully selected prompts, memory, and external references.
8
+ - without logistics, llms face **bottlenecks** (too much irrelevant data), **starvation** (missing critical facts), or **distortion** (knowledge delivered in the wrong form).
9
+ - knowledge logistics makes llm outputs **faster, more accurate, and more aligned** with user goals.
10
+
11
+ ## key functions
12
+ - **origination** – identifying where knowledge resides (documents, databases, memory, web, user input)
13
+ - **curation** – filtering, chunking, and prioritizing knowledge for relevance
14
+ - **transformation** – reformatting into embeddings, summaries, structured prompts, or retrieval queries
15
+ - **storage & retrieval** – maintaining efficient memory (vector DBs, caches, artifacts) for on-demand use
16
+ - **routage** – directing knowledge to the correct llm role, stage, or reasoning path
17
+ - **delivery** – inserting knowledge into prompts with optimal timing, scope, and form
18
+ - **feedback loop** – monitoring llm performance and refining what, when, and how knowledge is supplied
19
+
20
+ ## scope in llm ecosystems
21
+ - **prompt engineering** – deciding what parts of knowledge get foregrounded vs backgrounded
22
+ - **retrieval-augmented generation (rag)** – logistics of pulling the right chunks at inference time
23
+ - **agent workflows** – coordinating knowledge between multiple specialized llms or roles
24
+ - **knowledge distillation** – compressing large knowledge stores into reusable formats (briefs, embeddings, indexes)
25
+ - **continuous learning** – ensuring new knowledge flows into llm systems without overwhelming or corrupting them
26
+
27
+ ---
28
+
29
+ 👉 in short: **knowledge logistics** = *the supply chain of concepts for llms — getting the right knowledge, in the right form, to the right place in the reasoning process.*
@@ -0,0 +1,76 @@
1
+ # 🧩 .brief.article: `tactics as compositions of traits and skills`
2
+
3
+ ## 💡 concept
4
+ **tactics** are not a strict hierarchy but a **composition** of **traits** and **skills**.
5
+ - **traits** = dispositions (orientations of thought, energy, and behavior).
6
+ - **skills** = capabilities (trainable abilities applied in practice).
7
+ a tactic emerges when a specific **combination** of traits and skills is aligned toward an outcome.
8
+
9
+ ---
10
+
11
+ ## 🎯 why composition matters
12
+ - traits and skills are **independent**: curiosity and precision can both shape chemistry, but in different ways.
13
+ - tactics are **composable**: the same skill can express differently depending on which trait anchors it.
14
+ - outcomes **shift** when traits or skills are dialed up, down, or swapped.
15
+
16
+ ---
17
+
18
+ ## 📚 examples by domain
19
+
20
+ ### 🧪 science
21
+ **curious chemist**
22
+ - **trait**: curiosity
23
+ - **skill**: chemistry analysis
24
+ - **tactic**: exploratory experimentation, testing boundaries, embracing unknowns.
25
+ - **outcome**: discovery of novel reactions, unexpected insights.
26
+
27
+ **precise chemist**
28
+ - **trait**: precision
29
+ - **skill**: chemistry analysis
30
+ - **tactic**: rigorous measurement, narrow tolerances, strict replication.
31
+ - **outcome**: reliable results, industry-grade reproducibility.
32
+
33
+ ---
34
+
35
+ ### 🪚 craft
36
+ **adaptive carpenter**
37
+ - **trait**: creativity
38
+ - **skill**: carpentry
39
+ - **tactic**: improvises with available materials, adapts joinery to context.
40
+ - **outcome**: unique custom pieces, practical fixes in resource-limited settings.
41
+
42
+ **disciplined carpenter**
43
+ - **trait**: discipline
44
+ - **skill**: carpentry
45
+ - **tactic**: follows measured plans precisely, applies standardized methods.
46
+ - **outcome**: consistent, repeatable, structurally sound products.
47
+
48
+ ---
49
+
50
+ ### 🤝 negotiation
51
+ **empathetic negotiator**
52
+ - **trait**: empathy
53
+ - **skill**: negotiation
54
+ - **tactic**: listens deeply, frames deals around shared needs.
55
+ - **outcome**: durable agreements, long-term trust.
56
+
57
+ **strategic negotiator**
58
+ - **trait**: foresight
59
+ - **skill**: negotiation
60
+ - **tactic**: maps long-term consequences, anticipates concessions and pivots.
61
+ - **outcome**: advantage in complex deals, positioning for future leverage.
62
+
63
+ ---
64
+
65
+ ## ⚖️ composability
66
+ - one **skill** can pair with multiple **traits** → different tactics, different outcomes.
67
+ - one **trait** can pair with multiple **skills** → different expressions of the same disposition.
68
+ - **tactics** emerge from the active **pairing**, not from traits or skills alone.
69
+
70
+ ---
71
+
72
+ ## 📌 takeaway
73
+ tactics are **compositions**, not hierarchies:
74
+ - **traits** provide orientation.
75
+ - **skills** provide capability.
76
+ - tactics combine them to yield different **outcomes**, which can shift as traits are dialed differently in different contexts.
@@ -0,0 +1,67 @@
1
+ # 🧩 .brief.article: `pattern of trait articulation`
2
+
3
+ ## 💡 concept
4
+ a **trait articulation** describes how a personal or systemic trait manifests across three distinct modes:
5
+ - **boon** = benefit mode, the gift of the trait when expressed well.
6
+ - **bane** = detriment mode, the distortion of the trait when taken too far.
7
+ - **balance** = integrative mode, the steady form that holds the gift without falling into the trap.
8
+
9
+ this pattern ensures traits are understood not as static labels, but as dynamic forces with both potential and peril.
10
+
11
+ ---
12
+
13
+ ## 🎯 purpose
14
+ - create richer portraits of traits than single definitions allow.
15
+ - highlight both the **value** and the **risk** of a trait.
16
+ - emphasize the need for **balance** as the mature expression of any trait.
17
+ - provide a structure that can apply across domains: personality, craft, leadership, learning, etc.
18
+
19
+ ---
20
+
21
+ ## 🔍 structure of articulation
22
+
23
+ ### 1. .trait.boon
24
+ - **essence**: what the trait gives when it operates in healthy form.
25
+ - **benefits**: strengths, gifts, and opportunities.
26
+ - **behaviors**: observable actions that express the boon.
27
+
28
+ ### 2. .trait.bane
29
+ - **essence**: what the trait becomes when it overextends.
30
+ - **risks**: distortions, traps, or excesses.
31
+ - **symptoms**: signals that the trait has shifted into bane.
32
+
33
+ ### 3. .trait.balance
34
+ - **essence**: how the trait can be integrated with discernment.
35
+ - **stance**: principles that prevent overreach.
36
+ - **behaviors**: practices that preserve clarity and prevent distortion.
37
+
38
+ ---
39
+
40
+ ## 📚 examples
41
+
42
+ ### 1. curiosity
43
+ - **boon**: discovery, insight, growth.
44
+ - **bane**: distraction, endless novelty, shallow wandering.
45
+ - **balance**: guided exploration aligned with purpose.
46
+
47
+ ---
48
+
49
+ ### 2. discipline
50
+ - **boon**: consistency, reliability, mastery through practice.
51
+ - **bane**: rigidity, joyless routine, resistance to change.
52
+ - **balance**: disciplined flow that adapts structure to context.
53
+
54
+ ---
55
+
56
+ ### 3. empathy
57
+ - **boon**: connection, trust, understanding others’ needs.
58
+ - **bane**: over-identification, blurred boundaries, emotional exhaustion.
59
+ - **balance**: compassionate presence with clear self-boundaries.
60
+
61
+ ---
62
+
63
+ ## 📌 takeaway
64
+ the **pattern of trait articulation** reframes traits as **dynamic spectra** rather than fixed qualities.
65
+ every trait has a **boon** that gifts, a **bane** that distorts, and a **balance** that integrates.
66
+
67
+ this triadic articulation turns traits into **living tools** for reflection, growth, and design.
@@ -0,0 +1,56 @@
1
+ # 🧩 .brief.article: `purpose of traits`
2
+
3
+ ## 💡 concept
4
+ **traits** are recurring modes of thought, behavior, or expression that shape how an individual, team, or system engages with the world. they are not fixed states but **patterns of disposition** that influence choices, interactions, and outcomes.
5
+
6
+ ---
7
+
8
+ ## 🎯 purposes of traits
9
+
10
+ ### 1. orientation
11
+ traits orient how energy, attention, and action flow.
12
+ - curiosity points attention outward.
13
+ - discipline channels energy inward.
14
+ - empathy directs focus toward others.
15
+
16
+ ---
17
+
18
+ ### 2. prediction
19
+ traits allow us to anticipate likely patterns of behavior.
20
+ - a disciplined person can be relied on to complete commitments.
21
+ - an empathetic leader is expected to notice unspoken needs.
22
+
23
+ ---
24
+
25
+ ### 3. reflection
26
+ traits act as mirrors for growth. they reveal both:
27
+ - **boon** = the gift we bring when the trait is expressed well.
28
+ - **bane** = the trap we fall into when it overextends.
29
+ - **balance** = the integration that matures the trait.
30
+
31
+ ---
32
+
33
+ ### 4. articulation
34
+ traits provide a shared vocabulary for describing tendencies.
35
+ - instead of vague impressions, we can say: *“this person’s empathy is in bane mode.”*
36
+ - traits let us discuss strengths and distortions with precision.
37
+
38
+ ---
39
+
40
+ ### 5. design
41
+ traits give structure for intentional cultivation.
42
+ - they can be trained, reinforced, or balanced.
43
+ - teams can be designed to complement each other’s trait profiles.
44
+ - systems can be engineered to amplify boon and dampen bane.
45
+
46
+ ---
47
+
48
+ ## 📌 takeaway
49
+ the **purpose of traits** is not to label people, but to **map dispositions**:
50
+ - to orient energy and focus,
51
+ - to predict patterns of behavior,
52
+ - to reflect on growth,
53
+ - to articulate tendencies with precision,
54
+ - and to design individuals and systems toward balanced expression.
55
+
56
+ in this way, traits function as **living lenses** for understanding and shaping both self and collective.
@@ -0,0 +1,55 @@
1
+ # 🧩 .brief.article: `traits vs skills`
2
+
3
+ ## 💡 concept
4
+ **traits** and **skills** both shape how people act, but they operate on different levels:
5
+ - a **trait** is a recurring disposition — a pattern of orientation, energy, or behavior.
6
+ - a **skill** is a learned capability — a pattern of execution that can be trained and measured.
7
+
8
+ understanding the distinction prevents us from mistaking innate tendencies for trainable abilities.
9
+
10
+ ---
11
+
12
+ ## 🔍 differences
13
+
14
+ ### 1. origin
15
+ - **traits**: emerge from personality, temperament, or long-term conditioning. often stable across time.
16
+ - **skills**: emerge from practice and instruction. flexible and trainable.
17
+
18
+ ---
19
+
20
+ ### 2. scope
21
+ - **traits**: broad in effect; they color multiple domains.
22
+ - curiosity can shape art, science, or relationships.
23
+ - **skills**: narrow in application; tied to specific domains.
24
+ - coding, carpentry, negotiation.
25
+
26
+ ---
27
+
28
+ ### 3. changeability
29
+ - **traits**: shift slowly; can be balanced but not easily “installed.”
30
+ - **skills**: shift quickly; can be learned, upgraded, or replaced.
31
+
32
+ ---
33
+
34
+ ### 4. evaluation
35
+ - **traits**: assessed by patterns over time.
36
+ - someone *is disciplined* when reliability shows consistently.
37
+ - **skills**: assessed by performance in tasks.
38
+ - someone *knows SQL* when they can query databases.
39
+
40
+ ---
41
+
42
+ ### 5. relation
43
+ - **traits** set the posture.
44
+ - **skills** execute within that posture.
45
+
46
+ > example: a disciplined trait supports the steady practice needed to build the piano skill.
47
+ > without discipline, the skill may stall despite talent.
48
+
49
+ ---
50
+
51
+ ## 📌 takeaway
52
+ - **traits = disposition**: they orient and color behavior across contexts.
53
+ - **skills = capability**: they enable specific acts within contexts.
54
+ - both interact: traits provide the soil, skills provide the tools.
55
+ together, they form the **architecture of ability** — traits set the stance, skills supply the execution.
@@ -0,0 +1,70 @@
1
+ # 🧩 .brief.article: `traits as the foundation of tactics`
2
+
3
+ ## 💡 concept
4
+ to **execute a tactic**, one must apply **skills** upon a baseline of **traits**.
5
+ - **traits** = the dispositions that orient attention, energy, and behavior.
6
+ - **skills** = the trainable capabilities that act within that orientation.
7
+ without traits as the foundation, skills may not sustain, and tactics may not succeed.
8
+
9
+ ---
10
+
11
+ ## 🎯 why traits are foundational
12
+
13
+ ### 1. skills rest on traits
14
+ a skill is only as stable as the trait beneath it.
15
+ - chemistry requires **precision**.
16
+ - leadership requires **confidence**.
17
+ - negotiation requires **empathy**.
18
+ without the trait, the skill cannot fully embed or function reliably.
19
+
20
+ ---
21
+
22
+ ### 2. traits sustain skills under pressure
23
+ skills can be taught in a classroom, but in the field they falter unless traits hold steady.
24
+ - **discipline** keeps practice consistent.
25
+ - **resilience** prevents collapse under failure.
26
+ - **curiosity** fuels the drive to refine.
27
+
28
+ ---
29
+
30
+ ### 3. traits shape the style of skill
31
+ two people may wield the same skill differently depending on traits.
32
+ - a communicator with **empathy** persuades through trust.
33
+ - a communicator with **charisma** persuades through presence.
34
+ - a communicator without anchoring traits risks manipulation or emptiness.
35
+
36
+ ---
37
+
38
+ ### 4. traits prevent mechanical execution
39
+ a tactic applied by skill alone feels forced, brittle, or artificial.
40
+ - traits give **natural posture**.
41
+ - skills give **effective action**.
42
+ - tactics require both.
43
+
44
+ ---
45
+
46
+ ## 📚 examples
47
+
48
+ - **skill**: chemistry analysis
49
+ - **trait baseline**: precision, patience
50
+ - **tactic enabled**: rigorous experiment without error creep.
51
+
52
+ - **skill**: carpentry
53
+ - **trait baseline**: steadiness, attention to detail
54
+ - **tactic enabled**: joints fit cleanly, structures hold.
55
+
56
+ - **skill**: coding
57
+ - **trait baseline**: logic, persistence
58
+ - **tactic enabled**: debugging without giving up too soon.
59
+
60
+ ---
61
+
62
+ ## 📌 takeaway
63
+ to execute a tactic:
64
+ 1. **trait** sets the baseline posture.
65
+ 2. **skill** provides the capability.
66
+ 3. **tactic** applies skill through the trait into real outcomes.
67
+
68
+ > skills without traits collapse under pressure.
69
+ > tactics without traits turn mechanical.
70
+ > traits are the **foundation** that make both durable and alive.
@@ -19,7 +19,6 @@ type StitcherDesired = GStitcher<Threads<{
19
19
  art: {
20
20
  'focus.concept': Focus['concept'];
21
21
  'focus.context': Focus['context'];
22
- 'foci.ponder.ans.concept': Focus['concept'];
23
22
  };
24
23
  briefs: Artifact<typeof GitFile>[];
25
24
  }>;
@@ -47,7 +46,6 @@ export declare const loopArticulate: import("rhachet").Stitcher<GStitcher<Thread
47
46
  art: {
48
47
  'focus.concept': Focus['concept'];
49
48
  'focus.context': Focus['context'];
50
- 'foci.ponder.ans.concept': Focus['concept'];
51
49
  };
52
50
  briefs: Artifact<typeof GitFile>[];
53
51
  } & {
@@ -33,10 +33,6 @@ articulate the term "joke"; declare both the etymology and definition; include e
33
33
  thinker: {
34
34
  'focus.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: __dirname + '/.temp/stepArticulate/thinker.focus.concept.md' }, { versions: true }),
35
35
  'focus.context': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: __dirname + '/.temp/stepArticulate/thinker.focus.context.md' }, { versions: true }),
36
- 'foci.ponder.ans.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({
37
- uri: __dirname +
38
- '/.temp/stepArticulate/thinker.foci.ponder.ans.concept.md',
39
- }, { versions: true }),
40
36
  },
41
37
  };
42
38
  (0, test_fns_1.given)('we want to articulate term joke', () => {
@@ -71,7 +67,6 @@ articulate the term "joke"; declare both the etymology and definition; include e
71
67
  art: {
72
68
  'focus.context': artifacts.thinker['focus.context'],
73
69
  'focus.concept': artifacts.thinker['focus.concept'],
74
- 'foci.ponder.ans.concept': artifacts.thinker['foci.ponder.ans.concept'],
75
70
  },
76
71
  briefs: [],
77
72
  },
@@ -88,6 +83,7 @@ articulate the term "joke"; declare both the etymology and definition; include e
88
83
  const { content } = await artifacts.thinker['focus.concept']
89
84
  .get()
90
85
  .expect('isPresent');
86
+ expect(content.toLowerCase()).toContain('.brief.article');
91
87
  expect(content.toLowerCase()).toContain('joke');
92
88
  });
93
89
  });
@@ -1 +1 @@
1
- {"version":3,"file":"stepArticulate.integration.test.js","sourceRoot":"","sources":["../../../../../src/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.ts"],"names":[],"mappings":";;AAAA,iDAAoD;AACpD,qCAA2D;AAC3D,+DAA0D;AAC1D,uCAAsD;AAEtD,6EAA0E;AAC1E,mFAAgF;AAChF,yEAAsE;AACtE,sDAAoD;AACpD,qDAAkD;AAElD,IAAI,CAAC,UAAU,CAAC,IAAA,yBAAc,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEhD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,MAAM,OAAO,GAAG;QACd,GAAG,IAAA,uCAAkB,GAAE;QACvB,GAAG,IAAA,6CAAqB,GAAE;QAC1B,GAAG,IAAA,mCAAgB,GAAE;KACtB,CAAC;IACF,MAAM,KAAK,GAAG,+BAAc,CAAC;IAE7B,MAAM,IAAI,GAAG;;GAEZ,CAAC,IAAI,EAAE,CAAC;IAET,MAAM,SAAS,GAAG;QAChB,MAAM,EAAE;YACN,QAAQ,EAAE,I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EACrC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAC5B,OAAO,CACR,CAAC;gBACF,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpD,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACvB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;gBAEhD,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC;qBACzD,GAAG,EAAE;qBACL,MAAM,CAAC,WAAW,CAAC,CAAC;gBAEvB,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"stepArticulate.integration.test.js","sourceRoot":"","sources":["../../../../../src/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.ts"],"names":[],"mappings":";;AAAA,iDAAoD;AACpD,qCAA2D;AAC3D,+DAA0D;AAC1D,uCAAsD;AAEtD,6EAA0E;AAC1E,mFAAgF;AAChF,yEAAsE;AACtE,sDAAoD;AACpD,qDAAkD;AAElD,IAAI,CAAC,UAAU,CAAC,IAAA,yBAAc,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEhD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,MAAM,OAAO,GAAG;QACd,GAAG,IAAA,uCAAkB,GAAE;QACvB,GAAG,IAAA,6CAAqB,GAAE;QAC1B,GAAG,IAAA,mCAAgB,GAAE;KACtB,CAAC;IACF,MAAM,KAAK,GAAG,+BAAc,CAAC;IAE7B,MAAM,IAAI,GAAG;;GAEZ,C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AI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpD,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACvB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;gBAEhD,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC;qBACzD,GAAG,EAAE;qBACL,MAAM,CAAC,WAAW,CAAC,CAAC;gBAEvB,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;gBAC1D,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -20,6 +20,11 @@ exports.BRIEFS_FOR_ARTICULATE = (0, getBhrainBrief_1.getBhrainBriefs)([
20
20
  'cognition/cog401.questions.2.1.primitives.rough._.md',
21
21
  'cognition/cog201.cortal.focus.p2.acuity.md',
22
22
  'cognition/cog301.traversal.1.motion.primitives.acuity.md',
23
+ //
24
+ 'knowledge/kno201.documents.articles.[article].md',
25
+ 'knowledge/kno301.doc.enbrief.2.articulate.[article].md',
26
+ 'knowledge/kno301.doc.enbrief.2.articulate.[lesson].md',
27
+ //
23
28
  'librarian.tactics/[brief].verbiage.outline.over.narrative.md',
24
29
  'librarian.tactics/<articulate>._.[article].frame.cognitive.md',
25
30
  'librarian.tactics/<articulate>._.[article].frame.tactical.md',
@@ -32,7 +37,7 @@ exports.BRIEFS_FOR_ARTICULATE = (0, getBhrainBrief_1.getBhrainBriefs)([
32
37
  'librarian.tactics/<articulate>.tone.bluecollar.[article][seed].md', // todo: review this
33
38
  ]);
34
39
  const template = (0, rhachet_1.genTemplate)({
35
- ref: { uri: __filename.replace('.ts', '.template.md') },
40
+ ref: { uri: (0, rhachet_1.getTemplatePathByCallerPath)({ auto: true }) },
36
41
  getVariables: async ({ threads }) => ({
37
42
  ...(await (0, rhachet_1.getTemplateVarsFromRoleInherit)({ thread: threads.thinker })),
38
43
  guide: {
@@ -52,8 +57,6 @@ const template = (0, rhachet_1.genTemplate)({
52
57
  concept: (await threads.thinker.context.stash.art['focus.concept'].get())
53
58
  ?.content || '',
54
59
  },
55
- ponderage: (await threads.thinker.context.stash.art['foci.ponder.ans.concept'].get())
56
- ?.content || '',
57
60
  templates: await (0, rhachet_1.getTemplateValFromArtifacts)({
58
61
  artifacts: [...threads.caller.context.stash.art.templates],
59
62
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"stepArticulate.js","sourceRoot":"","sources":["../../../../../src/logic/roles/bhrain/brief.articulate/stepArticulate.ts"],"names":[],"mappings":";;;AAAA,mDAAyD;AACzD,qCAUiB;AAGjB,6CAAqD;AAGrD,8DAA0E;AAC1E,uEAAoE;AACpE,mEAAgE;AAChE,sDAAoD;AAEpD,4DAA4D;AAC/C,QAAA,qBAAqB,GAAG,IAAA,gCAAe,EAAC;IACnD,cAAc;IACd,kCAAkC;IAClC,0CAA0C;IAC1C,0CAA0C;IAC1C,gDAAgD;IAChD,qDAAqD;IACrD,kCAAkC;IAClC,sDAAsD;IACtD,4CAA4C;IAC5C,0DAA0D;IAC1D,8DAA8D;IAC9D,+DAA+D;IAC/D,8DAA8D;IAC9D,oDAAoD;IACpD,qFAAqF;IACrF,iFAAiF;IACjF,wDAAwD;IACxD,oDAAoD;IACpD,mEAAmE;IACnE,mEAAmE,EAAE,oBAAoB;CAC1F,CAAC,CAAC;AAiCH,MAAM,QAAQ,GAAG,IAAA,qBAAW,EAA6B;IACvD,GAAG,EAAE,EAAE,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,EAAE;IACvD,YAAY,EAAE,KAAK,EAAE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;IACtB,QAAQ,EAAE,sBAAc;CACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"stepArticulate.js","sourceRoot":"","sources":["../../../../../src/logic/roles/bhrain/brief.articulate/stepArticulate.ts"],"names":[],"mappings":";;;AAAA,mDAAyD;AACzD,qCAWiB;AAGjB,6CAAqD;AAGrD,8DAA0E;AAC1E,uEAAoE;AACpE,mEAAgE;AAChE,sDAAoD;AAEpD,4DAA4D;AAC/C,QAAA,qBAAqB,GAAG,IAAA,gCAAe,EAAC;IACnD,cAAc;IACd,kCAAkC;IAClC,0CAA0C;IAC1C,0CAA0C;IAC1C,gDAAgD;IAChD,qDAAqD;IACrD,kCAAkC;IAClC,sDAAsD;IACtD,4CAA4C;IAC5C,0DAA0D;IAC1D,EAAE;IACF,kDAAkD;IAClD,wDAAwD;IACxD,uDAAuD;IACvD,EAAE;IACF,8DAA8D;IAC9D,+DAA+D;IAC/D,8DAA8D;IAC9D,oDAAoD;IACpD,qFAAqF;IACrF,iFAAiF;IACjF,wDAAwD;IACxD,oDAAoD;IACpD,mEAAmE;IACnE,mEAAmE,EAAE,oBAAoB;CAC1F,CAAC,CAAC;AAgCH,MAAM,QAAQ,GAAG,IAAA,qBAAW,EAA6B;IACvD,GAAG,EAAE,EAAE,GAAG,EAAE,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE;IACzD,YAAY,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;QACpC,GAAG,CAAC,MAAM,IAAA,wCAA8B,EAAC,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QAEtE,KAAK,EAAE;YACL,IAAI,EACF,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,GAAG,EAAE,CAAC;gBACjE,EAAE,OAAO;gBACX,wCAAuB,CAAC,KAAK,CAAC,mBAAmB,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AC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,IAAA,mCAAyB,EAAkB;IAC7D,IAAI,EAAE,wBAAwB;IAC9B,QAAQ,EAAE,SAAS;IACnB,MAAM,EAAE,EAAE;IACV,QAAQ;IACR,OAAO,EAAE,IAAA,uBAAS,EAChB,IAAA,yBAAW,EAAC,qBAAS,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,CAAC,CAC/D;CACF,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,IAAA,6BAAa,EAAC;IAChC,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,eAAe;CACvB,CAAC,CAAC;AAEU,QAAA,cAAc,GAAG,IAAA,wBAAc,EAC1C,IAAA,wBAAc,EAAC;IACb,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,qCAAqC;IAC7C,QAAQ,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;CACrC,CAAC,CACH,CAAC;AAEW,QAAA,cAAc,GAAG,IAAA,iCAAe,EAAC;IAC5C,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,eAAe;IACtB,QAAQ,EAAE,sBAAc;CACzB,CAAC,CAAC"}
@@ -18,7 +18,6 @@ export declare const SKILL_ARTICULATE: import("rhachet").RoleSkill<import("rhach
18
18
  art: {
19
19
  'focus.concept': import("rhachet-artifact").Artifact<typeof import("rhachet-artifact-git").GitFile, string>;
20
20
  'focus.context': import("rhachet-artifact").Artifact<typeof import("rhachet-artifact-git").GitFile, string>;
21
- 'foci.ponder.ans.concept': import("rhachet-artifact").Artifact<typeof import("rhachet-artifact-git").GitFile, string>;
22
21
  };
23
22
  briefs: import("rhachet-artifact").Artifact<typeof import("rhachet-artifact-git").GitFile, string>[];
24
23
  } & {
@@ -4,19 +4,18 @@ exports.SKILL_ARTICULATE = void 0;
4
4
  const rhachet_1 = require("rhachet");
5
5
  const rhachet_artifact_git_1 = require("rhachet-artifact-git");
6
6
  const genContextLogTrail_1 = require("../../../../.test/genContextLogTrail");
7
- const genContextStitchTrail_1 = require("../../../../.test/genContextStitchTrail");
8
7
  const getContextOpenAI_1 = require("../../../../.test/getContextOpenAI");
8
+ const genStitchStreamToDisk_1 = require("../../../context/genStitchStreamToDisk");
9
9
  const stepArticulate_1 = require("./stepArticulate");
10
10
  exports.SKILL_ARTICULATE = (0, rhachet_1.genRoleSkill)({
11
11
  slug: 'articulate',
12
12
  route: stepArticulate_1.loopArticulate,
13
- // route: loopsArticulateWithPonder, // todo: revive ponder when its actually helpful. today, ponder actually hurts
14
13
  threads: {
15
14
  lookup: {
16
- target: {
15
+ output: {
17
16
  source: 'process.argv',
18
- char: 't',
19
- desc: 'the target file or dir to write against',
17
+ char: 'o',
18
+ desc: 'the output file to write against',
20
19
  type: 'string',
21
20
  },
22
21
  goal: {
@@ -44,9 +43,9 @@ exports.SKILL_ARTICULATE = (0, rhachet_1.genRoleSkill)({
44
43
  type: '?string',
45
44
  },
46
45
  },
47
- assess: (input) => typeof input.target === 'string',
46
+ assess: (input) => typeof input.output === 'string',
48
47
  instantiate: async (input) => {
49
- const obsDir = (0, rhachet_artifact_git_1.getArtifactObsDir)({ uri: input.target });
48
+ const obsDir = (0, rhachet_artifact_git_1.getArtifactObsDir)({ uri: input.output });
50
49
  const artifacts = {
51
50
  goal: await (async () => {
52
51
  if (input.goal)
@@ -57,14 +56,7 @@ exports.SKILL_ARTICULATE = (0, rhachet_1.genRoleSkill)({
57
56
  })(),
58
57
  feedback: (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.feedback.md' }, { versions: true }),
59
58
  'focus.context': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.focus.context.md' }, { versions: true }),
60
- 'focus.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: input.target }, { versions: true }),
61
- 'foci.articulate.context': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.foci.articulate.context.md' }, { versions: true }),
62
- 'foci.articulate.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.foci.articulate.concept.md' }, { versions: true }),
63
- 'foci.ponder.que.context': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.foci.ponder.que.context.md' }, { versions: true }),
64
- 'foci.ponder.que.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.foci.ponder.que.concept.md' }, { versions: true }),
65
- 'foci.ponder.ans.context': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.foci.ponder.ans.context.md' }, { versions: true }),
66
- 'foci.ponder.ans.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.foci.ponder.ans.concept.md' }, { versions: true }),
67
- 'ponder.output': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: obsDir + '.ponder.output.md' }, { versions: true }),
59
+ 'focus.concept': (0, rhachet_artifact_git_1.genArtifactGitFile)({ uri: input.output }, { versions: true }),
68
60
  references: input.references
69
61
  ?.split(',')
70
62
  .filter((uri) => !!uri)
@@ -98,17 +90,8 @@ exports.SKILL_ARTICULATE = (0, rhachet_1.genRoleSkill)({
98
90
  art: {
99
91
  'focus.context': artifacts['focus.context'],
100
92
  'focus.concept': artifacts['focus.concept'],
101
- 'foci.articulate.context': artifacts['foci.articulate.context'],
102
- 'foci.articulate.concept': artifacts['foci.articulate.concept'],
103
- 'foci.ponder.ans.context': artifacts['foci.ponder.ans.context'],
104
- 'foci.ponder.ans.concept': artifacts['foci.ponder.ans.concept'],
105
- 'foci.ponder.que.context': artifacts['foci.ponder.que.context'],
106
- 'foci.ponder.que.concept': artifacts['foci.ponder.que.concept'],
107
93
  },
108
- briefs: [
109
- ...artifacts.briefs,
110
- ...stepArticulate_1.BRIEFS_FOR_ARTICULATE, // flow the articulate briefs down so that <ponder> has them in context too; this approach does cause duplicate briefs for articulate, but thats no biggie
111
- ],
94
+ briefs: artifacts.briefs,
112
95
  },
113
96
  }),
114
97
  };
@@ -128,7 +111,9 @@ exports.SKILL_ARTICULATE = (0, rhachet_1.genRoleSkill)({
128
111
  return {
129
112
  ...(0, getContextOpenAI_1.getContextOpenAI)(),
130
113
  ...(0, genContextLogTrail_1.genContextLogTrail)(),
131
- ...(0, genContextStitchTrail_1.genContextStitchTrail)(),
114
+ ...(0, rhachet_1.genContextStitchTrail)({
115
+ stream: (0, genStitchStreamToDisk_1.genStitchStreamToDisk)({ dir: process.cwd() }), // stream events to disk
116
+ }),
132
117
  };
133
118
  },
134
119
  },