Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions services/agent/src/bidder.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Autonomous bidder agent — appraisal (x402) → seal → commit.
//
// The agent never uses the principal key on-chain. It verifies its session
Expand Down
1 change: 1 addition & 0 deletions services/agent/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
export {
MANDATE_VERSION,
createSessionMandate,
Expand Down
1 change: 1 addition & 0 deletions services/agent/src/mandate.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Session mandate — scoped authorization for an autonomous bidder agent.
//
// A human/principal wallet signs a mandate that binds a session public key to a
Expand Down
1 change: 1 addition & 0 deletions services/agent/src/write-demo-trace.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import { mkdir, writeFile } from "node:fs/promises";
import { dirname, resolve } from "node:path";

Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/dry-run.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import type { BidState, Round, SubRosaClient } from "@sub-rosa/sdk";

import { VOID_GRACE_SECONDS } from "./keeper.js";
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
export {
keepRound,
closeRound,
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/keeper.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Permissionless reveal keeper.
//
// Once Drand round R is published, *anyone* can force a sealed round open and
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/queue.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import { KeeperStore, normalizeRoundId } from "./store.js";

function usage() {
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/run.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Keeper CLI entry. Runs one full pass over a round (wait for R → open → reveal
// all) and prints the result. Re-running is safe: completed work is skipped.
//
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/serve.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Standalone status server for the keeper.
//
// Runs the watch-mode keeper AND a status HTTP API on the same process so
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/settlement-guard.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// settlement-guard.ts
//
// In-memory duplicate-settlement suppression for the keeper.
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/status-server.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import http from "node:http";

import type { DrandClient } from "@sub-rosa/tlock";
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/status.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import type { SubRosaClient } from "@sub-rosa/sdk";
import { fetchRoundSignature, type DrandClient } from "@sub-rosa/tlock";

Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/store.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import * as fs from "fs";
import * as path from "path";

Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/watch-loop.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Shared watch loop. Keeps in-flight rounds moving through
// void-if-stale → keep → close, persisting status into the KeeperStore and
// emitting lightweight logs. Independent of how the loop is started
Expand Down
1 change: 1 addition & 0 deletions services/keeper/src/watch.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Watch-mode keeper — standalone entry. For a combined status-API + watch
// process, use `serve.ts` instead.
//
Expand Down
1 change: 1 addition & 0 deletions services/receipt-cli/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
// Copyright (c) 2026 Sub Rosa contributors
// receipt-cli — export a round receipt from RPC or verify a local file.

import { readFileSync, writeFileSync } from "node:fs";
Expand Down
Loading