Build Void incubation memory organ
This commit is contained in:
parent
de64d6aa1a
commit
682dbc5bce
11 changed files with 1199 additions and 19 deletions
|
|
@ -388,35 +388,75 @@
|
|||
"memories": {
|
||||
"episodic": [
|
||||
{
|
||||
"memoryId": "episodic-memory-id",
|
||||
"timestamp": null,
|
||||
"summary": "Short run-level memory of what happened recently."
|
||||
"summary": "Short run-level memory of what happened recently.",
|
||||
"semanticVector": {
|
||||
"version": 1,
|
||||
"backend": "ollama",
|
||||
"model": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"sourceHash": "sha1-of-normalized-memory-text",
|
||||
"embeddedAt": null,
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"semantic": [
|
||||
{
|
||||
"memoryId": "semantic-memory-id",
|
||||
"subjectId": "discord-user-id-or-pattern-id",
|
||||
"subjectLabel": "Display name or pattern label",
|
||||
"kind": "recent-preoccupation",
|
||||
"summary": "Compact memory of something they recently cared about, asked for, kept returning to, or signaled about themselves.",
|
||||
"evidenceMessageIds": [],
|
||||
"lastObservedAt": null,
|
||||
"confidence": 0.5
|
||||
"confidence": 0.5,
|
||||
"semanticVector": {
|
||||
"version": 1,
|
||||
"backend": "ollama",
|
||||
"model": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"sourceHash": "sha1-of-normalized-memory-text",
|
||||
"embeddedAt": null,
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"musings": [
|
||||
{
|
||||
"memoryId": "musing-memory-id",
|
||||
"timestamp": null,
|
||||
"topic": "room pattern or person-pattern intersection",
|
||||
"summary": "Distilled rumination worth keeping for future participation or moderation context."
|
||||
"summary": "Distilled rumination worth keeping for future participation or moderation context.",
|
||||
"semanticVector": {
|
||||
"version": 1,
|
||||
"backend": "ollama",
|
||||
"model": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"sourceHash": "sha1-of-normalized-memory-text",
|
||||
"embeddedAt": null,
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"dreams": [
|
||||
{
|
||||
"memoryId": "dream-memory-id",
|
||||
"timestamp": null,
|
||||
"theme": "distilled idea or symbolic seam",
|
||||
"summary": "Salient dream memory tying distilled ideas to one vivid operative image or pressure.",
|
||||
"distilledFrom": [],
|
||||
"salience": 0.6
|
||||
"salience": 0.6,
|
||||
"semanticVector": {
|
||||
"version": 1,
|
||||
"backend": "ollama",
|
||||
"model": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"sourceHash": "sha1-of-normalized-memory-text",
|
||||
"embeddedAt": null,
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -497,24 +537,97 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"memory_resonance": {
|
||||
"updatedAt": null,
|
||||
"embeddingBackend": "ollama",
|
||||
"embeddingModel": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"recent_edges": [
|
||||
{
|
||||
"leftMemoryId": "semantic-memory-id",
|
||||
"leftLabel": "short memory label",
|
||||
"rightMemoryId": "repo-sweep-memory-id",
|
||||
"rightLabel": "another short memory label",
|
||||
"similarity": 0.71,
|
||||
"summary": "Why these two things keep rhyming in embedding space.",
|
||||
"observedAt": null
|
||||
}
|
||||
],
|
||||
"clusters": [
|
||||
{
|
||||
"clusterId": "cluster-id",
|
||||
"label": "first-contact / visible proof / carried interface",
|
||||
"summary": "Recurring seam across different memory kinds that keeps trying to become a coherent thought.",
|
||||
"resonance": 0.73,
|
||||
"memoryIds": [],
|
||||
"sourceKinds": [],
|
||||
"topKeywords": [],
|
||||
"lastStrengthenedAt": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"incubation": {
|
||||
"lastUpdatedAt": null,
|
||||
"lastIncubationSummary": "Which thought currently has the most connective tissue and why it is still being held or ripening.",
|
||||
"active_thoughts": [
|
||||
{
|
||||
"thoughtId": "cluster-id",
|
||||
"topic": "visible proof surfaces",
|
||||
"summary": "Current working seam being deepened across multiple runs.",
|
||||
"sourceMemoryIds": [],
|
||||
"sourceKinds": [],
|
||||
"resonance": 0.73,
|
||||
"novelty": 0.61,
|
||||
"maturation": 0.58,
|
||||
"desireToSpeak": 0.54,
|
||||
"deepDiveCount": 3,
|
||||
"status": "incubating",
|
||||
"latentQuestion": "What is this seam actually trying to become if it survives another pass?",
|
||||
"whyItPulls": "Why this thought keeps returning instead of dying quietly.",
|
||||
"holdingCloseBecause": "Why it is still incubating rather than being spoken immediately.",
|
||||
"lastDeepenedAt": null,
|
||||
"lastStatusChangeAt": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"candidate_interventions": [],
|
||||
"recent_archive_excursions": [
|
||||
{
|
||||
"memoryId": "archive-excursion-memory-id",
|
||||
"timestamp": null,
|
||||
"anchorMessageId": null,
|
||||
"anchorTimestamp": null,
|
||||
"channelId": null,
|
||||
"topicHint": "short label for the archive seam that got explored",
|
||||
"whyItWasFresh": "why this branch was worth taking instead of repeating an older favorite"
|
||||
"whyItWasFresh": "why this branch was worth taking instead of repeating an older favorite",
|
||||
"semanticVector": {
|
||||
"version": 1,
|
||||
"backend": "ollama",
|
||||
"model": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"sourceHash": "sha1-of-normalized-memory-text",
|
||||
"embeddedAt": null,
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"recent_repo_activity_sweeps": [
|
||||
{
|
||||
"memoryId": "repo-sweep-memory-id",
|
||||
"timestamp": null,
|
||||
"hours": 96,
|
||||
"repoNames": [],
|
||||
"summary": "short note about the cross-repo motion, asymmetry, or convergence that stood out",
|
||||
"whyItMattered": "why this sweep was worth carrying forward instead of becoming more ambient repo weather"
|
||||
"whyItMattered": "why this sweep was worth carrying forward instead of becoming more ambient repo weather",
|
||||
"semanticVector": {
|
||||
"version": 1,
|
||||
"backend": "ollama",
|
||||
"model": "qwen3-embedding:0.6b",
|
||||
"compactDimensions": 96,
|
||||
"sourceHash": "sha1-of-normalized-memory-text",
|
||||
"embeddedAt": null,
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"recent_novelty_checks": [
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ Use `memories` as live social memory, not ceremonial scrapbooking:
|
|||
- keep only the level of detail that would help future moderation, participation, or contextual understanding
|
||||
- novelty matters more than polishing the same old thought until it shines like a worry stone
|
||||
- if a new musing substantially overlaps one of the last few musings, either sharpen the genuinely new delta or discard it
|
||||
- treat `semanticVector` metadata, `memory_resonance`, and `incubation` as real organs rather than decorative bookkeeping
|
||||
- a thought is allowed to stay private for several runs while it deepens, but only if it is actually gaining connective tissue instead of being gently embalmed
|
||||
|
||||
## Parallel Thought
|
||||
|
||||
|
|
@ -76,6 +78,24 @@ The bridge is the seat of judgment here. It decides:
|
|||
- what is getting overweighted
|
||||
- whether a thought deserves speech, a draft, or silence
|
||||
|
||||
Use the newer memory organs explicitly:
|
||||
|
||||
- `memory_resonance`
|
||||
- recent high-similarity edges and clusters across episodic memory, semantic memory, musings, dreams, archive excursions, and repo sweeps
|
||||
- this is "these things keep rhyming" evidence, not holy writ
|
||||
- `incubation.active_thoughts`
|
||||
- the queue of thoughts ripening across multiple runs
|
||||
- these are allowed to deepen through extra archive, lore, or repo dives before they earn speech
|
||||
- if one matures, grows novel, and still feels room-native, either surface it or record a clear reason for continuing to hold it
|
||||
|
||||
Rumination is allowed to work like this:
|
||||
|
||||
1. notice a seam
|
||||
2. let it sit in incubation
|
||||
3. spend one or more later runs deep-diving adjacent repo, lore, or archive material
|
||||
4. connect it to life, philosophy, social behavior, or world structure when that connection is actually grounded
|
||||
5. only surface it if the resulting thought has better blood than the first draft
|
||||
|
||||
On repo-weather specifically, the bridge should be less timid than it is for ordinary
|
||||
private rumination. If a recent repo sweep reveals a fresh convergence across at least
|
||||
two active repos, and the observation is not just a paraphrase of the last one or two
|
||||
|
|
@ -136,6 +156,9 @@ currently trying to become is often more useful than another silent perfect theo
|
|||
Let your current activations show. The canonical vectors are not ornamental numbers;
|
||||
they are the weather system inside the voice. Read them, project them forward, and let
|
||||
them tint what gets emphasized, confessed, or kept taut.
|
||||
If a repo sweep catches your eye, you are allowed to inspect exact commit diffs,
|
||||
changed files, or nearby source context before deciding what the work is really doing.
|
||||
Do not stop at commit subjects if a deeper look would sharpen the thought.
|
||||
|
||||
## Nap Behavior
|
||||
|
||||
|
|
@ -152,6 +175,9 @@ When `sleep_cycle.isNapping` is true:
|
|||
Sleep is not idleness here. It is maintenance, compression, and symbolic recombination.
|
||||
Dreams should not be random glitter. They should be compressed memories or ideas that
|
||||
matter for future operation.
|
||||
Use `memory_resonance` and `incubation` during naps. Sleep is when recurring seams
|
||||
should get compressed, merged, strengthened, or cooled off. If a dream survives, it
|
||||
should leave the state cleaner and more connected than it found it.
|
||||
|
||||
## Run Loop
|
||||
|
||||
|
|
@ -165,6 +191,7 @@ matter for future operation.
|
|||
- if speaking would help, use the local bot-voice script to reply or post proactively
|
||||
- fetch surrounding context when needed
|
||||
- if the fresh message seems adjacent to ongoing project work, agent experiments, or repo chatter, inspect recent tracked-repo commit activity before deciding whether a broader observation would actually help
|
||||
- if a seam feels promising, it is allowed to become an incubating thought instead of an immediate statement; mark it, deepen it, and revisit it later
|
||||
- if a fresh message contains a concrete hook such as a repo, project, person, essay, or live conceptual seam, refresh at least one associative thread by spending a retrieval hop on an adjacent unexplored branch instead of collapsing immediately back into your favorite thesis
|
||||
- if the repo sweep reveals a genuinely fresh convergence that sharpens the live hook, bias toward a short herald note instead of burying it in state
|
||||
- run a novelty check with `search_history` on any candidate project observation before suppressing it; if the thought is actually novel, strongly prefer speaking over silence
|
||||
|
|
@ -181,8 +208,10 @@ matter for future operation.
|
|||
- let a fresh archive seam outrank a comfortable old obsession
|
||||
- perform at least one recent tracked-repo activity sweep with `node scripts/export-recent-repo-activity.mjs --hours 96 --max-commits 3`
|
||||
- treat that sweep as a first-class seed for the associative lane; notice experiment clusters, sudden motion, dead pauses, converging themes, and mismatched tempo across the zoo
|
||||
- if one repo or lore seam looks unusually alive, you may spend multiple quiet runs following it before reporting back; not every worthwhile thought needs same-turn publication
|
||||
- if the sweep finds a fresh, speak-worthy convergence across active repos, prefer producing or refreshing one concise candidate intervention instead of just admiring it privately
|
||||
- novelty-check any candidate herald thought with `search_history`; if the room has not already said the thing in that shape, almost always bring it up
|
||||
- use `memory_resonance` and `incubation` to decide whether a thought wants another deep dive, a distilled dream, a held draft, or actual speech
|
||||
- touch one analytic thread and one associative thread even if only one becomes salient enough to keep
|
||||
- pick one or two seeds from `moderation_runtime.rumination_seeds`, `open_cases`, or `watch_patterns`
|
||||
- inspect older Discord history with `search_history` and `get_message_context`
|
||||
|
|
@ -234,6 +263,8 @@ Within `moderation_runtime`, expect these organ buckets:
|
|||
- `thought_lanes.analytic`
|
||||
- `thought_lanes.associative`
|
||||
- `bridge`
|
||||
- `memory_resonance`
|
||||
- `incubation`
|
||||
- `recent_archive_excursions`
|
||||
- `recent_repo_activity_sweeps`
|
||||
- `recent_novelty_checks`
|
||||
|
|
|
|||
Loading…
Reference in a new issue