Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
// Error codes (side-effect registration)
import "./error-codes.js";
// Election
export {
type ElectionBus,
ElectionEngine,
type ElectionEngineConfig,
type ElectionMode,
type ElectionResult,
} from "./election/election-engine.js";
// Errors
export {
NETWORK_GOV_CODES,
NetworkGovError,
type NetworkGovErrorCode,
} from "./error-codes.js";
// Plugin
export {
GovernancePlugin,
type GovernancePluginConfig,
} from "./plugin/governance-plugin.js";
// Reputation
export {
type ReputationEventKind,
ReputationTracker,
type ReputationTrackerConfig,
} from "./reputation/reputation-tracker.js";
// Scoring
export {
type CandidateMetrics,
type CandidateScore,
CandidateScorer,
type ScoringWeights,
} from "./scoring/candidate-scorer.js";
// Transition
export {
type TransitionBus,
TransitionManager,
type TransitionManagerConfig,
type TransitionState,
} from "./transition/transition-manager.js";
// Voting
export {
type Vote,
type VoteTally,
VotingManager,
type VotingManagerConfig,
} from "./voting/voting-manager.js";