chore(box): snapshot in-progress auth + user-learning WIP before deploy

Captures uncommitted work present on the live droplet so origin/main can be integrated and the new control toolbar deployed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Yahya Alhinai
2026-06-28 17:49:45 +00:00
parent 63a411490c
commit 454fdab13b
24 changed files with 4684 additions and 412 deletions
+1
View File
@@ -1,5 +1,6 @@
export type { Pod, PodInput, Engineer } from './pod.js';
export type { EngineerContext } from './engineer.js';
export type { UserLearningPodSummary, UserLearningProfile } from './user-learning.js';
export type {
PodActivityEvent,
PodActivityKind,
+9
View File
@@ -11,6 +11,15 @@ export interface Pod {
description?: string;
/** Engineer display names PodMan uses when it speaks. */
members: string[];
/** Latest known Clerk/Gmail profile data per member display name. */
memberProfiles?: Record<
string,
{
displayName: string;
email?: string;
imageUrl?: string;
}
>;
createdAt: string;
updatedAt: string;
}
+37
View File
@@ -0,0 +1,37 @@
export interface UserLearningPodSummary {
podId: string;
podName?: string;
visits: number;
actions: string[];
firstSeenAt: string;
lastSeenAt: string;
}
export interface UserLearningProfile {
clerkUserId: string;
displayName?: string;
email?: string;
imageUrl?: string;
identities: string[];
pods: UserLearningPodSummary[];
recentWork: Array<{
podId: string;
file?: string;
activity?: string;
at: string;
}>;
collaborationStyle: string[];
workingStyle: string[];
goals: string[];
knowledge: string[];
counts: {
podActions: number;
observations: number;
gitStates: number;
collisionsInvolved: number;
outcomes: number;
conversationNotes: number;
hermesJobs: number;
};
updatedAt: string;
}