• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / HyperNeo / 30579445923
83%

Build:
DEFAULT BRANCH: dev
Ran 30 Jul 2026 08:31PM UTC
Jobs 28
Files 626
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jul 2026 08:30PM UTC coverage: 82.624%. First build
30579445923

push

github

web-flow
feat(space): enforce per-agent autonomyLevel as a ceiling (#2276)

* feat(space): enforce per-agent autonomyLevel as a ceiling

SpaceLongHorizonAgent.autonomyLevel was stored and templated
(suggestedAutonomyLevel) but never read in the daemon — all gating used
the space-level autonomy, so per-agent trust tiers had no effect.

For long-term agent sessions (resolved via promptProvenance.agentId),
treat the agent's autonomyLevel as a ceiling on its own space-agent-tools
calls: effective = min(spaceLevel, agentLevel), applied to
requireSessionWriteAutonomy, approve_gate (autonomy path), and
approve_task. Ceiling-blocked denials are audit-logged.

Coordinators and ad-hoc members remain uncapped (only
buildLongTermAgentMcpServer passes myAgentId); agents without a level
and worker-agent-backed sessions are unchanged, preserving existing
error messages and behavior.

Tests cover the min() ceiling, the unaffected higher-level case, the
no-level fallback (space-level message preserved), and audit logging.

* test(space): cover ceiling branches from review (P2/P3)

Address PR #2276 review test-coverage gaps (no behavior change):
- writers-allowlist override: a level-1 agent named in a gate's approved
  field writers list is approved (ceiling only binds the autonomy path)
- cross-space myAgentId guard: an LH agent in another space contributes
  no ceiling; the space-level message governs
- session-write boundary at agentLevel === 4 is permitted (inclusive <)
- ceiling-blocked approve_task denial is audit-logged (task-attributed)

Also attribute the approve_task ceiling audit entry with taskId so it is
reachable via listByTask.

* fix(space): harden agent ceiling against bypass vectors

Address review findings (chatgpt-codex-connector) that the new ceiling
was evadable. No change to the happy path.

- send_session_message: the coordinator exemption now requires no calling
  agent id (myAgentId), so a long-term agent renamed to "coordinator"/
  "space-agent" via u... (continued)

11629 of 16737 branches covered (69.48%)

Branch coverage included in aggregate %.

115 of 117 new or added lines in 2 files covered. (98.29%)

99557 of 117831 relevant lines covered (84.49%)

303.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
85.53
packages/daemon/src/lib/space/tools/space-agent-tools.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-storage - 30579445923.1 30 Jul 2026 08:33PM UTC 163
53.82
GitHub Action Run
2 daemon-online-rewind-2 - 30579445923.2 30 Jul 2026 08:33PM UTC 365
22.29
GitHub Action Run
3 daemon-5-space-runtime-a - 30579445923.3 30 Jul 2026 08:33PM UTC 136
39.84
GitHub Action Run
4 daemon-online-rewind-1 - 30579445923.4 30 Jul 2026 08:33PM UTC 365
21.85
GitHub Action Run
5 daemon-online-agent-sdk - 30579445923.5 30 Jul 2026 08:34PM UTC 365
21.73
GitHub Action Run
6 daemon-online-git - 30579445923.6 30 Jul 2026 08:33PM UTC 365
18.35
GitHub Action Run
7 daemon-online-space-1 - 30579445923.7 30 Jul 2026 08:34PM UTC 365
31.47
GitHub Action Run
8 daemon-online-lifecycle - 30579445923.8 30 Jul 2026 08:34PM UTC 365
22.03
GitHub Action Run
9 daemon-4-space-migrations-a - 30579445923.9 30 Jul 2026 08:32PM UTC 50
54.45
GitHub Action Run
10 daemon-0-shared-handlers-workflow - 30579445923.10 30 Jul 2026 08:34PM UTC 370
32.62
GitHub Action Run
11 daemon-online-coordinator - 30579445923.11 30 Jul 2026 08:31PM UTC 354
7.91
GitHub Action Run
12 daemon-online-rpc-4 - 30579445923.12 30 Jul 2026 08:34PM UTC 365
22.39
GitHub Action Run
13 daemon-5-space-agent-other - 30579445923.13 30 Jul 2026 08:32PM UTC 291
25.51
GitHub Action Run
14 daemon-online-websocket - 30579445923.14 30 Jul 2026 08:33PM UTC 365
17.63
GitHub Action Run
15 daemon-online-features-1 - 30579445923.15 30 Jul 2026 08:34PM UTC 365
22.41
GitHub Action Run
16 daemon-online-space-2 - 30579445923.16 30 Jul 2026 08:35PM UTC 365
31.66
GitHub Action Run
17 daemon-1-core - 30579445923.17 30 Jul 2026 08:33PM UTC 370
34.8
GitHub Action Run
18 daemon-online-sdk - 30579445923.18 30 Jul 2026 08:33PM UTC 365
21.73
GitHub Action Run
19 daemon-online-rpc-3 - 30579445923.19 30 Jul 2026 08:34PM UTC 365
18.91
GitHub Action Run
20 daemon-online-convo - 30579445923.20 30 Jul 2026 08:33PM UTC 365
21.63
GitHub Action Run
21 daemon-5-space-runtime-b - 30579445923.21 30 Jul 2026 08:32PM UTC 195
49.55
GitHub Action Run
22 daemon-4-space-migrations-b - 30579445923.22 30 Jul 2026 08:33PM UTC 74
37.93
GitHub Action Run
23 daemon-online-rpc-2 - 30579445923.23 30 Jul 2026 08:32PM UTC 365
22.7
GitHub Action Run
24 daemon-online-features-2 - 30579445923.24 30 Jul 2026 08:32PM UTC 365
21.86
GitHub Action Run
25 web - 30579445923.25 30 Jul 2026 08:33PM UTC 252
74.69
GitHub Action Run
26 daemon-online-rpc-1 - 30579445923.26 30 Jul 2026 08:35PM UTC 365
18.58
GitHub Action Run
27 daemon-online-mcp - 30579445923.27 30 Jul 2026 08:34PM UTC 365
17.84
GitHub Action Run
28 daemon-online-components - 30579445923.28 30 Jul 2026 08:37PM UTC 365
17.56
GitHub Action Run
Source Files on build 30579445923
  • Tree
  • List 626
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30579445923
  • 94658dab on github
  • Prev Build on dev (#30579292991)
  • Next Build on dev (#30587330986)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc