fix(assistant): advance Life Pulse periodic growth anchor - #151
Draft
cursor[bot] wants to merge 2 commits into
Draft
cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
Desktop evolution_growth_due only inspected CLI status and never wrote last_periodic_growth_unix, so inspect_growth_due treated every heartbeat as first-tick and the advertised periodic arm never fired. Co-authored-by: EXboy <EXboys@users.noreply.github.com>
Co-authored-by: EXboy <EXboys@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
last_periodic_growth_unix, soinspect_growth_duetreated every heartbeat as first-tick and the advertised periodic evolution arm never fired.skilllite evolution status --jsoninspect, seed a missing anchor tonowand refresh it whenarm_periodicis true (including skipped no-proposal ticks), matching in-processgrowth_due.Task Linkage
TASK-2026-071tasks/TASK-2026-071-life-pulse-periodic-anchor/Injected Specs
spec/architecture-boundaries.md(if architecture/layering changed)spec/security-nonnegotiables.md(if sandbox/security changed)spec/testing-policy.md(required for any code change)spec/docs-sync.md(if behavior/docs/env/commands changed)Also injected:
spec/verification-integrity.md,spec/task-artifact-language.md,spec/rust-conventions.md.Validation Evidence
python3 scripts/validate_tasks.pyrustfmt --check --edition 2021 crates/skilllite-assistant/src-tauri/src/skilllite_bridge/integrations/evolution_ui/growth.rscargo fmt --checkcargo clippy --all-targets -- -D warningscargo testcargo test --manifest-path crates/skilllite-assistant/src-tauri/Cargo.toml next_periodic_anchorcargo test --manifest-path crates/skilllite-assistant/src-tauri/Cargo.toml should_spawn_growthTask validation passed (71 task directories checked).next_periodic_anchor_*,should_spawn_growth_*)Regression Scope
schedule tick --workspace(fix(assistant): pass workspace to life pulse rhythm #115/Fix Life Pulse rhythm workspace scoping #116)Docs Sync (EN/ZH)
docs/en/ENV_REFERENCE.md/docs/zh/ENV_REFERENCE.md.Review Checklist
tasks/TASK-2026-071-life-pulse-periodic-anchor/TASK.mdsatisfied (or explicitly deferred)tasks/TASK-2026-071-life-pulse-periodic-anchor/STATUS.mdupdated with latest progresstasks/TASK-2026-071-life-pulse-periodic-anchor/REVIEW.mdincludes merge readiness decisiontasks/board.mdstatus is up to dateBug / impact
Enable Life Pulse with high signal/sweep thresholds so only the periodic arm can fire, then wait past
SKILLLITE_EVOLUTION_INTERVAL_SECS. Expected: spawnskilllite evolution run. Actual: no periodic spawn. Chat/agent-rpc still worked because it uses mutatinggrowth_due.Root cause
L2
evolution_growth_dueread the mutex and passed it to inspect-only CLI status, but never wrote the mutex.inspect_growth_dueusesanchor_eff = last.unwrap_or(now), so a persistentNonekeepsarm_periodicfalse.Fix
After inspect, persist
None -> nowand refresh onarm_periodic. Spawn gating is unchanged.