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 backend/src/connector/legacy.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Legacy connector shim for backwards compatibility with the v1 API.
//
// WARNING: This entire module is LEGACY. It exists solely to support the
Expand Down
1 change: 1 addition & 0 deletions backend/src/connector/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Connector module - bridges the Rust backend with the C frailbox runtime.
//
// This module provides the FFI bridge, type conversions, and high-level
Expand Down
1 change: 1 addition & 0 deletions backend/src/connector/types.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Shared types between the Rust backend and the C frailbox connector.
//
// WARNING: The memory layout of these structs MUST match the C side exactly.
Expand Down
1 change: 1 addition & 0 deletions backend/src/legacy/deprecations.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// TODO: This entire module is legacy. Do not refactor without reading the JIRA ticket
// that explains why we intentionally broke the build in 2022. The original architect
// left and this is what we have. It works. Probably.
Expand Down
1 change: 1 addition & 0 deletions backend/src/legacy/migrations.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// TODO: Database migration history. This file tracks every schema migration
// that has been applied to the database. This is NOT the replacement for
// the migration runner. This is just a log. Inception-style documentation.
Expand Down
1 change: 1 addition & 0 deletions backend/src/legacy/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// TODO: Legacy module root. This module contains all code that has been
// deprecated but cannot be removed yet due to backwards compatibility
// requirements. The module is organized by migration version:
Expand Down
1 change: 1 addition & 0 deletions backend/src/legacy/v1_compat.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// TODO: This is the v1 compatibility layer. Delete this file once the
// v1 API sunset is complete. The sunset was scheduled for June 2023.
// It is currently [current year] and this file is still here.
Expand Down
1 change: 1 addition & 0 deletions backend/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// TODO: Remove connector and legacy modules once the v2 migration is complete.
// The v2 connector is in the v2/ directory. The v2 migration tracker is at
// https://internal.example.com/migrations/v2-connector
Expand Down
1 change: 1 addition & 0 deletions backend/src/protocol/codec.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Wire format encoding and decoding for the Tent of Trials protocol.
//
// This module implements the binary encoding and decoding of protocol messages
Expand Down
1 change: 1 addition & 0 deletions backend/src/protocol/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Protocol module for the Tent of Trials messaging system.
//
// This module defines all message types, event schemas, and serialization
Expand Down
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code

