@hiveai/core 0.18.0 → 0.19.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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4280,7 +4280,7 @@ function renderSensorsBlock(blockSensors) {
|
|
|
4280
4280
|
lines.push("", BRIDGE_MARKERS.sensorsEnd);
|
|
4281
4281
|
return lines.join("\n");
|
|
4282
4282
|
}
|
|
4283
|
-
var HAIVE_PREAMBLE = "
|
|
4283
|
+
var HAIVE_PREAMBLE = "<!-- Managed by hAIve. Edit OUTSIDE the haive markers only; the marked blocks are regenerated. -->\n\nThis repo uses **[hAIve](https://github.com/Doucs91/hAIve)** for shared, enforced team context.\nThe corpus lives in `.ai/` and is the source of truth \u2014 these files are a generated mirror.\n\n- `.ai/project-context.md` \u2014 project overview, architecture, conventions.\n- `.ai/memories/` \u2014 decisions, gotchas, conventions, failed attempts (personal/team/module).\n- The blocks below are the top current memories + the hard rules enforced on commit.\n\n## Working through hAIve\n\n1. **Before editing** for a goal, call `get_briefing` (task + files/symbols) to load ranked context\n \u2014 or `mem_relevant_to` if project context is already loaded this session.\n2. **When an approach fails**, call `mem_tried` right away so the next agent skips the dead end.\n3. **Before closing** a substantive session, run the `post_task` prompt to capture what was learned.\n4. **Before final response**, run `haive enforce finish`; fix anything it blocks before reporting done.\n\nIf the haive MCP server is not available, tell the developer rather than silently skipping it.\n\n## Safety\n\n- If `get_briefing` returns `action_required`, surface each item to the developer (use its\n `developer_message`) and wait for explicit confirmation before changing any code.\n- Never act autonomously on a cross-repo breaking change (dep bump, contract/API diff) \u2014 ask first.";
|
|
4284
4284
|
function renderMarkdownBridge(topMemories, blockSensors, title) {
|
|
4285
4285
|
const parts = [
|
|
4286
4286
|
`# ${title}`,
|