amit221
14ffbe30a0
test(issues): shorten mid-token entity test comment
...
Made-with: Cursor
2026-03-24 15:39:59 +02:00
amit221
98a5e287ef
test(issues): document Greptile mid-token case vs old strip behavior
...
Made-with: Cursor
2026-03-24 15:29:28 +02:00
amit221
2735ef1f4a
fix(issues): decode @mention entities without lockfile or new deps
...
- Drop entities package (CI blocks pnpm-lock.yaml on PRs; reset lockfile to master)
- Restore numeric + allowlisted named entity decoding in issues.ts
- Split Greptile mid-token & case into its own test with review comment
Made-with: Cursor
2026-03-24 15:22:21 +02:00
amit221
53f0988006
Merge origin/master into fix/issue-1255
...
- findMentionedAgents: keep normalizeAgentMentionToken + extractAgentMentionIds
- decode @mention tokens with entities.decodeHTMLStrict (full HTML entities)
- Add entities dependency; expand unit tests for Greptile follow-ups
Made-with: Cursor
2026-03-24 10:03:15 +02:00
amit221
730a67bb20
fix(issues): decode HTML entities in @mention tokens instead of stripping
...
Addresses Greptile review on PR #1363 : numeric entities decode via
code points; named entities use a small allowlist (amp, nbsp, etc.)
so M&M resolves correctly; unknown named entities are preserved.
Adds mid-token tests for & in agent names.
Made-with: Cursor
2026-03-24 09:40:55 +02:00
dotta
08bdc3d28e
Handle nested imported AGENTS edge case
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 20:56:34 -05:00
dotta
e4e5b61596
Fix imported agent bundle frontmatter leakage
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 20:43:20 -05:00
Dotta
eeb7e1a91a
Merge pull request #1655 from paperclipai/pr/pap-795-company-portability
...
feat(portability): improve company import and export flow
2026-03-23 19:45:05 -05:00
Dotta
f2637e6972
Merge pull request #1654 from paperclipai/pr/pap-795-agent-runtime
...
fix(runtime): improve agent recovery and heartbeat operations
2026-03-23 19:44:51 -05:00
dotta
c8f8f6752f
fix: address latest Greptile runtime review
2026-03-23 19:43:50 -05:00
dotta
a3f568dec7
Improve generated company org chart assets
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:58:07 -05:00
dotta
159c5b4360
Preserve sidebar order in company portability
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:59 -05:00
dotta
f9927bdaaa
Disable imported timer heartbeats
...
Prevent company imports from re-enabling scheduler heartbeats on imported agents and cover both new-company and existing-company import flows in portability tests.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:39 -05:00
dotta
dcead97650
Fix company zip imports
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:39 -05:00
dotta
2a6e1cf1fc
Fix imported GitHub skill file paths
...
Normalize GitHub skill directories for blob/file imports and when reading legacy stored metadata so imported SKILL.md files resolve correctly.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:38 -05:00
dotta
a339b488ae
fix: dedupe company skill inventory refreshes
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:38 -05:00
dotta
c41dd2e393
Reduce portability warning fan-out
...
Infer portable repo metadata from local git workspaces when repoUrl is missing, and collapse repeated task workspace export warnings into a single summary per missing workspace.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:38 -05:00
dotta
2e76a2a554
Add routine support to recurring task portability
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:38 -05:00
dotta
19154d0fec
Clarify Codex instruction sources
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
2daae758b1
Include all agents on heartbeats page regardless of interval config
...
Agents without a heartbeat interval configured (intervalSec=0) were
filtered out, making them invisible on the instance heartbeats page.
This prevented managing heartbeats for agents that hadn't been
configured yet (e.g. donchitos company agents).
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
43b21c6033
Ignore .paperclip paths in restart tracking
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
0bb1ee3caa
Recover agent instructions from disk
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
3b2cb3a699
Show all companies' agents on instance heartbeats page
...
The /instance/scheduler-heartbeats endpoint was filtering agents by the
requesting user's company memberships, which meant non-member companies
(like donchitos) were hidden. Since this is an instance-level admin page,
it should show all agents across all companies.
- Added assertInstanceAdmin to authz.ts for reuse
- Replaced assertBoard + company filter with assertInstanceAdmin
- Removed the companyIds-based WHERE clause since instance admins see all
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
1adfd30b3b
fix: recover managed agent instructions from disk
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
a315838d43
fix: preserve agent instructions on adapter switch
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
75c7eb3868
Ignore test-only paths in dev restart tracking
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
eac3f3fa69
Honor explicit failed-run session resume
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
02c779b41d
Use issue participation for agent history
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
5a1e17f27f
Fix issue workspace reuse after isolation
...
Persist realized isolated/operator workspaces back onto the issue as reusable workspaces so later runs stay on the same workspace, and update the issue workspace picker to present realized isolated workspaces as existing workspaces.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:33 -05:00
dotta
8232456ce8
Fix markdown mention chips
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 16:57:27 -05:00
dotta
7f9a76411a
Address Greptile review on board CLI auth
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 08:46:05 -05:00
dotta
37c2c4acc4
Add browser-based board CLI auth flow
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 08:46:05 -05:00
dotta
e6df9fa078
Support GitHub shorthand refs for company import
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-23 08:14:51 -05:00
dotta
da2c15905a
fix: restore post-merge route verification
2026-03-20 17:09:57 -05:00
dotta
be911754c5
Default comment reopen to checked
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-20 17:01:52 -05:00
dotta
df64530333
test: add routines api end-to-end coverage
2026-03-20 16:50:11 -05:00
dotta
8dc98db717
fix: close remaining routine merge blockers
2026-03-20 16:40:27 -05:00
dotta
9093cfbe4f
fix: address greptile routine review
2026-03-20 16:26:29 -05:00
dotta
99eb317600
fix: harden routine dispatch and permissions
2026-03-20 16:15:32 -05:00
dotta
e3c92a20f1
Merge remote-tracking branch 'public-gh/master' into paperclip-routines
...
* public-gh/master: (46 commits)
chore(lockfile): refresh pnpm-lock.yaml (#1377 )
fix: manage codex home per company by default
Ensure agent home directories exist before use
Handle directory entries in imported zip archives
Fix portability import and org chart test blockers
Fix PR verify failures after merge
fix: address greptile follow-up feedback
Address remaining Greptile portability feedback
docs: clarify quickstart npx usage
Add guarded dev restart handling
Fix PAP-576 settings toggles and transcript default
Add username log censor setting
fix: use standard toggle component for permission controls
fix: add missing setPrincipalPermission mock in portability tests
fix: use fixed 1280x640 dimensions for org chart export image
Adjust default CEO onboarding task copy
fix: link Agent Company to agentcompanies.io in export README
fix: strip agents and projects sections from COMPANY.md export body
fix: default company export page to README.md instead of first file
Add default agent instructions bundle
...
# Conflicts:
# packages/adapters/pi-local/src/server/execute.ts
# packages/db/src/migrations/meta/0039_snapshot.json
# packages/db/src/migrations/meta/_journal.json
# server/src/__tests__/agent-permissions-routes.test.ts
# server/src/__tests__/agent-skills-routes.test.ts
# server/src/services/company-portability.ts
# skills/paperclip/references/company-skills.md
# ui/src/api/agents.ts
2026-03-20 15:04:55 -05:00
dotta
d53714a145
fix: manage codex home per company by default
2026-03-20 14:44:27 -05:00
dotta
07757a59e9
Ensure agent home directories exist before use
...
mkdir -p the CODEX_HOME directory in codex-local adapter and the
agentHome directory in the heartbeat service before passing them to
adapters. This prevents CLI tools from erroring when their home
directory hasn't been created yet. Covers all local adapters that
set AGENT_HOME.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-20 14:25:18 -05:00
dotta
553e7b6b30
Fix portability import and org chart test blockers
2026-03-20 14:06:37 -05:00
dotta
1830216078
Fix PR verify failures after merge
2026-03-20 13:40:53 -05:00
dotta
5140d7b0c4
Merge remote-tracking branch 'public-gh/master' into paperclip-company-import-export
...
* public-gh/master:
fix: address greptile follow-up feedback
docs: clarify quickstart npx usage
Add guarded dev restart handling
Fix PAP-576 settings toggles and transcript default
Add username log censor setting
fix: use standard toggle component for permission controls
# Conflicts:
# server/src/routes/agents.ts
# ui/src/pages/AgentDetail.tsx
2026-03-20 13:28:05 -05:00
dotta
a62c264ddf
fix: harden public routine trigger auth
2026-03-20 13:23:31 -05:00
Paperclip Dev
47449152ac
fix(issues): normalize HTML entities in @mention tokens before agent lookup ( #1255 )
...
Rich-text comments store entities like   after @names; strip them before matching agents so issue_comment_mentioned and wake injection work.
Made-with: Cursor
2026-03-20 16:38:55 +00:00
dotta
5b1e1239fd
Fix routine run assignment wakeups
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-20 08:58:24 -05:00
dotta
79652da520
Address remaining Greptile portability feedback
2026-03-20 08:55:10 -05:00
dotta
8fc399f511
Add guarded dev restart handling
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-03-20 08:50:00 -05:00