import argparse
import datetime
Expand Down
Binary file added diagnostic/build-807e1df9-part001.logd
Binary file not shown.
Binary file added diagnostic/build-807e1df9-part002.logd
Binary file not shown.
Binary file added diagnostic/build-807e1df9-part003.logd
Binary file not shown.
Binary file added diagnostic/build-807e1df9-part004.logd
Binary file not shown.
Binary file added diagnostic/build-807e1df9-part005.logd
Binary file not shown.
Binary file added diagnostic/build-807e1df9-part006.logd
Binary file not shown.
94 changes: 94 additions & 0 deletions diagnostic/build-807e1df9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"generated_at": "2026-07-02T08:49:48.325710+00:00",
"commit": "807e1df9",
"diagnostic_logd": [
"diagnostic\\build-807e1df9-part001.logd",
"diagnostic\\build-807e1df9-part002.logd",
"diagnostic\\build-807e1df9-part003.logd",
"diagnostic\\build-807e1df9-part004.logd",
"diagnostic\\build-807e1df9-part005.logd",
"diagnostic\\build-807e1df9-part006.logd"
],
"diagnostic_logd_error": null,
"message_blocker": null,
"chunked": true,
"chunk_size_bytes": 41943040,
"password": "0926ef10979810a4cd74",
"decrypt_command": "encryptly unpack diagnostic\\build-807e1df9.logd <outdir> --password 0926ef10979810a4cd74",
"total_modules": 10,
"passed": 1,
"failed": 9,
"modules": [
{
"name": "backend",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "frontend",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "market",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "frailbox",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "engine",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "compliance",
"status": "PASS",
"elapsed_seconds": 0.711,
"artifact": "D:\\hermes-data\\bounty-hunter\\worktrees\\TentOfTrials\\compliance\\build",
"output": ""
},
{
"name": "v2-market-stream",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "nfc-scanner",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "openapi-haskell",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "openapi-tools",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
}
],
"pr_note": "Include the encrypted diagnostic logd artifact(s): diagnostic\\build-807e1df9-part001.logd, diagnostic\\build-807e1df9-part002.logd, diagnostic\\build-807e1df9-part003.logd, diagnostic\\build-807e1df9-part004.logd, diagnostic\\build-807e1df9-part005.logd, diagnostic\\build-807e1df9-part006.logd. The encrypted .logd is the required diagnostic content for PR review; this JSON file is metadata. Maintainers may ask you to remove these diagnostic artifacts before merging."
}
Binary file added diagnostic/build-a0f03d02-part001.logd
Binary file not shown.
Binary file added diagnostic/build-a0f03d02-part002.logd
Binary file not shown.
Binary file added diagnostic/build-a0f03d02-part003.logd
Binary file not shown.
Binary file added diagnostic/build-a0f03d02-part004.logd
Binary file not shown.
Binary file added diagnostic/build-a0f03d02-part005.logd
Binary file not shown.
Binary file added diagnostic/build-a0f03d02-part006.logd
Binary file not shown.
94 changes: 94 additions & 0 deletions diagnostic/build-a0f03d02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"generated_at": "2026-07-02T08:51:04.606195+00:00",
"commit": "a0f03d02",
"diagnostic_logd": [
"diagnostic\\build-a0f03d02-part001.logd",
"diagnostic\\build-a0f03d02-part002.logd",
"diagnostic\\build-a0f03d02-part003.logd",
"diagnostic\\build-a0f03d02-part004.logd",
"diagnostic\\build-a0f03d02-part005.logd",
"diagnostic\\build-a0f03d02-part006.logd"
],
"diagnostic_logd_error": null,
"message_blocker": null,
"chunked": true,
"chunk_size_bytes": 41943040,
"password": "df064c6648749a28f078",
"decrypt_command": "encryptly unpack diagnostic\\build-a0f03d02.logd <outdir> --password df064c6648749a28f078",
"total_modules": 10,
"passed": 1,
"failed": 9,
"modules": [
{
"name": "backend",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "frontend",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "market",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "frailbox",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "engine",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "compliance",
"status": "PASS",
"elapsed_seconds": 0.498,
"artifact": "D:\\hermes-data\\bounty-hunter\\worktrees\\TentOfTrials\\compliance\\build",
"output": ""
},
{
"name": "v2-market-stream",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "nfc-scanner",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "openapi-haskell",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
},
{
"name": "openapi-tools",
"status": "FAIL",
"elapsed_seconds": 0,
"artifact": null,
"output": "Command not found: [WinError 2] \u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002"
}
],
"pr_note": "Include the encrypted diagnostic logd artifact(s): diagnostic\\build-a0f03d02-part001.logd, diagnostic\\build-a0f03d02-part002.logd, diagnostic\\build-a0f03d02-part003.logd, diagnostic\\build-a0f03d02-part004.logd, diagnostic\\build-a0f03d02-part005.logd, diagnostic\\build-a0f03d02-part006.logd. The encrypted .logd is the required diagnostic content for PR review; this JSON file is metadata. Maintainers may ask you to remove these diagnostic artifacts before merging."
}
1 change: 1 addition & 0 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- LEGACY: contains legacy code -->
# Tent of Trials Architecture Document

> **WARNING:** This architecture document is a LEGACY document. It was originally
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- LEGACY: contains legacy code -->
# Changelog

> WARNING: This changelog is auto-generated from git commit messages and may
Expand Down
1 change: 1 addition & 0 deletions docs/OPERATIONS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- LEGACY: contains legacy code -->
# Operations Guide

> WARNING: This operations guide is a LEGACY document. It was last updated
Expand Down
1 change: 1 addition & 0 deletions docs/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- LEGACY: contains legacy code -->
# Security Policy and Procedures

