feat: postgres history-first 계약과 적재 경로 추가

- PostgreSQL history contract와 schema/validator를 추가했습니다.
- .NET history store, snapshot reader, repository, migration을 연결했습니다.
- history-first 운영 모델 문서와 daily signal tracking 문구를 정리했습니다.
This commit is contained in:
2026-06-26 14:17:04 +09:00
parent 7e0c0b6c8f
commit 8f13bb4a48
17 changed files with 707 additions and 17 deletions
@@ -0,0 +1,10 @@
using System.Collections.Generic;
using System.Threading.Tasks;
namespace QuantEngine.Core.Interfaces
{
public interface IPostgresqlHistorySnapshotReader
{
Task<IReadOnlyList<IDictionary<string, object?>>> ReadAsync(string domain, int limit = 500);
}
}
@@ -0,0 +1,11 @@
using System.Collections.Generic;
using System.Threading.Tasks;
namespace QuantEngine.Core.Interfaces
{
public interface IPostgresqlHistoryStore
{
Task<int> AppendAsync(string domain, IDictionary<string, object?> payload);
Task<IReadOnlyList<IDictionary<string, object?>>> SnapshotAsync(string domain, int limit = 500);
}
}
@@ -0,0 +1,10 @@
using System.Collections.Generic;
namespace QuantEngine.Core.Models
{
public class HistoryRow
{
public string Domain { get; set; } = string.Empty;
public IDictionary<string, object?> Payload { get; set; } = new Dictionary<string, object?>();
}
}