mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
chore(evals): remove added shared credential comments
Preserve baseline comments and executable source while following the contribution requirements. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
f3d21b7456
commit
57509a283b
2 files changed
+1
-6
No files matched your search
@@ -195,11 +195,8 @@ export interface ChatCatalogCase {
|
||||
/** Known missing catalog conditions keep this executable diagnostic case from acceptance. */
|
||||
coverageGaps?: readonly string[];
|
||||
expectedRunCount: number;
|
||||
/** Persisted human comments by default. The two credential cases may count one
|
||||
* independently verified UI question answer as a declared human action instead
|
||||
* of a followup comment; raw comment/query evidence is never rewritten. */
|
||||
/** Persisted human comments; explicit followups must be declared before execution. */
|
||||
expectedHumanMessageCount?: number;
|
||||
/** Only company/personal secure-entry cases; returns identity after full case proof, never authority. */
|
||||
expectedHumanQuestionAnswer?(observation: unknown): ChatCatalogExpectedHumanQuestionAnswer | undefined;
|
||||
/** Genuine persisted human setup turns before the canonical query; included in the total above. */
|
||||
setupHumanMessageCount?: number;
|
||||
@@ -261,7 +258,6 @@ export interface ChatCatalogHumanQuestionAudit {
|
||||
companyId?: string; entityId?: string; action?: string; actorType?: string; actorId?: string;
|
||||
details?: Record<string, unknown> | null;
|
||||
}
|
||||
/** Verify public resolver facts independently of the case's proposed identity. */
|
||||
export function verifyChatCatalogHumanQuestionAnswer(input: {
|
||||
expected: ChatCatalogExpectedHumanQuestionAnswer; companyId: string; issueId: string; agentId: string;
|
||||
canonicalComment: { id: string; authorUserId?: string };
|
||||
|
||||
@@ -5,7 +5,6 @@ import { askUserQuestionsPayloadSchema } from "../../../packages/shared/src/vali
|
||||
export interface SecretQuestionBinding {
|
||||
companyId: string; issueId: string; agentId: string; userId: string; runId: string;
|
||||
}
|
||||
/** Structural admission only. Each credential journey owns its intent and saved-value proof. */
|
||||
export function boundSecretQuestion(value: unknown, b: SecretQuestionBinding, status: "pending" | "answered" = "pending") {
|
||||
const row = value as Partial<AskUserQuestionsInteraction> | undefined;
|
||||
if (!row || typeof row.id !== "string" || row.kind !== "ask_user_questions" || row.status !== status
|
||||
|
||||
Reference in new issue
Block a user