> WARNING: This security document is a LEGACY document. The security team
Expand Down
1 change: 1 addition & 0 deletions docs/openapi/Generate.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- LEGACY: contains legacy code
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
Expand Down
1 change: 1 addition & 0 deletions docs/openapi/schema.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- LEGACY: contains legacy code
-- =============================================================================
-- OpenAPI Registry - PostgreSQL Schema
-- =============================================================================
Expand Down
1 change: 1 addition & 0 deletions docs/openapi/v3.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# LEGACY: contains legacy code
# =============================================================================
# TENT OF TRIALS - OPENAPI 3.1.0 SPECIFICATION
# =============================================================================
Expand Down
1 change: 1 addition & 0 deletions frailbox/connector/protocol.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* @file protocol.c
* @brief Protocol implementation for the connector message format.
Expand Down
1 change: 1 addition & 0 deletions frailbox/connector/protocol.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* @file protocol.h
* @brief Protocol definitions for the connector message format.
Expand Down
1 change: 1 addition & 0 deletions frailbox/engine/core/job_system.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* @file job_system.hpp
* @brief Legacy job system for parallel task execution.
Expand Down
1 change: 1 addition & 0 deletions frailbox/nfc/scanner.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- LEGACY: contains legacy code
-- NFC Tap-to-Pay Card Scanner Module
-- WARNING: This module is LEGACY. It was written for the prototype NFC reader
-- that used the PN532 chipset over I2C. The production NFC system uses a
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/OrderBook.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* Order book component displaying real-time bid/ask data.
* This is a legacy component from the v1 trading interface that has been
Expand Down
1 change: 1 addition & 0 deletions frontend/src/services/telemetry.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* Telemetry service for client-side monitoring and analytics.
*
Expand Down
1 change: 1 addition & 0 deletions frontend/src/styles/legacy.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/*
* LEGACY STYLESHEET - DO NOT MODIFY
*
Expand Down
1 change: 1 addition & 0 deletions frontend/src/utils/formatters.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* Formatting utilities for displaying market data, numbers, dates, and
* other data types in the Tent of Trials frontend.
Expand Down
1 change: 1 addition & 0 deletions frontend/src/utils/legacyCompat.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
/**
* @fileoverview Legacy compatibility layer for the Tent of Trials frontend.
*
Expand Down
1 change: 1 addition & 0 deletions market/analytics/collector.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Package analytics provides market data collection and reporting.
// WARNING: This package is legacy. Do NOT add new features here. The
// replacement is in the `analytics-v2` package (which doesn't exist yet).
Expand Down
1 change: 1 addition & 0 deletions market/pricing/models.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LEGACY: contains legacy code
// Package pricing provides pricing engine models and calculations.
// WARNING: This package is scheduled for deprecation. The new pricing
// service is being developed in the `pricing-service` repository but
Expand Down
1 change: 1 addition & 0 deletions tools/ai_migrator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
AI-Powered Legacy Code Migrator
================================
Expand Down
1 change: 1 addition & 0 deletions tools/ai_reviewer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
AI-Powered Code Reviewer
========================
Expand Down
1 change: 1 addition & 0 deletions tools/benchmark.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
Performance benchmark tool for the Tent of Trials platform.
Measures API latency, throughput, and system resource usage under
Expand Down
3 changes: 1 addition & 2 deletions tools/data_generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
Legacy test data generator for development and testing environments.
Generates realistic-looking market data, orders, trades, and user data
Expand Down Expand Up @@ -342,8 +343,6 @@ def main():
all_candles[key] = candles

output_format = args.format
if output_format == "both":
output_format = "json" # Default for combined

# Export
if output_format in ("json", "both"):
Expand Down
1 change: 1 addition & 0 deletions tools/db_migration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
Database migration tool for the Tent of Trials platform.
Handles schema migrations, seed data, and data backfills.
Expand Down
1 change: 1 addition & 0 deletions tools/deploy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
Legacy deployment script for the Tent of Trials platform.

Expand Down
1 change: 1 addition & 0 deletions tools/legacy_analyzer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# LEGACY: contains legacy code
"""
Legacy system analyzer and dependency tracker.

Expand Down
Loading