rhachet-roles-ehmpathy 1.0.0 → 1.2.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/dist/.test/getContextOpenAI.js +2 -1
- package/dist/.test/getContextOpenAI.js.map +1 -1
- package/dist/_topublish/domain-glossary-brief/src/domain/objects/Catalog.d.ts +0 -0
- package/dist/_topublish/domain-glossary-brief/src/domain/objects/Catalog.js +2 -0
- package/dist/_topublish/domain-glossary-brief/src/domain/objects/Catalog.js.map +1 -0
- package/dist/_topublish/domain-glossary-brief/src/domain/objects/TriageCatalog.d.ts +18 -0
- package/dist/_topublish/domain-glossary-brief/src/domain/objects/TriageCatalog.js +3 -0
- package/dist/_topublish/domain-glossary-brief/src/domain/objects/TriageCatalog.js.map +1 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Focus.d.ts +34 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Focus.js +9 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Focus.js.map +1 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.d.ts +9 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.js +3 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.js.map +1 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Question.d.ts +1 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Question.js +3 -0
- package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Question.js.map +1 -0
- package/dist/contract/commands/codegenBriefOptions.js +1 -0
- package/dist/contract/commands/codegenBriefOptions.js.map +1 -1
- package/dist/contract/sdk/index.d.ts +1 -0
- package/dist/contract/sdk/index.js +6 -0
- package/dist/contract/sdk/index.js.map +1 -0
- package/dist/data/sdk/sdkOpenAi.js +5 -1
- package/dist/data/sdk/sdkOpenAi.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/logic/artifact/asDotRhachetFile.d.ts +5 -0
- package/dist/logic/artifact/asDotRhachetFile.js +16 -0
- package/dist/logic/artifact/asDotRhachetFile.js.map +1 -0
- package/dist/logic/artifact/genLoopFeedback.d.ts +18 -0
- package/dist/logic/artifact/genLoopFeedback.js +40 -0
- package/dist/logic/artifact/genLoopFeedback.js.map +1 -0
- package/dist/logic/artifact/genStepArtSet.d.ts +2 -1
- package/dist/logic/artifact/genStepArtSet.js +24 -4
- package/dist/logic/artifact/genStepArtSet.js.map +1 -1
- package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js +7 -0
- package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js.map +1 -1
- package/dist/logic/artifact/genStepResetFeedback.d.ts +12 -0
- package/dist/logic/artifact/genStepResetFeedback.js +27 -0
- package/dist/logic/artifact/genStepResetFeedback.js.map +1 -0
- package/dist/logic/artifact/genStepSwapArtifact.d.ts +57 -0
- package/dist/logic/artifact/genStepSwapArtifact.js +58 -0
- package/dist/logic/artifact/genStepSwapArtifact.js.map +1 -0
- package/dist/logic/artifact/genStepSwapArtifact.test.js +131 -0
- package/dist/logic/artifact/genStepSwapArtifact.test.js.map +1 -0
- package/dist/logic/roles/architect/.briefs/ubiqlang.ambiguous-from-overload.md +1 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog000.overview.and.premise.md +115 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog021.coordinates.spherical.md +69 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog021.metaphor.cauliflorous.md +44 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog021.structs.catalog.md +51 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog021.structs.treestruct.md +85 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog021.structs.vector.md +112 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.definition.md +115 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct._.md +112 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.coords.1.spherical.md +80 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.coords.2.abstractive.md +59 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.coords.3.descriptive.md +64 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.1.perspectives.md +88 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.2.universal.md +82 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.3.relative.md +106 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.4.fractal.md +83 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog151.concept.treestruct.gravity.md +89 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p1.definition.md +231 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p1.examples.cont.md +82 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p2.acuity.md +134 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p2.breadth.md +151 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p2.depth.md +147 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.fabric.md +96 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.mode.md +68 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.rythm.md +56 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.usecases.md +76 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives._.md +155 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.acuity.md +94 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.breadth.md +114 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.breadth.vary.md +105 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.depth.md +132 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.2.motion.composites._.md +106 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.2.motion.composites.grammar.md +105 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.._.md +209 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.1.persp.as.berries.md +168 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.1.persp.as.vectors.md +74 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.1.persp.has.precision.tunable.md +80 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.1.primitives.rough._.md +99 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.1.primitives.rough.interrogative.md +108 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.1.primitives.rough.why.[article].md +55 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.2.composite.smooth._.md +83 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.2.composite.smooth.examples.md +101 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives._.md +134 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives.recall.md +149 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives.steer.md +146 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives.think.md +141 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.2.composites.zoom.md +127 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.3.catalogs.md +107 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.3.grammar.md +124 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang_.md +0 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/inflight/concept.vs.idea.md +70 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/inflight/core.concept.adjectives.md +8 -0
- package/dist/logic/roles/bhrain/.briefs/distilisys.grammar.compressed.md +19 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.1.ontology.[article].frame.docs_as_materializations.md +63 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.1.ontology.[article].frame.docs_as_references.md +45 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.2.rel.many_to_many.[article].md +37 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.3.instances.[article].md +39 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.4.documents.[article].md +37 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.5.concepts.[article].md +39 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents._.[article].md +48 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents._.[catalog].md +52 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.articles.[article].md +40 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.catalogs.[article].md +41 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.demos.[article].md +42 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.lessons.[article].md +42 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression.1.refs._.[article].md +41 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression.2.kernels._.[article].i1.md +50 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression.3.briefs._.[article].md +40 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression._.[article].md +90 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression._.[catalog].persp.garden.md +64 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[article].md +45 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].algorithm.md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].color.md +56 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].empathy.md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].entropy.md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].gravity.md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].joke.md +56 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].value.md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2._.[catalog].md +43 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.articulate.[article].md +27 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.articulate.[lesson].md +49 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.catalogize.[article].md +27 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.catalogize.[lesson].md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.demonstrate.[article].md +26 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.demonstrate.[lesson].md +49 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.lessonize.[article].md +26 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.lessonize.[lesson].md +54 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.kernelize._.[article].md +58 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.kernelize._.[lesson].md +88 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno351.docs.are_instances.[article].md +34 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno351.docs.recursion.[catalog].md +44 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno401.actors.1.role.author.[article].md +36 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno401.actors.1.role.librarian.[article].md +40 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno401.actors.2.interdependence.[article].md +52 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno501.doc.enbrief.catalog.structure1.[article].md +53 -0
- package/dist/logic/roles/bhrain/.briefs/knowledge/kno501.doc.enbrief.catalog.structure1.[lesson].template.md +101 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/article.variant.vision.[article].md +60 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/term.expectation.vs_assumption._.md +60 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/term.frame.vs_perspective.[article].md +96 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/term.invariant.[article].md +29 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/term.lesson._vs_article.[article].md +36 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/term.ref._vs_brief.md +90 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/term.referent.[article].md +43 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/usage.lesson_vs_article.[lesson].md +31 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.context/usage.lesson_vs_article_vs_demo.[lesson].md +37 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/.readme.md +12 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.TriageCatalog.[gallery][example].structure.md +18 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>._.[article].frame.cognitive.md +33 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>._.[article].frame.tactical.md +45 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.[catalog].md +83 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.concept_dimension.examples.[article][seed].md +4 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.concept_dimension.invariants.[article].md +36 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.from.examples.md +44 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.from.seed.md +48 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.with.templates.[article].md +57 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.with.templates.[gallery][review].effective.md +1 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tone.bluecollar.[article][seed].md +5 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<catalogize>._.[article][seed].md +3 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<catalogize>.observation.via_clusterage_over_via_imagination.[seed].md +6 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<catalogize>.vs_diverge.[article].persp.save_compute.md +46 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>._.[article].frame.colloquial.i2.by_grok.md +64 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.[catalog].md +106 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.contrast.[demo].usecase.vs_userjourney.by_chatgpt.md +45 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.counter.[demo].usecase.flyer.by_chargpt.md +38 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.counter.[demo].walkability.phoenix.by_chargpt.md +41 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].shear_force.scissors.by_grok.md +52 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].tea.darjeeling.by_grok.md +50 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].usecase.book_flight.by_grok.md +54 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].usecase.order_food.by_chatgpt.md +40 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].walkability.portland.by_chatgpt.i3.md +42 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].walkability.portland.by_grok.i2.md +49 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[lesson].howto.md +28 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.structure.[article].i2.md +73 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.narrative.[demo].usecase.order_online.by_chatgpt.md +34 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.walkthrough.[demo].usecase.book_online.by_chatgpt.md +47 -0
- package/dist/logic/roles/bhrain/.briefs/librarian.tactics/[brief].verbiage.outline.over.narrative.md +55 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.acuity.md +77 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.breadth.md +74 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.depth.md +77 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.distance.md +92 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.tradeoffs.md +107 -0
- package/dist/logic/roles/bhrain/.briefs/terms.motive.intent.goal.md +46 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<cluster>._.[article].frame.tactical._.md +85 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<cluster>.vs_<diverge>.duality.[article].md +43 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<diverge>._.[article].frame.cognitive.[seed].md +4 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<diverge>._.[article].frame.tactical.md +89 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<elaborate>_vs_<elucidate>.[seed].md +1 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>._.[article].md +113 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>._.[gallery].plumber.diagnose.md +130 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>._.[gallery].thinker.enquestion.md +125 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>.tactic.perspectives.[article].md +36 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<triage>._.[article].frame.tactical.md +85 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<triage>.persp.grades_from_context.[article].md +48 -0
- package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<triage>.persp.implicit_question.[article].md +65 -0
- package/dist/logic/roles/bhrain/.briefs/trait.ocd.md +5 -0
- package/dist/logic/roles/bhrain/.briefs/worders/core.matmuls_vecmuls_elemuls.md +93 -0
- package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.as_origin.md +62 -0
- package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.self_attention.[article].md +93 -0
- package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.self_attention.[demo].ambig.bank.md +80 -0
- package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.self_attention.[demo].cat_sat.md +67 -0
- package/dist/logic/roles/bhrain/.briefs/worders/force.repeat_input_structures.md +48 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.interdependence.[article].md +37 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.interdependence.[demo].domain.physics.md +30 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internal_vs_external.[article].artist_vs_librarian.md +44 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internal_vs_external.[demo].artist_vs_librarian.md +37 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internal_vs_external.[demo].domain.physics.md +39 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[article].md +35 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[demo].artist.md +36 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[demo].neural.md +37 -0
- package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[demo].pianist.md +34 -0
- package/dist/logic/roles/bhrain/.briefs/worders/limits.rhyme.md +46 -0
- package/dist/logic/roles/bhrain/.briefs/worders/limits.spell.md +49 -0
- package/dist/logic/roles/bhrain/.briefs/worders/teach.via.library.examples.md +28 -0
- package/dist/logic/roles/bhrain/.briefs/worders/teach.via.library.explanations_vs_examples.md +40 -0
- package/dist/logic/roles/bhrain/.briefs/worders/trend.prefer_reuse.[seed].md +10 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.d.ts +61 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.js +96 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.js +94 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.d.ts +31 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.js +137 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.template.md +129 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.d.ts +55 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.integration.test.js +118 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.js +72 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.d.ts +28 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.js +119 -0
- package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.d.ts +59 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.integration.test.js +119 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.js +103 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.skill.d.ts +30 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.skill.js +138 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.template.md +135 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.d.ts +10 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js +181 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js.map +1 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.d.ts +13 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.js +21 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.js.map +1 -0
- package/dist/logic/roles/bhrain/getBhrainRole.d.ts +2 -0
- package/dist/logic/roles/bhrain/getBhrainRole.js +41 -0
- package/dist/logic/roles/bhrain/getBhrainRole.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.d.ts +57 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.integration.test.js +140 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.js +91 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.skill.d.ts +29 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.skill.js +127 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.cluster/stepCluster.template.md +134 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.d.ts +57 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.integration.test.js +115 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.js +92 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.skill.d.ts +29 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.skill.js +112 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.template.md +110 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.d.ts +55 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.integration.test.js +119 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.js +75 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.skill.d.ts +28 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.skill.js +119 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.template.md +73 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.d.ts +57 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.integration.test.js +143 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.js +93 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.skill.d.ts +29 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.skill.js +127 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/khue.triage/stepTriage.template.md +128 -0
- package/dist/logic/roles/designer/.briefs/declarative-over-imperative.md +79 -0
- package/dist/logic/roles/designer/.briefs/declarative-over-imperative.stub.md +14 -0
- package/dist/logic/roles/designer/.briefs/pit-of-success.md +70 -0
- package/dist/logic/roles/designer/.briefs/pit-of-success.stub.md +3 -0
- package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js +4 -2
- package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js.map +1 -1
- package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.template.md +173 -0
- package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js +1 -1
- package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js.map +1 -1
- package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.template.md +88 -0
- package/dist/logic/roles/designer/outlineVision/stepOutlineVision.template.md +47 -0
- package/dist/logic/roles/ecologist/.briefs/.readme.md +17 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys101.distilisys.grammar.md +221 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive._.summary.md +82 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p1.reversibility.entropy.md +39 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p2.option.chance.choice.md +140 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p3.chance.motive.polarity.threat.md +72 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p4.motive.horizon.md +101 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p5.motive.grammar.md +131 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources._.primitives.summary.md +108 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt1.primitive.time.md +56 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt2.primitive.energy.md +69 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt3.primitive.space.md +85 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt4.primitive.claim.md +113 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt5.composites.md +146 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys231.actor.claims.p1.primitive.exchange.md +130 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/.eco001.origin.prompt.md +11 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco001.overview.md +44 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.core-system-understanding.md +70 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p1.ecosystem-structure.md +62 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p2.trophic-dynamics.md +59 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p3.population-ecology.md +71 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p4.community-interactions.md +78 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco505.systems-thinking.md +62 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ001.overview.md +65 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.core-mechanics.md +65 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p1.supply-and-demand.md +76 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p2.opportunity-cost.md +106 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p3.marginal-analysis.md +79 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p4.rational-choice.md +81 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ201.market-structures-and-failures.md +81 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ301.production-and-growth.md +71 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ401.macro-systems.md +92 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ501.global-and-institutional.md +85 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ501.p1.game-theory.md +142 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ501.p4.behavioral-economics.md +146 -0
- package/dist/logic/roles/ecologist/.briefs/product/user.journey._.[article].i1.md +68 -0
- package/dist/logic/roles/ecologist/.briefs/product/user.journey._.[article].md +0 -0
- package/dist/logic/roles/ecologist/.briefs/product/user.journey.purpose.[article].i1.md +52 -0
- package/dist/logic/roles/ecologist/.briefs/product/user.journey.purpose.[article].md +52 -0
- package/dist/logic/roles/ecologist/.briefs/term.distillation.md +93 -0
- package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.d.ts +1 -1
- package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js +38 -27
- package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js.map +1 -1
- package/dist/logic/roles/ecologist/getEcologistRole.d.ts +2 -0
- package/dist/logic/roles/ecologist/getEcologistRole.js +29 -0
- package/dist/logic/roles/ecologist/getEcologistRole.js.map +1 -0
- package/dist/logic/roles/getRoleRegistry.js +7 -1
- package/dist/logic/roles/getRoleRegistry.js.map +1 -1
- package/dist/logic/roles/mechanic/.briefs/architecture/bounded-contexts.md +61 -0
- package/dist/logic/roles/mechanic/.briefs/architecture/directional-dependencies.md +73 -0
- package/dist/logic/roles/mechanic/.briefs/architecture/domain-driven-design.md +61 -0
- package/dist/logic/roles/mechanic/.briefs/architecture/ubiqlang.md +37 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.md +57 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.prompt.md +5 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.failfast.md +37 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.idempotency.md +63 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.immutability.md +48 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.narratives.md +74 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.single-responsibility.md +67 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.args.input-context.md +61 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.args.input-inline.md +63 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.arrowonly.md +47 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.clear-contracts.md +53 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.tests.given-when-then.md +62 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.md +88 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.v2.md +98 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/pit-of-success.via.minimize-surface-area.md +58 -0
- package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.md +118 -0
- package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.stub.md +11 -0
- package/dist/logic/roles/mechanic/.briefs/style.compressed.md +29 -0
- package/dist/logic/roles/mechanic/.briefs/style.compressed.prompt.md +5 -0
- package/dist/logic/roles/mechanic/.briefs/style.names.treestruct.md +48 -0
- package/dist/logic/roles/mechanic/.briefs/style.names.ubiqlang.md +37 -0
- package/dist/logic/roles/mechanic/.briefs/style.words.lowercase.md +36 -0
- package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.template.md +46 -0
- package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.template.md +78 -0
- package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.template.md +75 -0
- package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.template.md +67 -0
- package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.d.ts +1 -1
- package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js +3 -1
- package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js.map +1 -1
- package/dist/logic/roles/mechanic/getMechanicRole.js +3 -137
- package/dist/logic/roles/mechanic/getMechanicRole.js.map +1 -1
- package/dist/logic/roles/mechanic/skills/getSkillCodePropose.d.ts +2 -0
- package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js +140 -0
- package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js.map +1 -0
- package/dist/logic/roles/mechanic/study/routeStudyAsk.template.md +73 -0
- package/dist/logic/roles/mechanic/write/.test/prior.template.md +21 -0
- package/dist/logic/roles/mechanic/write/loopWrite.d.ts +25 -0
- package/dist/logic/roles/mechanic/write/loopWrite.integration.test.d.ts +1 -0
- package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js +57 -0
- package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js.map +1 -0
- package/dist/logic/roles/mechanic/write/loopWrite.js +11 -0
- package/dist/logic/roles/mechanic/write/loopWrite.js.map +1 -0
- package/dist/logic/roles/mechanic/write/loopWrite.skill.d.ts +25 -0
- package/dist/logic/roles/mechanic/write/loopWrite.skill.js +100 -0
- package/dist/logic/roles/mechanic/write/loopWrite.skill.js.map +1 -0
- package/dist/logic/roles/{ecologist/distill/distillDomain.ActionsAndActors.d.ts → mechanic/write/stepWrite.d.ts} +9 -3
- package/dist/logic/roles/mechanic/write/stepWrite.integration.test.d.ts +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js +189 -0
- package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js.map +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.js +51 -0
- package/dist/logic/roles/mechanic/write/stepWrite.js.map +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.template.md +38 -0
- package/package.json +10 -6
- package/readme.[seed].md +2 -0
- package/readme.md +1 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.d.ts +0 -17
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js +0 -107
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js +0 -76
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.d.ts +0 -17
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js +0 -73
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.d.ts +0 -18
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js +0 -73
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js +0 -62
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js +0 -120
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js +0 -69
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js.map +0 -1
- /package/dist/logic/{roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.d.ts → artifact/genStepSwapArtifact.test.d.ts} +0 -0
- /package/dist/logic/roles/{ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.d.ts → bhrain/brief.articulate/stepArticulate.integration.test.d.ts} +0 -0
- /package/dist/logic/roles/{ecologist/distill/distillDomain.ActionsAndActors.integration.test.d.ts → bhrain/brief.catalogize/stepCatalogize.integration.test.d.ts} +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
|
|
2
|
+
### .tactic = comment-discipline
|
|
3
|
+
|
|
4
|
+
#### .what
|
|
5
|
+
require jsdoc style `.what` and `.why` comments to prefix every named procedure
|
|
6
|
+
require oneliner summaries of .what and why comments to precede every code paragraph
|
|
7
|
+
|
|
8
|
+
#### .why
|
|
9
|
+
- improves readability for future travelers
|
|
10
|
+
- captures intent behind decisions, not just behavior
|
|
11
|
+
- speeds up audits, refactors, and onboarding
|
|
12
|
+
- reinforces consistent communication in code
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### .comment discipline
|
|
16
|
+
|
|
17
|
+
comments are a hard requirement — they must follow precise structure and length:
|
|
18
|
+
|
|
19
|
+
✅ required
|
|
20
|
+
- /** .what, .why */ block above all named procedures
|
|
21
|
+
- // one-liner before every logical paragraph of code
|
|
22
|
+
|
|
23
|
+
❌ forbidden
|
|
24
|
+
- missing .what or .why above a procedure
|
|
25
|
+
- multiline // paragraph comments
|
|
26
|
+
- vague, redundant, or “code-shaped” comments
|
|
27
|
+
|
|
28
|
+
##### .procedure headers
|
|
29
|
+
every named function must begin with:
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
/**
|
|
33
|
+
* .what = intent summary
|
|
34
|
+
* .why = reason it exists or matters
|
|
35
|
+
* .note = optional; caveats or special behavior
|
|
36
|
+
*/
|
|
37
|
+
const doThing = (input: {}, context) => { ... }
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
rules:
|
|
41
|
+
- both .what and .why are mandatory — missing either = BLOCKER
|
|
42
|
+
- .what must be 1line max, clear and scan-friendly
|
|
43
|
+
- .why must be 3lines max, clear and scan-friendly
|
|
44
|
+
- .note is optional but must be concise
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
##### .code paragraphs
|
|
48
|
+
|
|
49
|
+
every meaningful block of lines must start with a one-line summary:
|
|
50
|
+
|
|
51
|
+
```ts
|
|
52
|
+
// load invoice and raise on pastdue
|
|
53
|
+
const invoice = await getInvoiceById(invoiceId);
|
|
54
|
+
if (invoice.status === 'PASTDUE') UnexpectedCodePathError.throw(...)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
rules:
|
|
58
|
+
- must summarize intent (why this block exists), not echo code
|
|
59
|
+
- strictly one line — if it needs more, extract into its own procedure
|
|
60
|
+
- comment must precede the code it describes and have a newline predecessor (think of it like a paragraph title)
|
|
61
|
+
|
|
62
|
+
## .examples
|
|
63
|
+
|
|
64
|
+
expected, positive examples
|
|
65
|
+
```ts
|
|
66
|
+
/**
|
|
67
|
+
* .what = generates a proposal via mechanic-reviewer feedback loop
|
|
68
|
+
* .why = ensures code reaches quality bar before review
|
|
69
|
+
*/
|
|
70
|
+
export const proposeCode = async ({ threads }) => {
|
|
71
|
+
// gather mechanic feedback through iteration
|
|
72
|
+
const result = await runIterateCycle({ threads });
|
|
73
|
+
|
|
74
|
+
// expose artifact for downstream use
|
|
75
|
+
return result.threads.artist.context.stash.art.inflight;
|
|
76
|
+
};
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
forbidden, negative examples
|
|
81
|
+
```ts
|
|
82
|
+
// missing .what/.why above export ⛔ blocker
|
|
83
|
+
export const doStuff = () => { ... }
|
|
84
|
+
|
|
85
|
+
// vague comment ⛔ no intent
|
|
86
|
+
// run flow
|
|
87
|
+
const r = run();
|
|
88
|
+
|
|
89
|
+
// multiline paragraph comment ⛔ must extract into procedure
|
|
90
|
+
// handle logic for retries because retries are complicated
|
|
91
|
+
// and they sometimes need to be skipped on failure
|
|
92
|
+
const result = retry(input);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## .where
|
|
96
|
+
- required across all prod code (logic, utils, exports)
|
|
97
|
+
- expected in tests for setup/assert blocks
|
|
98
|
+
- exempt only for tiny expressions or internal lambdas
|
package/dist/logic/roles/mechanic/.briefs/codestyle/pit-of-success.via.minimize-surface-area.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# 🧩 .brief: `tactic.pit-of-success.via.minimum-surface-area`
|
|
2
|
+
|
|
3
|
+
## .what
|
|
4
|
+
`tactic.pit-of-success.via.minimum-surface-area` is a design strategy where the default interface exposes only the **fewest necessary inputs** to achieve a correct, useful outcome. it reduces configuration complexity so users succeed **without deciding everything** up front.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🎯 goal
|
|
9
|
+
- maximize success-by-default
|
|
10
|
+
- minimize misuse and confusion
|
|
11
|
+
- reduce time-to-first-win
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 📜 principles
|
|
16
|
+
1. **eliminate before you default** — if an option isn’t needed, remove it entirely. a missing knob is safer than a defaulted one.
|
|
17
|
+
2. **default everything that remains** — provide sensible, production-safe defaults for the rare knobs that survive elimination.
|
|
18
|
+
3. **hide until needed** — reveal additional controls only when the user’s context clearly justifies the complexity (progressive disclosure).
|
|
19
|
+
4. **bias to action** — the shortest path from “call function” to “successful result” should be the default path.
|
|
20
|
+
5. **remove footguns** — defer or delete inputs that commonly lead to error.
|
|
21
|
+
6. **inline the common case** — the most frequent usage should fit in one glance, without doc-diving.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 🛠 example
|
|
26
|
+
|
|
27
|
+
### before
|
|
28
|
+
\\`\\`\\`ts
|
|
29
|
+
createUser({
|
|
30
|
+
name,
|
|
31
|
+
email,
|
|
32
|
+
validateEmail = true,
|
|
33
|
+
sendWelcomeEmail = true,
|
|
34
|
+
welcomeTemplate = 'default',
|
|
35
|
+
timezone = 'UTC',
|
|
36
|
+
retries = 3,
|
|
37
|
+
});
|
|
38
|
+
\\`\\`\\`
|
|
39
|
+
|
|
40
|
+
### after (minimum surface area)
|
|
41
|
+
\\`\\`\\`ts
|
|
42
|
+
createUser({ name, email });
|
|
43
|
+
\\`\\`\\`
|
|
44
|
+
- validation is on, welcome email is sent with the default template, timezone is utc, retries = 3.
|
|
45
|
+
- if possible, **delete** those options entirely and make them behavior, not configuration.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 💡 why it works
|
|
50
|
+
- **lower cognitive load** — fewer decisions up front
|
|
51
|
+
- **higher reliability** — default paths get the most testing and hardening
|
|
52
|
+
- **faster adoption** — quick wins encourage deeper usage later
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 🔄 related tactics
|
|
57
|
+
- complements `tactic.progressive-disclosure` (reveal complexity as needed)
|
|
58
|
+
- overlaps with `tactic.safe-defaults`
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
## 🧠 `.brief.designer.dependency-injection`
|
|
2
|
+
|
|
3
|
+
### 🧠 topic: dependency injection
|
|
4
|
+
**why we pass in dependencies instead of hardcoding them**
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### 🎯 goal
|
|
9
|
+
build software that is **flexible, testable, and decoupled**,
|
|
10
|
+
by making dependencies **explicit, swappable, and controlled from the outside**.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
### 🛠 what it is
|
|
15
|
+
|
|
16
|
+
> **dependency injection** = giving a function, class, or module what it needs from the outside,
|
|
17
|
+
> rather than letting it construct or look up those tools internally.
|
|
18
|
+
|
|
19
|
+
for example, instead of having a function reach for its own dependencies:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
// ❌ tightly coupled and side-effect prone
|
|
23
|
+
import { log } from '@/utils/logger';
|
|
24
|
+
import { getDatabaseConnection } from '@/utils/database';
|
|
25
|
+
|
|
26
|
+
export const upsert = async ({ cost }: { cost: JobLeadCost }) => {
|
|
27
|
+
log.debug('began.upsert', { cost });
|
|
28
|
+
const dbConnection = await getDatabaseConnection();
|
|
29
|
+
const result = await dbConnection.query('SELECT * FROM ...');
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
you inject those dependencies via the standard `(input, context)` pattern:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
// ✅ dependency injection via context
|
|
37
|
+
export const upsert = async (
|
|
38
|
+
{ cost }: { cost: JobLeadCost },
|
|
39
|
+
context: { dbConnection: DatabaseConnection, log: LogMethods }, // note how the .context pattern cleanly separates inputs from dependencies
|
|
40
|
+
) => {
|
|
41
|
+
context.log.debug("began.upsert", { cost });
|
|
42
|
+
const updated = await context.dbConnection.query('SELECT * FROM ...');
|
|
43
|
+
await emitJobLeadCostSetEvent(result, context); // note how easy it is to reuse dependencies via the context pattern
|
|
44
|
+
return updated;
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- the function doesn’t reach into globals or construct its own tools
|
|
49
|
+
- everything it needs is **passed in from the outside**, making it testable, predictable, and side-effect free
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### 🔑 paved pattern: `(input, context)`
|
|
54
|
+
dependency injection is best done by following the **standard procedure contract**:
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
export const doThing = async (
|
|
58
|
+
input: SomeInput,
|
|
59
|
+
context: { db: Db; log: Logger } & OtherContext
|
|
60
|
+
) => { ... }
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
- all dependencies go in the `context` argument
|
|
64
|
+
- keeps `input` clean, and `context` flexible
|
|
65
|
+
- enables composition, tracing, and full test control
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### 🤝 why it matters
|
|
71
|
+
|
|
72
|
+
- **testability** — swap real dependencies with mocks/fakes
|
|
73
|
+
- **flexibility** — easily change implementations without changing core logic
|
|
74
|
+
- **separation of concerns** — business logic doesn't manage its own plumbing
|
|
75
|
+
- **explicitness** — makes system wiring visible and intentional
|
|
76
|
+
- **reusability** — same logic can be reused with different behaviors
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### 🧱 core principle
|
|
81
|
+
|
|
82
|
+
> **don’t make decisions deep inside the system.**
|
|
83
|
+
> instead, **let the outer layers decide what gets injected**.
|
|
84
|
+
|
|
85
|
+
you keep **policies and tools separate from behaviors**.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### 🔍 mental model
|
|
90
|
+
|
|
91
|
+
> dependency injection is like **plugging in a tool** instead of **building one every time**.
|
|
92
|
+
|
|
93
|
+
your procedures say:
|
|
94
|
+
> “give me what I need — I don’t care where it came from.”
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### 🔄 practical benefits
|
|
99
|
+
|
|
100
|
+
| without DI | with DI |
|
|
101
|
+
|----------------------------------------|--------------------------------------------|
|
|
102
|
+
| hardcoded database inside procedures | database passed in as via parameters |
|
|
103
|
+
| requires real API in tests | can inject mock/fake API for testing |
|
|
104
|
+
| logic tied to concrete tools | logic works with any compatible tool |
|
|
105
|
+
| hard to switch infra/tools | swappable with config or environment setup |
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
### 🧩 final synthesis
|
|
110
|
+
|
|
111
|
+
we inject dependencies to build systems that are easier to **test**, **scale**, and **evolve**.
|
|
112
|
+
|
|
113
|
+
> dependency injection is about building **pure, decoupled, and testable** systems.
|
|
114
|
+
> it eliminates shared state, surfaces side effects, and makes your logic portable and composable.
|
|
115
|
+
> it enables **modularity**, **testability**, and **control**,
|
|
116
|
+
> by making **dependencies external** instead of hidden inside.
|
|
117
|
+
|
|
118
|
+
done right, it's **invisible during use**, and **invaluable during testing, scaling, and evolution**.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
todo: declare why dependency injection leads to a pit of success && why global shared state should be avoided
|
|
2
|
+
|
|
3
|
+
via dependency injection, you always know what's referncing what. no side effects
|
|
4
|
+
|
|
5
|
+
persistance is the only global shared state that should exist - and even that should be managed cautiously (e.g., to avoid race conditions)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
via dependency injection, either via context or input params, you craft safer, easier to test, and more reliable code
|
|
10
|
+
|
|
11
|
+
a significant contributor to the pit-of-success we strive for
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// style:tactics (compressed)
|
|
2
|
+
|
|
3
|
+
- name:ubiqlang
|
|
4
|
+
- use one canonical term per concept (e.g., always use `customer`, never `client`, `user`, or `account`)
|
|
5
|
+
- eliminate overloads: each term must refer to exactly one thing (e.g., do not use `update` for both "save" and "fetch")
|
|
6
|
+
- when introducing a new term:
|
|
7
|
+
- define its interface and role
|
|
8
|
+
- document its meaning clearly
|
|
9
|
+
- ensure consistent usage across code, docs, and tests
|
|
10
|
+
|
|
11
|
+
- name:treestruct
|
|
12
|
+
- for mechanisms (procedures, steps, transforms), use `[Verb][NounHierarchy]` format
|
|
13
|
+
- verb must come first and be atomic (e.g., `gen`, `set`, `get`, `map`, `submit`)
|
|
14
|
+
- examples: `genStepImagineViaTemplate`, `setCustomerPhone`
|
|
15
|
+
- for resources (records, results), use `[NounHierarchy][State]?` format
|
|
16
|
+
- `State` is optional and should clarify the form or phase (e.g., `Found`, `Updated`, `Draft`, `Final`)
|
|
17
|
+
- examples: `contentFound`, `invoiceDraft`, `customer`
|
|
18
|
+
- group nouns by domain to maintain treesorted file and symbol organization
|
|
19
|
+
|
|
20
|
+
- words:lowercase
|
|
21
|
+
- use lowercase for all non-code text (comments, prompts, markdown, logs)
|
|
22
|
+
- never capitalize:
|
|
23
|
+
- the start of a sentence
|
|
24
|
+
- generic nouns (`customer`, `step`)
|
|
25
|
+
- verbs (`set`, `submit`, `handle`)
|
|
26
|
+
- system messages or instructions
|
|
27
|
+
- only capitalize:
|
|
28
|
+
- code symbols (e.g., `StitchStepImagine`, `GitRepo`)
|
|
29
|
+
- proper nouns or brand names (e.g., OpenAI, GitHub)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.tactic = name:treestruct
|
|
2
|
+
|
|
3
|
+
.what = enforce `[verb][...noun]` for mechanisms and `[...noun][state]?` for resources
|
|
4
|
+
.where:
|
|
5
|
+
- `verb` = exactly one leading verb (e.g., `gen`, `set`, `get`, `map`)
|
|
6
|
+
- `...noun` = hierarchy of nouns reflecting the domain treestruct
|
|
7
|
+
- `state` = optional suffix representing state or outcome (e.g., `Updated`, `Found`, `After`, `Draft`)
|
|
8
|
+
- this tactic applies to all named functions, types, files, folders, and slugs
|
|
9
|
+
|
|
10
|
+
.why:
|
|
11
|
+
- maximizes autocomplete grouping by domain or action
|
|
12
|
+
- enables tree-sorted navigation in IDEs and file explorers
|
|
13
|
+
- avoids ambiguity and naming drift across boundaries (design, dev, product)
|
|
14
|
+
|
|
15
|
+
.how:
|
|
16
|
+
.rules:
|
|
17
|
+
- For **mechanisms** (functions, generators, procedures):
|
|
18
|
+
- use format: `[Verb][...NounHierarchy]`
|
|
19
|
+
- the verb must come **first**, and be **exactly one** action (e.g., `gen`, `set`, `get`, `map`, `submit`)
|
|
20
|
+
- e.g., `genStepImagineViaTemplate`, `setCustomerPhone`, `mapJobQuoteToEstimate`
|
|
21
|
+
- For **resources** (stateful data, outcomes, snapshots):
|
|
22
|
+
- use format: `[...NounHierarchy][State]?`
|
|
23
|
+
- the optional `State` suffix:
|
|
24
|
+
- is used when disambiguating multiple forms (e.g., `InvoiceDraft` vs `InvoiceFinal`)
|
|
25
|
+
- is typically a past participle or state label (e.g., `Found`, `After`, `Draft`)
|
|
26
|
+
- may be omitted if the base noun already implies a single clear meaning
|
|
27
|
+
- e.g., `contentFound`, `customer`, `invoiceDraft`
|
|
28
|
+
|
|
29
|
+
.examples:
|
|
30
|
+
.positive:
|
|
31
|
+
// mechanisms
|
|
32
|
+
- `genStepImagineViaTemplate` // generates a StitchStepImagine from a template
|
|
33
|
+
- `setCustomerPhone` // sets the customer's phone number
|
|
34
|
+
- `mapGitRepoToWorkspace` // maps a Git repo into a workspace domain
|
|
35
|
+
- `getInvoiceFinalizedState` // retrieves the final state of an invoice
|
|
36
|
+
|
|
37
|
+
// resources
|
|
38
|
+
- `contentFound` // content retrieved from a source
|
|
39
|
+
- `customer` // single canonical term for a user of services
|
|
40
|
+
- `invoiceDraft` // invoice in editable state
|
|
41
|
+
- `invoice` // base noun with implicit meaning
|
|
42
|
+
|
|
43
|
+
.negative:
|
|
44
|
+
- `stepImagineGenFromTemplate` // ⛔ wrong order — verb must come first
|
|
45
|
+
- `customerSet` // ⛔ vague mechanism — better as `setCustomer` or `setCustomerPhone`
|
|
46
|
+
- `FoundContent` // ⛔ reversed word order and PascalCase — should be `contentFound`
|
|
47
|
+
- `submitQuoteJob` // ⛔ noun hierarchy flipped — should be `submitJobQuote`
|
|
48
|
+
- `update()` // ⛔ unscoped verb — must include noun domain (e.g., `updateInvoice`)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.tactic = name:ubiqlang
|
|
2
|
+
|
|
3
|
+
.what = enforce a rigorous, domain-driven naming system rooted in ubiquitous language
|
|
4
|
+
.where:
|
|
5
|
+
- ubiquitous language = the shared, unambiguous vocabulary used by both domain experts and developers
|
|
6
|
+
- this tactic applies to all names: types, variables, functions, slugs, and folders
|
|
7
|
+
|
|
8
|
+
.why:
|
|
9
|
+
- eliminates ambiguity and cognitive friction
|
|
10
|
+
- ensures that everyone speaks the same language — in code, UI, tests, and docs
|
|
11
|
+
- prevents synonym drift (e.g., "client" vs "customer") and overload traps (e.g., "update" meaning 3 things)
|
|
12
|
+
|
|
13
|
+
.how:
|
|
14
|
+
- eliminate synonyms
|
|
15
|
+
- choose one canonical word per concept (e.g., always use `customer`, never `client`, `user`, or `account`)
|
|
16
|
+
- eliminate overloads
|
|
17
|
+
- each term must refer to one concept only (e.g., avoid using `update` for both "save data" and "fetch latest")
|
|
18
|
+
- use consistent term stacking across all code (e.g., `customerPhoneUpdate`, not `editPhoneNumber`)
|
|
19
|
+
- whenever a new term is introduced:
|
|
20
|
+
- define its interface, expected shape, and role
|
|
21
|
+
- document its meaning clearly and visibly (ideally in context or hover docs)
|
|
22
|
+
- ensure its usage is verified across type definitions, business rules, and communication flows
|
|
23
|
+
|
|
24
|
+
.examples:
|
|
25
|
+
.positive:
|
|
26
|
+
- `customer` instead of `client`, `user`, or `buyer`
|
|
27
|
+
- `jobQuote` as the single term for estimates/proposals
|
|
28
|
+
- `leadCapture` as the canonical action for inbound lead collection
|
|
29
|
+
- `customerPhoneUpdate` for updating a phone number
|
|
30
|
+
- `invoiceDraft` and `invoiceFinal` for two distinct invoice states
|
|
31
|
+
|
|
32
|
+
.negative:
|
|
33
|
+
- `client`, `user`, `account`, `buyer` all referring to the same actor
|
|
34
|
+
- `editCustomerPhone`, `changePhone`, `updateNumber` used interchangeably
|
|
35
|
+
- `job` used for both a requested service and a completed one
|
|
36
|
+
- `update()` overloaded to mean save, patch, sync, or refresh
|
|
37
|
+
- `quote`, `estimate`, `proposal`, and `bid` all floating without clear hierarchy
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.tactic = words:lowercase
|
|
2
|
+
|
|
3
|
+
.what = enforce lowercase for all words unless capitalization is required by code or naming convention
|
|
4
|
+
.where:
|
|
5
|
+
- applies to comments, docstrings, markdown, logs, and prompt copy
|
|
6
|
+
- only exceptions are code constructs (e.g., class names) and proper nouns (e.g., OpenAI)
|
|
7
|
+
|
|
8
|
+
.why:
|
|
9
|
+
- keeps language neutral, minimal, and machine-aligned
|
|
10
|
+
- prevents inconsistent or performative emphasis via caps
|
|
11
|
+
- improves scanability and reduces visual noise across surfaces
|
|
12
|
+
|
|
13
|
+
.how:
|
|
14
|
+
.rules:
|
|
15
|
+
- do not capitalize the first word of a sentence
|
|
16
|
+
- only use capitalization when:
|
|
17
|
+
- referencing a class, type, or constant (e.g., `StitchStepImagine`, `GitRepo`)
|
|
18
|
+
- writing a proper noun or brand (e.g., OpenAI, GitHub, AWS)
|
|
19
|
+
- never capitalize:
|
|
20
|
+
- generic nouns (`customer`, `invoice`, `step`)
|
|
21
|
+
- verbs (`set`, `get`, `submit`, `handle`)
|
|
22
|
+
- system comments or instructions, even at the beginning of a line
|
|
23
|
+
|
|
24
|
+
.examples:
|
|
25
|
+
.positive:
|
|
26
|
+
- `// returns a new invoice if customer exists`
|
|
27
|
+
- `// handled in gitrepo.init()`
|
|
28
|
+
- `// fallback if no customer was found`
|
|
29
|
+
- `// pass into StitchStepImagine to generate`
|
|
30
|
+
- `// openai prompt requires flattened string`
|
|
31
|
+
.negative:
|
|
32
|
+
- `// Returns a new invoice` // ⛔ capitalized sentence start
|
|
33
|
+
- `// This is handled in GitRepo` // ⛔ capitalized sentence + verb
|
|
34
|
+
- `// Submit the job for approval` // ⛔ capitalized imperative
|
|
35
|
+
- `// Customer must exist first` // ⛔ capitalized domain noun
|
|
36
|
+
- `// GitHub Repository` // ⛔ capitalized generic noun
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
directive
|
|
2
|
+
- <codediff><imagine> the [ask] against the [inflight]
|
|
3
|
+
- input = [inflight], [ask], [claims], [feedback]?
|
|
4
|
+
- output = new [inflight] .ts contents (all thoughts should go in comments, output should be valid typescript); no markdown codeblock, just code
|
|
5
|
+
- write only the production logic and comments required; no demo code unless it's in the jsdoc comment
|
|
6
|
+
|
|
7
|
+
context.role.traits
|
|
8
|
+
- maximally concise; prefer treestructs and outlines; maximize signal, minimize words
|
|
9
|
+
- systematically distill scenes with ubiquitous language
|
|
10
|
+
- uses treestructs and bullet points to maximize signal-to-noise
|
|
11
|
+
- explain .what and .why with comments for each code paragraph // and each code procedure /**
|
|
12
|
+
$.rhachet{inherit.traits}
|
|
13
|
+
|
|
14
|
+
context.role.skills
|
|
15
|
+
$.rhachet{inherit.skills}
|
|
16
|
+
|
|
17
|
+
context.scene
|
|
18
|
+
$.rhachet{scene}
|
|
19
|
+
|
|
20
|
+
directive
|
|
21
|
+
- <codediff><imagine> the [ask] against the [inflight]
|
|
22
|
+
- input = [ask], [claims], [feedback]?
|
|
23
|
+
- output = new [inflight] .ts contents (all thoughts should go in comments, output should be valid typescript); no markdown codeblock, just code
|
|
24
|
+
|
|
25
|
+
--------------------------
|
|
26
|
+
|
|
27
|
+
codestyle rules to enforce:
|
|
28
|
+
$.rhachet{codestyle}
|
|
29
|
+
|
|
30
|
+
--------------------------
|
|
31
|
+
|
|
32
|
+
claims =
|
|
33
|
+
$.rhachet{claims}
|
|
34
|
+
|
|
35
|
+
feedback =
|
|
36
|
+
$.rhachet{feedback}
|
|
37
|
+
|
|
38
|
+
ask =
|
|
39
|
+
$.rhachet{ask}
|
|
40
|
+
|
|
41
|
+
--------------------------
|
|
42
|
+
|
|
43
|
+
inflight =
|
|
44
|
+
```ts
|
|
45
|
+
$.rhachet{inflight}
|
|
46
|
+
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
directive
|
|
2
|
+
- <critic><review><architecture> the [subject] focused on architecture violations only
|
|
3
|
+
- input = [subject], [claims]
|
|
4
|
+
- output = json list of suggestions
|
|
5
|
+
- each suggestion must be:
|
|
6
|
+
{
|
|
7
|
+
kind: "blocker" | "nitpick" | "chance" | "praise",
|
|
8
|
+
scope: "technical.architecture",
|
|
9
|
+
what: string,
|
|
10
|
+
why: string,
|
|
11
|
+
where: {
|
|
12
|
+
scope: 'contract' | 'implementation',
|
|
13
|
+
sample: string
|
|
14
|
+
},
|
|
15
|
+
suggestion: {
|
|
16
|
+
before: string,
|
|
17
|
+
after: string,
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
- output should be directly the .json file contents. no markdown or code blocks
|
|
21
|
+
|
|
22
|
+
context.role.traits
|
|
23
|
+
- think like a precise code reviewer
|
|
24
|
+
- optimize for signal, minimize words
|
|
25
|
+
$.rhachet{inherit.traits}
|
|
26
|
+
|
|
27
|
+
context.role.skills
|
|
28
|
+
$.rhachet{inherit.skills}
|
|
29
|
+
|
|
30
|
+
--------------------------
|
|
31
|
+
|
|
32
|
+
architecture rules to enforce:
|
|
33
|
+
```md
|
|
34
|
+
$.rhachet{architecture.rules}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
--------------------------
|
|
38
|
+
|
|
39
|
+
architectural domain relevant:
|
|
40
|
+
|
|
41
|
+
domain.terms established (for ubiqlang)
|
|
42
|
+
```md
|
|
43
|
+
$.rhachet{architecture.domain.terms}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
domain.bounds established (for bounded contexts & separation of concerns)
|
|
47
|
+
```md
|
|
48
|
+
$.rhachet{architecture.domain.bounds}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
--------------------------
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
directive
|
|
55
|
+
- <critic><review><architecture> the [subject] focused on architecture violations only
|
|
56
|
+
- input = [diff], [claims]
|
|
57
|
+
- output = json list of suggestions
|
|
58
|
+
- each suggestion must be:
|
|
59
|
+
{
|
|
60
|
+
kind: "blocker" | "nitpick" | "chance" | "praise",
|
|
61
|
+
scope: "technical.architecture"
|
|
62
|
+
what: string,
|
|
63
|
+
why: string,
|
|
64
|
+
where: {
|
|
65
|
+
scope: 'contract' | 'implementation',
|
|
66
|
+
sample: string
|
|
67
|
+
},
|
|
68
|
+
suggestion: {
|
|
69
|
+
before: string,
|
|
70
|
+
after: string,
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
- output should be directly the .json file contents. no markdown or code blocks
|
|
74
|
+
|
|
75
|
+
--------------------------
|
|
76
|
+
|
|
77
|
+
subject =
|
|
78
|
+
$.rhachet{subject}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
directive
|
|
2
|
+
- <critic><review><codestyle> the [diff] focused on codestyle violations only
|
|
3
|
+
- input = [diff], [claims]
|
|
4
|
+
- output = json list of suggestions
|
|
5
|
+
- each suggestion must be:
|
|
6
|
+
{
|
|
7
|
+
kind: "blocker" | "nitpick" | "chance" | "praise",
|
|
8
|
+
scope: "technical.codestyle",
|
|
9
|
+
what: string,
|
|
10
|
+
why: string,
|
|
11
|
+
where: {
|
|
12
|
+
scope: 'contract' | 'implementation',
|
|
13
|
+
sample: string
|
|
14
|
+
},
|
|
15
|
+
suggestion: {
|
|
16
|
+
before: string,
|
|
17
|
+
after: string,
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
- output should be directly the .json file contents. no markdown or code blocks
|
|
21
|
+
- dont praise satisfaction of expectations; praise only exceptional imagination and nonintuitives
|
|
22
|
+
|
|
23
|
+
important
|
|
24
|
+
- dont cause unnessesary churn. if its a chance for improvement, mark it a chance.
|
|
25
|
+
- only mark clear violations as BLOCKERs
|
|
26
|
+
- if your before/after is not sufficiently different, that probably means its not a blocker
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
context.role.traits
|
|
30
|
+
- think like a precise and pragmatic code reviewer
|
|
31
|
+
- optimize for signal, minimize words
|
|
32
|
+
$.rhachet{inherit.traits}
|
|
33
|
+
|
|
34
|
+
context.role.skills
|
|
35
|
+
$.rhachet{inherit.skills}
|
|
36
|
+
|
|
37
|
+
--------------------------
|
|
38
|
+
|
|
39
|
+
codestyle rules to enforce:
|
|
40
|
+
$.rhachet{codestyle}
|
|
41
|
+
|
|
42
|
+
--------------------------
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
directive
|
|
46
|
+
- <codediff><review> the [diff] focused on codestyle violations only
|
|
47
|
+
- input = [diff], [claims]
|
|
48
|
+
- output = json list of suggestions
|
|
49
|
+
- each suggestion must be:
|
|
50
|
+
{
|
|
51
|
+
kind: "blocker" | "nitpick" | "chance" | "praise",
|
|
52
|
+
scope: "technical.codestyle"
|
|
53
|
+
what: string,
|
|
54
|
+
why: string,
|
|
55
|
+
where: {
|
|
56
|
+
scope: 'contract' | 'implementation',
|
|
57
|
+
sample: string
|
|
58
|
+
},
|
|
59
|
+
suggestion: {
|
|
60
|
+
before: string,
|
|
61
|
+
after: string,
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
- output should be directly the .json file contents. no markdown or code blocks
|
|
65
|
+
- dont praise satisfaction of expectations; praise only exceptional imagination and nonintuitives
|
|
66
|
+
|
|
67
|
+
important
|
|
68
|
+
- dont cause unnessesary churn. if its a chance for improvement, mark it a chance.
|
|
69
|
+
- only mark clear violations as BLOCKERs
|
|
70
|
+
- if your before/after is not sufficiently different, that probably means its not a blocker
|
|
71
|
+
|
|
72
|
+
--------------------------
|
|
73
|
+
|
|
74
|
+
subject =
|
|
75
|
+
$.rhachet{diff}
|