vectie/moontown/core does not have a README file
pub struct AssignmentPlan {
task_id : String
worker_id : String
book_id : String
isolation : IsolationMode
reason : String
} derive(Eq, ToJson, Debug, FromJson)impl Show for AssignmentPlanfn AssignmentPlan::new(task_id~ : String, worker_id~ : String, book_id~ : String, isolation~ : IsolationMode, reason~ : String) -> AssignmentPlanimpl Show for StandingGoalfn StandingGoal::mark_watcher_decision(self : StandingGoal, tick : Int, decision : WatcherDecisionKind, no_change_streak? : Int) -> StandingGoalfn StandingGoal::new(id~ : String, title~ : String, prompt~ : String, target_book_id? : String?, cadence_ticks? : Int, next_due_tick? : Int, last_run_tick? : Int?, enabled? : Bool, source_policy? : String, quality_threshold? : Int) -> StandingGoalfn StandingGoal::next_due_after_watcher_decision(self : StandingGoal, tick : Int, decision : WatcherDecisionKind, no_change_streak? : Int) -> Intpub struct TaskExecutionRecord {
task_id : String
book_id : String
packet_id : String
packet_path : String
proposal_id : String?
run_id : String?
status : TaskExecutionStatus
summary : String
output_contract : String
context_pages : Array[String]
skill_paths : Array[String]
last_command : String?
assigned_worker_id : String?
attempt : Int
heartbeat_tick : Int
stale_after_tick : Int
next_retry_tick : Int?
result_decision : String
requires_review : Bool
notify_town : Bool
} derive(Eq, ToJson, Debug, FromJson)impl Show for TaskExecutionRecordfn TaskExecutionRecord::new(task_id~ : String, book_id~ : String, packet_id~ : String, packet_path~ : String, proposal_id? : String?, run_id? : String?, status~ : TaskExecutionStatus, summary~ : String, output_contract~ : String, context_pages? : Array[String], skill_paths? : Array[String], last_command? : String?, assigned_worker_id? : String?, attempt? : Int, heartbeat_tick? : Int, stale_after_tick? : Int, next_retry_tick? : Int?, result_decision? : String, requires_review? : Bool, notify_town? : Bool) -> TaskExecutionRecordimpl Show for TownConfigfn TownConfig::new(id~ : String, name~ : String, heartbeat_seconds? : Int, max_concurrent_tasks? : Int) -> TownConfigfn TownState::set_worker_status(self : TownState, worker_id : String, status : WorkerStatus) -> Unitpub struct TownTask {
id : String
book_id : String
title : String
prompt : String
domain : WorkDomain
required_role : WorkerRole?
required_capabilities : Array[String]
status : TownTaskStatus
} derive(Eq, ToJson, Debug, FromJson)fn TownTask::new(id~ : String, book_id~ : String, title~ : String, prompt~ : String, domain~ : WorkDomain, required_role? : WorkerRole?, required_capabilities? : Array[String], status? : TownTaskStatus) -> TownTaskpub struct WatcherRunRecord {
goal_id : String
tick : Int
target_book_id : String
decision : WatcherDecisionKind
delta_score : Int
new_source_count : Int
detail : String
task_id : String?
run_id : String?
next_due_tick : Int
} derive(Eq, ToJson, Debug, FromJson)impl Show for WatcherRunRecordfn WatcherRunRecord::new(goal_id~ : String, tick~ : Int, target_book_id~ : String, decision~ : WatcherDecisionKind, delta_score? : Int, new_source_count? : Int, detail? : String, task_id? : String?, run_id? : String?, next_due_tick? : Int) -> WatcherRunRecordpub struct WorkerRef {
id : String
name : String
book_id : String
role : WorkerRole
capabilities : Array[String]
status : WorkerStatus
} derive(Eq, ToJson, Debug, FromJson)fn standing_goal_registry_merge_updates(latest : Array[StandingGoal], updated : Array[StandingGoal]) -> Array[StandingGoal]fn standing_goal_registry_replace_or_append(goals : Array[StandingGoal], replacement : StandingGoal) -> Array[StandingGoal]Dependencies