Skip to content

Commit 6bced4e

Browse files
committed
Merge main into tlock input validation
2 parents c9ef8f1 + bf2c182 commit 6bced4e

203 files changed

Lines changed: 2822 additions & 249 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/bindings-check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: [main]
66
pull_request:
77

8+
permissions:
9+
# Los cuatro workflows solo leen el repo: clonan, instalan y corren
10+
# tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets.
11+
contents: read
12+
813
concurrency:
914
group: ${{ github.workflow }}-${{ github.ref }}
1015
cancel-in-progress: true

.github/workflows/contract.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: [main]
66
pull_request:
77

8+
permissions:
9+
# Los cuatro workflows solo leen el repo: clonan, instalan y corren
10+
# tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets.
11+
contents: read
12+
813
concurrency:
914
group: ${{ github.workflow }}-${{ github.ref }}
1015
cancel-in-progress: true

.github/workflows/coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: [main]
66
pull_request:
77

8+
permissions:
9+
# Los cuatro workflows solo leen el repo: clonan, instalan y corren
10+
# tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets.
11+
contents: read
12+
813
concurrency:
914
group: ${{ github.workflow }}-${{ github.ref }}
1015
cancel-in-progress: true

.github/workflows/docs-links.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
- 'scripts/check-links.js'
1313
- '.github/workflows/docs-links.yml'
1414

15+
permissions:
16+
# Los cuatro workflows solo leen el repo: clonan, instalan y corren
17+
# tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets.
18+
contents: read
19+
1520
jobs:
1621
check-links:
1722
runs-on: ubuntu-latest

ARCHITECTURE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: MIT -->
12
# Sub Rosa — Architecture
23

34
High-level map of the monorepo: components, trust boundaries, round lifecycle, and where each proof runs. For crypto and settlement detail see [docs/TECH_DESIGN.md](./docs/TECH_DESIGN.md).

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: MIT -->
12
> [!NOTE]
23
> This repository is the ecosystem contribution workspace for Sub Rosa,
34
> created specifically for participation in the Stellar Wave program. The main

TASKS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: MIT -->
12
# Task List: Issue #114 Receipt Schema Version Rejection
23

34
- [ ] Phase 1: Locate offline receipt verifier and inspect current error handling

apps/web/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
"dev": "vite",
99
"build": "vite build",
1010
"preview": "vite preview",
11-
"test": "node --import tsx --test src/demo/trace-health-check.test.ts src/lib/config.test.ts src/dashboard/fixture-health-check.test.ts src/lib/round-status.test.ts src/components/dashboard/RoundStatusCard.test.tsx",
11+
"test": "node --import tsx --test src/demo/trace-health-check.test.ts src/lib/config.test.ts src/lib/chain.test.ts src/dashboard/fixture-health-check.test.ts src/lib/round-status.test.ts src/components/dashboard/RoundStatusCard.test.tsx src/hooks/useDashboardData.test.ts",
1212
"typecheck": "tsc --noEmit -p tsconfig.json"
1313
},
1414
"dependencies": {
1515
"@stellar/freighter-api": "^6.0.1",
1616
"@stellar/stellar-sdk": "^15.1.0",
1717
"@sub-rosa/agent": "workspace:*",
1818
"@sub-rosa/sdk": "workspace:*",
19+
"@sub-rosa/time": "workspace:*",
1920
"@sub-rosa/tlock": "workspace:*",
2021
"buffer": "^6.0.3",
2122
"crypto-browserify": "^3.12.1",

apps/web/src/App.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2026 Sub Rosa contributors
12
import { useEffect, useState } from "react";
23
import { getUseCase } from "./config/useCases";
34
import type { UseCaseId } from "./config/useCases";
@@ -8,6 +9,7 @@ import { DashboardPage } from "./pages/DashboardPage";
89
import { DemoPage } from "./pages/DemoPage";
910
import { LandingPage } from "./pages/LandingPage";
1011
import { ToastProvider } from "./ui/Toast";
12+
import { TimeProvider } from "./lib/time";
1113

1214
export default function App() {
1315
const [route, setRoute] = useState<RouteState>(routeFromHash);
@@ -26,7 +28,8 @@ export default function App() {
2628
const active = getUseCase(route.useCase);
2729

2830
return (
29-
<ToastProvider>
31+
<TimeProvider>
32+
<ToastProvider>
3033
{route.page === "landing" ? (
3134
<LandingPage
3235
onDemo={() => navigate("demo", "auction")}
@@ -48,6 +51,7 @@ export default function App() {
4851
)}
4952
</>
5053
)}
51-
</ToastProvider>
54+
</ToastProvider>
55+
</TimeProvider>
5256
);
5357
}

apps/web/src/components/AgentPanels.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2026 Sub Rosa contributors
12
import type { DemoTrace } from "../demo/trace";
23
import { shortAddr, shortHash, usdc } from "../lib/format";
34

0 commit comments

Comments
 (0)