Fix model freshness stuck at 0% by calling onModelDeployed on deploy
CI / build-and-push (push) Successful in 27s
CI / build-and-push (push) Successful in 27s
onModelDeployed was defined but never invoked — lastModelReleaseTick stayed at 0 so the freshness guard always returned 0. Now deployModel updates obsolescence state, setting freshness to 1.0 with proper decay. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,7 @@ export { getAvailableResearch, getResearchNode } from './systems/researchSystem'
|
||||
export { getResearchBonuses } from './systems/researchBonuses';
|
||||
export type { ResearchBonuses } from './systems/researchBonuses';
|
||||
export { emptyDCNetworkSummary, emptyCampusNetworkSummary, emptyClusterNetworkSummary } from './systems/infrastructureSystem';
|
||||
export { onModelDeployed } from './systems/market/obsolescenceSystem';
|
||||
export { canRaiseFunding, getNextFundingRound, computeValuation } from './systems/fundingSystem';
|
||||
export { TECH_TREE } from './data/techTree';
|
||||
export { INITIAL_RIVALS } from './data/competitors';
|
||||
|
||||
Reference in New Issue
Block a user