Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ describe('Session legacy status (best-effort runtime state)', () => {
dispose: () => {},
};
const agents = {
// create is create-or-get for explicit ids: this session's main agent
// already exists, so return it as-is (same as whenReady).
Comment on lines +86 to +87

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the inline statement comment

packages/agent-core-v2/AGENTS.md requires comments in this package to live only in the top-of-file /** */ block and says to never place them beside statements; this new explanation is inside the agents object. Move the rationale into the existing file header or drop it so the test stays within the package's documented convention.

Useful? React with 👍 / 👎.

create: () => Promise.resolve(agent),
whenReady: () => Promise.resolve(agent),
} as unknown as IAgentLifecycleService;
const session: ISessionScopeHandle = {
Expand Down
Loading