Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
0fd5aa6
Add CI pipeline for PR and push (#1)
XnLemon Aug 21, 2026
578e755
Add MkDocs documentation site and Docs CI workflow (#2)
XnLemon Aug 21, 2026
2cda942
docs: Design tenant model base fields (#3)
XnLemon Aug 21, 2026
6586648
chore: add issue and pull request templates (#11)
XnLemon Aug 21, 2026
ebe6b08
{tenant, tenant/inmemory}: add domain model and InMemory repository (#6)
XnLemon Aug 21, 2026
647e75b
{tenant, docs}: add runtime snapshot boundary (#7)
XnLemon Aug 21, 2026
e715606
docs: establish contribution guidelines (#16)
XnLemon Aug 21, 2026
e750330
{tenant, docs} validate runtime configuration snapshots (#8)
XnLemon Aug 21, 2026
8b46844
{tenant/inmemory, docs}: guard audit metadata and cancelled requests …
XnLemon Aug 21, 2026
7d809e5
docs: add implementation progress checklist (#19)
XnLemon Aug 22, 2026
31629c1
agent: implement versioned application closed loop (#18)
XnLemon Aug 22, 2026
46f9b32
backend: implement tenant-scoped Backend Profile closed loop (#21)
XnLemon Aug 22, 2026
031d629
{model, runtime, docs}: implement tenant-scoped model profile and run…
XnLemon Aug 22, 2026
45a2001
docs: complete production architecture design (#25)
XnLemon Aug 22, 2026
42ce4de
channels: implement tenant-scoped Channel Binding routing (#27)
XnLemon Aug 22, 2026
c9faf53
{gateway, channels, docs}: implement execution-plan and HTTP/SSE path…
XnLemon Aug 23, 2026
896effe
{channels, docs}: implement tenant-scoped Telegram long polling adapt…
XnLemon Aug 23, 2026
16262b9
{examples, ci}: add Telegram live E2E example and CI workflow (#34)
XnLemon Aug 23, 2026
d719428
ci: run Telegram E2E for PRs and main (#36)
XnLemon Aug 23, 2026
a83a2c1
{storage, runtime}: define PostgreSQL control-plane persistence contr…
XnLemon Aug 24, 2026
3d413c6
ci: enforce race tests and clarify coverage gate (#40)
XnLemon Aug 24, 2026
f4e48f2
observability: implement runtime telemetry, metrics, and redacted log…
XnLemon Aug 24, 2026
64c20b5
feat: add restartable PostgreSQL control plane and Admin API (#43)
XnLemon Aug 24, 2026
7086055
docs: sync README implementation status with main (#47)
XnLemon Aug 24, 2026
eb9b98b
{storage, runtime}: add tenant runtime persistence contract (#49)
XnLemon Aug 25, 2026
be188bc
runtime: consume reply outbox with reliable delivery worker (#51)
XnLemon Aug 25, 2026
881c0c3
test: cover Telegram Runner outbox delivery E2E (#53)
XnLemon Aug 25, 2026
45f22ec
{audit, docs}: add tenant audit and usage-cost observability (#55)
XnLemon Aug 25, 2026
7a01ef7
docs: sync implementation status and group navigation (#56)
XnLemon Aug 25, 2026
85b043e
chore: adopt focused golangci lint policy (#58)
XnLemon Aug 25, 2026
4049eb8
lsc: clear revive exported baseline (#59)
XnLemon Aug 25, 2026
f539c8c
gateway: keep out-of-order limiter windows intact (#65)
XnLemon Aug 26, 2026
c5c3f45
lint: remove initial complexity baselines (#63)
XnLemon Aug 26, 2026
cb2bfb8
bootstrap: add explicit first-run init command (#68)
XnLemon Aug 26, 2026
0514779
channel: implement WeCom text webhook (#64)
XnLemon Aug 27, 2026
75882d2
runtime: add tenant-scoped provider registries (#73)
XnLemon Aug 27, 2026
8c8e518
docs: align production architecture with implementation roadmap (#87)
XnLemon Aug 27, 2026
aa8a6b2
docs: add arch file
XnLemon Aug 27, 2026
0263e6a
{observability, metrics}: complete runtime telemetry and dashboards (…
XnLemon Aug 27, 2026
38027ed
runtime: add tenant canary Agent App Registry (#86)
XnLemon Aug 27, 2026
3c35832
feat: add MySQL control-plane adapters (#81) (#84)
XnLemon Aug 28, 2026
2ba1888
observability: expose runtime metrics to Prometheus (#89)
XnLemon Aug 28, 2026
62222d5
docs: align README with issue and PR status (#93)
XnLemon Aug 28, 2026
b44797d
storage: complete runtime capabilities (#90)
XnLemon Aug 28, 2026
8aea99a
runtime: persist trace context across outbox delivery (#92)
XnLemon Aug 28, 2026
7e75bd1
docs: align README with current implementation (#95)
XnLemon Aug 28, 2026
0f25cdf
deploy: add container and Kubernetes manifests (#94)
XnLemon Aug 28, 2026
72151da
runtime: add stateless worker queue and migration tooling (#96)
XnLemon Aug 29, 2026
6ef499a
channels: extend Telegram and WeCom capabilities (#97)
XnLemon Aug 29, 2026
bdbcc54
test: add deterministic fault-injection coverage (#102)
XnLemon Aug 29, 2026
12b9b4b
ci: require commit secret scanning checks (#104)
XnLemon Aug 29, 2026
12608c9
feat: provide a runnable local golden path to first chat (#103)
XnLemon Aug 29, 2026
6863a46
docs: add real Telegram and WeCom integration screenshots (#105)
XnLemon Aug 30, 2026
56c2483
Merge source main history after aa000c8
XnLemon Aug 31, 2026
87e027f
feat(runtime): add tenant-scoped Redis provider (#110)
XnLemon Sep 2, 2026
b946f82
fix(gateway): prioritize cancellation over late runner events (#116)
XnLemon Sep 3, 2026
117b411
feat(channels): add WeCom AI Bot WebSocket adapter (#118)
XnLemon Sep 3, 2026
81abdf1
feat(runtime): add tenant-scoped S3 artifact provider (#119)
XnLemon Sep 3, 2026
d7e8656
channels: add durable attachment storage (#106)
XnLemon Sep 3, 2026
682b5be
[Admin] Add scoped resource discovery with TDesign tables (#117)
XnLemon Sep 4, 2026
6f0271b
refactor: separate app, agent, and runtime boundaries (#129)
XnLemon Sep 5, 2026
03cc3cc
refactor(runtime): move RunnerRegistry out of Gateway (#132)
XnLemon Sep 5, 2026
f102083
test: group fault injection fixture dependencies (#131)
XnLemon Sep 5, 2026
c952b15
feat(log): introduce zap logging foundation (#133)
XnLemon Sep 5, 2026
e81953e
refactor(runtime): move plan resolution behind runtime boundary (#135)
XnLemon Sep 5, 2026
25ea4d5
fix(audit): avoid rejecting opaque identifier fragments (#136)
XnLemon Sep 5, 2026
df2806a
refactor(log): migrate runtime output to structured levels (#134)
XnLemon Sep 5, 2026
0569909
runtime/execution: move Runner lifecycle out of Gateway (#137)
XnLemon Sep 5, 2026
9230907
{gateway, runtime/execution}: group execution lifecycle state (#138)
XnLemon Sep 5, 2026
e655e6d
runtime: define package boundaries and split storage capabilities (#139)
XnLemon Sep 5, 2026
6ba39ac
refactor: separate runtime runner and materialization boundaries (#140)
XnLemon Sep 6, 2026
90d9ea6
{bootstrap, channels, runtime}: close remaining package boundaries (#…
XnLemon Sep 6, 2026
7550d03
refactor: remove unused compatibility APIs (#142)
XnLemon Sep 6, 2026
9f8c773
refactor: move SQL schema ownership into backend packages
xianingawa-wq Sep 6, 2026
720e09e
refactor: make outbox capabilities explicit (#145)
XnLemon Sep 6, 2026
32e44ff
refactor: move durable outbox out of runtime (#146)
XnLemon Sep 6, 2026
4a94a8d
refactor: require explicit gateway storage capabilities (#147)
XnLemon Sep 6, 2026
9a91175
refactor: remove runtime store from bootstrap config (#148)
XnLemon Sep 6, 2026
caeaebb
refactor: inject bootstrap delivery capabilities (#149)
XnLemon Sep 6, 2026
b91431c
refactor: remove aggregate runtime storage contract (#151)
XnLemon Sep 6, 2026
83f9594
refactor: move data migration tooling under internal (#144)
XnLemon Sep 6, 2026
9f2790f
refactor: remove obsolete compatibility shims (#152)
XnLemon Sep 6, 2026
52df8a0
feat: add chain Agent Factory and budget loop
xianingawa-wq Sep 6, 2026
21eb30b
chore: align agent factory PR with main
xianingawa-wq Sep 6, 2026
c028222
Merge origin/main into agent factory PR
xianingawa-wq Sep 6, 2026
bb35c3f
Merge pull request #158 from XnLemon/codex/156-157-agent-factory-budget
XnLemon Sep 6, 2026
8b94211
Revert "{agent, gateway, runtime}: add versioned agent factories and …
XnLemon Sep 6, 2026
93b51d6
refactor: tighten audit APIs and streamline service internals (#160)
XnLemon Sep 7, 2026
6a91dc3
{agent, gateway, runtime}: restore versioned agent factories and budg…
XnLemon Sep 7, 2026
7681f41
chore: remove admin ui (#163)
XnLemon Sep 9, 2026
ab0f9e1
docs: document completed deployment and acceptance paths (#164)
XnLemon Sep 9, 2026
204faa4
release: prepare tRPC Agent Service v0.1.1 (#165)
XnLemon Sep 10, 2026
094f58d
sync: align platform fork with merged PR #165
xianingawa-wq Sep 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.git
.github
.idea
.vscode
.DS_Store
*.log
*.swp

bin/
data/
dist/
coverage.out
coverage.html
*.test
*.exe
vendor/
docs/site/
**/__pycache__/

# Never send populated deployment credentials to the Docker build context.
deploy/service.env
deploy/*.env

**/node_modules/
trpcservice/web/dist/
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Shell scripts must always use LF, otherwise bash fails with
# "set: pipefail: invalid option name" on CRLF checkouts (e.g. Windows).
*.sh text eol=lf
*.go text eol=lf
*.sql text eol=lf

# GitHub Actions workflows
*.yml text eol=lf
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/00-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Bug report
about: Report a reproducible problem in trpc-agent-service
title: "[Bug] "
labels: "type/bug"
assignees: ""
---

## Description

<!-- Please describe the problem and its impact. Remove secrets, tokens, personal data, and customer content. -->

## Reproduction

<!-- Provide the smallest reproducible example, request, configuration, or sequence of steps. -->

1.
2.
3.

## Expected behavior

## Actual behavior

## Environment

- Go version:
- Service commit or version:
- Deployment mode (local, container, Kubernetes, etc.):
- Storage backend and version:
- IM channel/integration:
- OS and architecture:

## Logs and additional context

<!-- Include relevant logs, traces, or screenshots after removing sensitive data. -->
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/01-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Feature request
about: Suggest an improvement or new capability
title: "[Feature] "
labels: "type/feature"
assignees: ""
---

## Problem

<!-- What user or operational problem does this solve? Who is affected? -->

## Desired behavior or contract

<!-- Describe the user-facing behavior, API/configuration contract, and acceptance criteria. -->

## Alternatives considered

## Integration and compatibility impact

- Tenant isolation and authorization:
- IM channels and message behavior:
- Storage schema, retention, or migration:
- Tools, model providers, or external integrations:
- Audit, metrics, and tracing:
- Backward compatibility:

## Additional context

<!-- Do not include secrets or identifiable user/customer data. -->
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/02-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Question
about: Ask for help using or operating trpc-agent-service
title: "[Question] "
labels: "type/question"
assignees: ""
---

## Question

<!-- State one concrete question and the outcome you are trying to achieve. -->

## Context

- Service commit or version:
- Deployment mode:
- Relevant configuration:
- Minimal request or code sample:
- Relevant logs or error message:

## What have you tried?

<!-- Redact credentials, tokens, personal data, and customer content. -->
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/03-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Design proposal
about: Propose an architectural or cross-cutting change
title: "[Proposal] "
labels: "type/proposal"
assignees: ""
---

## Background

<!-- Explain the current behavior, constraints, and problem with evidence where possible. -->

## Proposal

<!-- Describe the design, interfaces, data flow, and rollout or migration plan. -->

## Goals

-

## Non-goals

-

## Alternatives and trade-offs

<!-- Include operational cost, reliability, performance, security, and maintenance implications. -->

## Open questions

## Additional context

<!-- Remove secrets and identifiable user/customer data before posting. -->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Documentation
url: https://github.com/XnLemon/trpc-agent-service/tree/main/docs
about: Read the project documentation before opening an issue.
- name: Upstream trpc-agent-go
url: https://github.com/trpc-group/trpc-agent-go
about: Check upstream framework behavior and examples.
43 changes: 43 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!-- Suggested title: package: lowercase summary -->
<!-- Multiple primary packages: {package/a, package/b}: lowercase summary -->

<!-- Use "Fixes #123" when this PR completes an issue; otherwise use "Updates #123". -->

## What changed

<!-- Summarize the implementation and link the issue or design proposal. -->

## Why

<!-- Explain the problem and why this approach is appropriate. -->

## Scope and compatibility

- API or configuration changes:
- Data/schema or migration changes:
- Deployment and rollout considerations:
- Backward compatibility and failure behavior:

## Testing

- [ ] `./scripts/format.sh --check`
- [ ] `./scripts/lint.sh`
- [ ] `./scripts/build.sh`
- [ ] `go test ./...` or `./scripts/coverage.sh`
- [ ] Unit tests added or updated
- [ ] Integration or end-to-end tests run where relevant
- [ ] Race tests run for concurrency-sensitive packages
- [ ] Manual verification performed (describe below)
- [ ] git diff --check passes

Test details:

## Security and tenant isolation

- [ ] Authorization and tenant boundaries were reviewed
- [ ] Logs and errors do not expose secrets or user/customer data
- [ ] External integrations and tool permissions were reviewed

## Notes for reviewers

<!-- Call out risky areas, follow-up work, migrations, or decisions needing review. -->
Loading