diff --git a/Tools/VBDocsGen/main.js b/Tools/VBDocsGen/main.js index dd71dc5f..ed060b72 100644 --- a/Tools/VBDocsGen/main.js +++ b/Tools/VBDocsGen/main.js @@ -106,6 +106,25 @@ function parseComment(comment) { } }); break; + case "ai": + if (!/^AI:[0RWX]$/.test(tagLine.content.trim())) { + throw new Error(`Invalid @ai mark: ${tagLine.content.trim()}`); + } + commentStore.push({ tag, data: tagLine.content.trim() }); + break; + case "aidate": { + const value = tagLine.content.trim(); + const date = /* @__PURE__ */ new Date(value + "T00:00:00.000Z"); + if (!/^\d{4}-\d{2}-\d{2}$/.test(value) || Number.isNaN(date.getTime()) || date.toISOString().slice(0, 10) !== value) { + throw new Error(`Invalid @aidate: ${value}`); + } + commentStore.push({ tag, data: value }); + break; + } + case "aidesc": + if (!tagLine.content.trim()) throw new Error("Empty @aidesc"); + commentStore.push({ tag, data: tagLine.content.trim() }); + break; case "example": commentStore.push({ tag, data: tagLine.content.trim() }); break; @@ -329,7 +348,15 @@ function parseModuleOrClass(content, fileName) { break; } }); + for (const tag of ["ai", "aidate", "aidesc"]) { + if (moduleDocsByTag[tag]?.length > 1) { + throw new Error(`Duplicate @${tag} in ${fileName}`); + } + } let mod = { + ...moduleDocsByTag["ai"]?.length ? { ai: moduleDocsByTag["ai"][0].data } : {}, + ...moduleDocsByTag["aidate"]?.length ? { aiDate: moduleDocsByTag["aidate"][0].data } : {}, + ...moduleDocsByTag["aidesc"]?.length ? { aiDescription: moduleDocsByTag["aidesc"][0].data } : {}, name: moduleName, fileName, description: moduleDocsByTag["description"]?.[0]?.data ?? "", diff --git a/Tools/VBDocsGen/main.js.map b/Tools/VBDocsGen/main.js.map index b6580533..dbab03d3 100644 --- a/Tools/VBDocsGen/main.js.map +++ b/Tools/VBDocsGen/main.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["main.ts"], - "sourcesContent": ["/**\r\n 'Some comment\r\n '@param MethodPointer as LongPtr - Pointer to the method to call\r\n '@param iRetType as VbVarType - The return type of the method\r\n '@param vParamTypes as Array> - The types of the parameters\r\n #If VBA7 Then\r\n Public Function CreateFromPointer(ByVal MethodPointer As LongPtr, Optional ByVal iRetType As VbVarType = 0, Optional vParamTypes = Null) As stdCallback\r\n #Else\r\n Public Function CreateFromPointer(ByVal MethodPointer As Long, Optional ByVal iRetType As VbVarType = 0, Optional vParamTypes = Null) As stdCallback\r\n #End If\r\n* TODO: Add public enums\r\n* TODO: Add public types?\r\n* TODO: Add public constants\r\n* TODO: Add line numbers for methods. This could be utilised to add links to source code.\r\n* TODO: Module level variables\r\n*/\r\n\r\n/**\r\n * Take input stubs like:\r\n *\r\n * 'Creates an `stdAcc` object from an `X` and `Y` point location on the screen.\r\n * '@constructor\r\n * '@protected\r\n * '@deprecated\r\n * '@param x as Long - X Coordinate\r\n * '@param y as Long - Y Coordinate\r\n * '@returns stdAcc - Object at the specified point\r\n * '@example ```vb\r\n'acc.CreateFromPoint(100, 200).DoDefaultAction\r\n'```\r\n * '@example ```\r\n * ' acc.CreateFromPoint(0, 0).FindFirst(stdLambda.Create(\"$1.name=\"\"hello\"\" and $1.class=\"\"world\"\"\"))\r\n * '```\r\n * Public Function CreateFromPoint(ByVal x As Long, ByVal y As Long) As stdAcc\r\n *\r\n * 'Search the IAccessible tree for elements which match a certain criteria. Return the first element found.\r\n * '@param ByVal query as stdICallable<(stdAcc,depth)=>EAccFindResult> - Callback returning\r\n * ' EAccFindResult options:\r\n * ' EAccFindResult.NoMatchFound/0/False - Not found, countinue walking\r\n * ' EAccFindResult.MatchFound/1/-1/True - Found, return this element\r\n * ' EAccFindResult.NoMatchCancelSearch/2 - Not found, cancel search\r\n * ' EAccFindResult.NoMatchSkipDescendents/3,else - Not found, don't search descendents\r\n * ' EAccFindResult.MatchFoundSearchDescendents/4 - Same as EAccFindResult.MatchFound\r\n * '@param {EAccFindType=1} - The type of search, 0 for Breadth First Search (BFS) and 1 for Depth First Search (DFS).\r\n * ' To understand the difference between BFS and DFS take this tree:\r\n * ' A\r\n * ' / \\\r\n * ' B C\r\n * ' / / \\\r\n * ' D E F\r\n * ' A BFS will walk this tree in the following order: A, B, C, D, E, F\r\n * ' A DFS will walk this tree in a different order: A, C, F, E, B, D\r\n * '@examples\r\n * ' ```\r\n * ' 'Find where name is \"hello\" and class is \"world\":\r\n * ' el.FindFirst(stdLambda.Create(\"$1.name=\"\"hello\"\" and $1.class=\"\"world\"\"\"))\r\n * ' 'Find first element named \"hello\" at depth > 4:\r\n * ' el.FindFirst(stdLambda.Create(\"$1.name = \"\"hello\"\" AND $2 > 4\"))\r\n * ' ```\r\n * Public Function FindFirst(ByVal query As stdICallable, optional byval searchType as EAccFindType=EAccFindType.DepthFirst) As stdAcc\r\n *\r\n * And dump these to docs array, with structure:\r\n * [\r\n * {\r\n * name: string //name in VBattributes code\r\n * methods: [\r\n * {\r\n * name: string //name in code\r\n * type: \"sub\"|\"function\"|\"property\"\r\n * params: [\r\n * {\r\n * name: string //name in code\r\n * type: string //type in code or type in comment if present\r\n * description: string //description in comment,\r\n * optional: boolean //true if param is optional\r\n * defaultValue: string //default value if param is optional\r\n * paramArray: boolean //true if param is paramarray, false otherwise\r\n * },\r\n * ...\r\n * ],\r\n * returns: {\r\n * type: string //return type in code or type in comment if present\r\n * description: string //description in comment\r\n * },\r\n * description: string //description in comment\r\n * access: \"ReadOnly\"|\"WriteOnly\"|\"ReadWrite\" //access in code\r\n * protected: boolean //true if protected as per comment\r\n * deprecated: boolean //true if deprecated as per comment\r\n * constructor: boolean //true if constructor as per comment\r\n * examples: string[] //examples in comment as markdown\r\n * },\r\n * ...\r\n * ]\r\n * }\r\n * ]\r\n */\r\n\r\nfunction log(\r\n message: string,\r\n type: \"info\" | \"warn\" | \"error\" | \"success\" = \"info\"\r\n) {\r\n switch (type) {\r\n case \"info\":\r\n console.log(`\\x1b[36m\u2139\uFE0F Info: ${message}\\x1b[0m`);\r\n break;\r\n case \"warn\":\r\n console.log(`\\x1b[33;1m\u26A0\uFE0F Warn: ${message}\\x1b[0m`);\r\n break;\r\n case \"error\":\r\n console.log(`\\x1b[31;1m\u274C Error: ${message}\\x1b[0m`);\r\n break;\r\n case \"success\":\r\n console.log(`\\x1b[32;1m\u2705 Success: ${message}\\x1b[0m`);\r\n break;\r\n }\r\n}\r\n\r\n/**\r\n * Groups an array of objects by a key getter\r\n * @param list - The array to group\r\n * @param keyGetter - The key getter to use to group the array\r\n * @returns - The grouped array\r\n */\r\nfunction groupBy(\r\n list: T[],\r\n keyGetter: (item: T) => string\r\n): { [key: string]: T[] } {\r\n const map = Object.create(null) as { [key: string]: T[] };\r\n if (!list) return map;\r\n\r\n list.forEach((item) => {\r\n const key = keyGetter(item);\r\n const collection = map[key];\r\n if (!collection) {\r\n map[key] = [item];\r\n } else {\r\n collection.push(item);\r\n }\r\n });\r\n\r\n return map;\r\n}\r\n\r\ntype IDocs = (IModule | IClass)[];\r\ntype IModule = {\r\n name: string;\r\n fileName: string;\r\n description: string;\r\n remarks: string[];\r\n examples: string[];\r\n methods: IMethod[];\r\n properties: IProperty[];\r\n devNotes: string[];\r\n todos: string[];\r\n requires: string[];\r\n};\r\ntype IClass = IModule & {\r\n implements: string[];\r\n constructors: IConstructor[];\r\n events: IEvent[];\r\n};\r\ntype IMethod = {\r\n name: string;\r\n description: string;\r\n remarks: string[];\r\n examples: string[];\r\n params: IParam[];\r\n returns: IReturn;\r\n devNotes: string[];\r\n todos: string[];\r\n throws: IThrows[];\r\n requires: string[];\r\n\r\n isStatic: boolean;\r\n isProtected: boolean;\r\n isDefaultMember: boolean;\r\n deprecation: {\r\n status: boolean;\r\n message: string;\r\n };\r\n};\r\n\r\ntype IProperty = IMethod & {\r\n access: \"ReadOnly\" | \"WriteOnly\" | \"ReadWrite\";\r\n};\r\ntype IConstructor = IMethod;\r\ntype IEvent = {\r\n name: string;\r\n description: string;\r\n remarks: string[];\r\n examples: string[];\r\n params: IParam[];\r\n devNotes: string[];\r\n todos: string[];\r\n};\r\ntype IParam = {\r\n name: string;\r\n type: string;\r\n description: string;\r\n optional: boolean;\r\n defaultValue: string | null;\r\n paramArray: boolean;\r\n referenceType: \"ByRef\" | \"ByVal\";\r\n};\r\ntype IReturn = {\r\n type: string;\r\n description: string;\r\n};\r\ntype IThrows = {\r\n errNumber: number;\r\n errText: string;\r\n};\r\n\r\ntype ITagTypes =\r\n | \"constructor\"\r\n | \"protected\"\r\n | \"deprecated\"\r\n | \"param\"\r\n | \"returns\"\r\n | \"example\"\r\n | \"description\"\r\n | \"remark\"\r\n | \"devNote\"\r\n | \"TODO\"\r\n | \"throws\"\r\n | \"requires\"\r\n | \"static\";\r\n\r\ntype ITagLine = {\r\n tag: ITagTypes;\r\n content: string;\r\n};\r\n\r\ntype ICommentStore = ICommentRecord[];\r\ntype ICommentRecord =\r\n | IDataConstructor\r\n | IDataProtected\r\n | IDataDeprecated\r\n | IDataParam\r\n | IDataReturn\r\n | IDataExample\r\n | IDataDescription\r\n | IDataRemark\r\n | IDataDevNote\r\n | IDataTODO\r\n | IDataThrows\r\n | IDataRequires\r\n | IDataStatic;\r\n\r\ntype IDataConstructor = {\r\n tag: \"constructor\";\r\n};\r\ntype IDataProtected = {\r\n tag: \"protected\";\r\n};\r\ntype IDataDeprecated = {\r\n tag: \"deprecated\";\r\n data: \"\" | string; //E.G. \"Use `stdLambda.Create()` instead.\"\r\n};\r\ntype IDataParam = {\r\n tag: \"param\";\r\n data: {\r\n name: string; //from comment\r\n type: string; //from comment or param data\r\n description: string; //from comment\r\n referenceType?: string; //from param data\r\n paramArray?: boolean; //from param data\r\n optional?: boolean; //from param data\r\n defaultValue?: string | null; //from param data\r\n };\r\n};\r\ntype IDataReturn = {\r\n tag: \"returns\";\r\n data: {\r\n type: string; //from comment or param data\r\n description: string;\r\n };\r\n};\r\ntype IDataExample = {\r\n tag: \"example\";\r\n data: string;\r\n};\r\ntype IDataDescription = {\r\n tag: \"description\";\r\n data: string;\r\n};\r\ntype IDataRemark = {\r\n tag: \"remark\";\r\n data: string;\r\n};\r\ntype IDataDevNote = {\r\n tag: \"devNote\";\r\n data: string;\r\n};\r\ntype IDataTODO = {\r\n tag: \"TODO\";\r\n data: string;\r\n};\r\ntype IDataThrows = {\r\n tag: \"throws\";\r\n data: {\r\n errNumber: number;\r\n errText: string;\r\n };\r\n};\r\ntype IDataRequires = {\r\n tag: \"requires\";\r\n data: string;\r\n};\r\ntype IDataStatic = {\r\n tag: \"static\";\r\n};\r\n\r\n//Assertions to ensure all tags declared in ITagTypes are implemented\r\ntype TagFromRecord = ICommentRecord extends { tag: infer T } ? T : never;\r\ntype TagsAreEqual = [ITagTypes] extends [TagFromRecord]\r\n ? [TagFromRecord] extends [ITagTypes]\r\n ? true\r\n : false\r\n : false;\r\ntype _AssertTagMatch = T;\r\n\r\n// \u274C Error here if not all tags in ITagTypes are implemented in ICommentRecord\r\ntype __triggerTagMismatchError = _AssertTagMatch;\r\n\r\n/**\r\n * Parses a comment block and extracts lines starting with tagged annotations.\r\n *\r\n * A tagged line must begin with `'@tagName` followed by its content.\r\n * Lines without a leading `'@` are grouped as part of the previous tag's content.\r\n *\r\n * Example input:\r\n * ```\r\n * '@test hello\r\n * '@test world\r\n * '@this is\r\n * 'fine\r\n * '@thing\r\n * ```\r\n * Produces:\r\n * ```ts\r\n * [\r\n * { tag: \"test\", content: \"hello\" },\r\n * { tag: \"test\", content: \"world\" },\r\n * { tag: \"this\", content: \"is\\r\\n'fine\" },\r\n * { tag: \"thing\", content: \"\" }\r\n * ]\r\n * ```\r\n * @param comment - The full comment string to parse.\r\n * @returns An array of tag-content pairs extracted from the comment.\r\n */\r\nfunction parseToTagLines(comment: string): ITagLine[] {\r\n const groupByRx = /'@(?\\w+)(?.*\\s+(?:'[^@][^\\n]*\\s+)*)?/g;\r\n const matches = [...comment.matchAll(groupByRx)];\r\n return matches.map((match) => ({\r\n tag: match.groups?.type as ITagTypes,\r\n content: match.groups?.content?.replace(/^'/gm, \"\") ?? \"\",\r\n }));\r\n}\r\n\r\n/**\r\n * Transforms a comment into a comment store object\r\n * @param comment - The comment to parse\r\n * @returns - The comment store object\r\n */\r\nfunction parseComment(comment: string): ICommentStore {\r\n //If undefined or empty, return empty array\r\n if (!comment) return [];\r\n\r\n //inject @description into 1st line of comment for easier parsing\r\n if (!/@description/.test(comment))\r\n comment = comment.replace(/^'/g, \"'@description \");\r\n const tagLines = parseToTagLines(comment);\r\n\r\n //Extracts and groups comments under their flag/tag type e.g. \"@example hello\\r\\n'world\"\r\n const regexTags = {\r\n description: /^\\s*(?[\\s\\S]+)/i,\r\n param:\r\n /^\\s*(?\\w+)\\s*(?:as\\s+(?[^-]+))?(?:\\s*-\\s*(?[\\s\\S]+))?$/i, //regex needs work\r\n returns: /^\\s*(?[^-\\r\\n]+)?(?:\\s*-\\s*(?[\\s\\S]+))?$/i,\r\n constructor: /(?:constructor)?/g, //overwrites native constructor\r\n throws: /(?\\d+)\\s*,\\s*(?.+)/i,\r\n };\r\n\r\n //Parse comment into comment store\r\n const commentStore: ICommentStore = [];\r\n for (let tagLine of tagLines) {\r\n let tag = tagLine.tag;\r\n let groups;\r\n if (!!regexTags[tag]) {\r\n groups = regexTags[tag].exec(tagLine.content)?.groups;\r\n }\r\n\r\n //If comment not valid ignore\r\n switch (tag) {\r\n case \"description\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"param\":\r\n if (!!groups?.name)\r\n commentStore.push({\r\n tag,\r\n data: {\r\n name: groups.name.trim(),\r\n type: groups?.type?.trim(),\r\n description: groups?.description.trim(),\r\n },\r\n });\r\n break;\r\n case \"returns\":\r\n commentStore.push({\r\n tag,\r\n data: {\r\n type: groups?.type?.trim(),\r\n description: groups?.description.trim(),\r\n },\r\n });\r\n break;\r\n case \"example\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"remark\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"devNote\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"constructor\":\r\n commentStore.push({ tag });\r\n break;\r\n case \"protected\":\r\n commentStore.push({ tag });\r\n break;\r\n case \"deprecated\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"TODO\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"throws\":\r\n commentStore.push({\r\n tag,\r\n data: {\r\n errNumber: Number(groups?.errNumber),\r\n errText: groups?.errText,\r\n },\r\n });\r\n break;\r\n case \"requires\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"static\":\r\n commentStore.push({ tag });\r\n break;\r\n //@ts-ignore\r\n case \"module\":\r\n break;\r\n default:\r\n log(`Unknown tag \"${tag}\"`, \"warn\");\r\n }\r\n }\r\n\r\n return commentStore;\r\n}\r\n\r\n/**\r\n * Given a VBA param string and a param data object initialised from the comment, obtains additional information from the param data and injects it into the param data object.\r\n * @param params - The param string to parse.\r\n * @param dataParams - The params data objects to populate.\r\n * @returns - The populated param data object.\r\n */\r\nfunction parseParams(params: string, dataParams: IDataParam[]): IDataParam[] {\r\n //Group params by name\r\n const paramData = groupBy(dataParams, (d) =>\r\n d.data.name.toLowerCase()\r\n );\r\n\r\n const paramRegex =\r\n /(?optional\\s+)?(?:(?byval|byref)\\s+)?(?:(?paramarray)\\s+)?(?\\w+)(?\\(\\))?(?:\\s+as\\s+(?[^, )]+))?(?:\\s*=\\s*(?[^,\\)]+))?/gi;\r\n const paramMatches = [...params.matchAll(paramRegex)];\r\n\r\n const paramStore: IDataParam[] = [];\r\n for (let paramMatch of paramMatches) {\r\n //Get param name from Function/Sub declaration\r\n let name = paramMatch.groups?.name;\r\n if (!name) continue;\r\n\r\n //Get param data from comment\r\n if (!paramData[name.toLowerCase()]?.length) continue;\r\n const commentData = paramData[name.toLowerCase()][0].data;\r\n\r\n /**\r\n * Parse param type, prioritise comment type, then code type, then default to Variant\r\n * description is always the comment description\r\n * referenceType is from the function/sub declaration, or ByRef if unspecified\r\n * paramArray is from the function/sub declaration, or false if unspecified\r\n * optional is from the function/sub declaration, or false if unspecified\r\n * If param is optional, and no default value is provided, set default value to null\r\n */\r\n let paramType: string =\r\n commentData.type ?? paramMatch.groups?.type ?? \"Variant\";\r\n let paramDescription: string = commentData.description ?? \"\";\r\n let paramReferenceType: string =\r\n paramMatch.groups?.referenceType ?? \"ByRef\";\r\n let paramIsParamArray: boolean = !!paramMatch.groups?.paramArray;\r\n let paramIsArray: boolean = !!paramMatch.groups?.isArray;\r\n let paramIsOptional: boolean = !!paramMatch.groups?.optional;\r\n let paramDefaultValue: string | null = !!paramMatch.groups?.optional\r\n ? paramMatch.groups.defaultValue ?? null\r\n : null;\r\n\r\n //Special cases\r\n //If param is an array, and no type is provided in the commentary, assume it's an array of `paramType`\r\n if (paramIsArray && !!commentData.type) paramType = `Array<${paramType}>`;\r\n\r\n //Add param to store\r\n paramStore.push({\r\n tag: \"param\",\r\n data: {\r\n name: name.trim(),\r\n type: paramType.trim(),\r\n description: paramDescription.trim(),\r\n referenceType: paramReferenceType,\r\n paramArray: paramIsParamArray,\r\n optional: paramIsOptional,\r\n defaultValue: paramDefaultValue,\r\n },\r\n });\r\n }\r\n\r\n return paramStore;\r\n}\r\n\r\nfunction parseModuleOrClass(\r\n content: string,\r\n fileName: string\r\n): IModule | IClass {\r\n let isClass = /^VERSION 1.0 CLASS/.test(content);\r\n\r\n //remove all conditional compilation from module\r\n let regexConditionalCompilation = /#if.+then\\s+((.|\\s)+?)#end if/gi;\r\n while (regexConditionalCompilation.test(content)) {\r\n content = content.replace(regexConditionalCompilation, \"$1\");\r\n }\r\n\r\n //Initialise module\r\n const moduleNameFinder = /Attribute VB_Name = \"(?[^\"]+)\"/i;\r\n const moduleName =\r\n moduleNameFinder.exec(content)?.groups?.name ?? fileName.split(\".\")[0];\r\n log(`Parsing module \"${moduleName}\"`);\r\n const moduleDocsFinder = /^'@module\\r?\\n(?:'.*\\r?\\n?)*/im;\r\n const moduleDocsString = moduleDocsFinder.exec(content)?.[0];\r\n const moduleDocs = parseComment(moduleDocsString);\r\n const moduleDocsByTag = groupBy(moduleDocs, (c) => c.tag);\r\n const moduleTODOs = Array.from(content.matchAll(/'TODO: (.*)/gi)).map(\r\n (m) => m[1]\r\n );\r\n\r\n const defaultMemberFinder = /Attribute (\\w+).VB_(Var)?UserMemId += +0/i;\r\n const defaultMember = defaultMemberFinder.exec(content)?.groups?.[1];\r\n const implementsFinder = /^implements +(?\\w+)/gi;\r\n const _implements = Array.from(content.matchAll(implementsFinder)).map(\r\n (m) => m.groups?.interface\r\n );\r\n\r\n //Find documentation. This usually looks like a comment block, followed by a method/property/event declaration.\r\n const memberDocsFinder =\r\n /(?(?:\\'.*\\r?\\n)*)(?Function|Sub|Event|Property) ?(?Get|Let|Set)?) (?\\w+)\\((?[^)]*)\\)(?: as (?(?:\\w+\\.)?\\w+))?/gim;\r\n const memberMatches = Array.from(content.matchAll(memberDocsFinder));\r\n\r\n //populate members\r\n let constructors: IConstructor[] = [];\r\n let events: IEvent[] = [];\r\n let properties: IProperty[] = [];\r\n let methods: IMethod[] = [];\r\n let membersByName = groupBy(memberMatches, (m: any) =>\r\n m.groups?.name.toLowerCase()\r\n ); //used for property access\r\n let memberAlreadyProcessed: { [key: string]: boolean } = {};\r\n memberMatches.forEach((match) => {\r\n let sComment = match.groups?.comments;\r\n let sType: \"function\" | \"sub\" | \"event\" | \"property\" =\r\n match.groups?.type.toLowerCase() as\r\n | \"function\"\r\n | \"sub\"\r\n | \"event\"\r\n | \"property\";\r\n let sName = match.groups?.name;\r\n let sParams = match.groups?.params ?? \"\";\r\n let sRetType = match.groups?.retType ?? \"Void\";\r\n\r\n //Mark member as processed to ensure it doesn't get processed again, especially important for properties as each `get`, `let` and `set` are declared as different rows.\r\n if (memberAlreadyProcessed[sName.toLowerCase()]) return;\r\n memberAlreadyProcessed[sName.toLowerCase()] = true;\r\n\r\n //Determine property access\r\n let access: \"ReadOnly\" | \"WriteOnly\" | \"ReadWrite\";\r\n if (sType === \"property\") {\r\n let accessTypes = membersByName[sName.toLowerCase()].map((match) =>\r\n match.groups?.access.toLowerCase()\r\n );\r\n let readAccess = accessTypes.includes(\"get\");\r\n let writeAccess =\r\n accessTypes.includes(\"let\") || accessTypes.includes(\"set\");\r\n if (readAccess && writeAccess) {\r\n access = \"ReadWrite\";\r\n } else if (readAccess) {\r\n access = \"ReadOnly\";\r\n } else if (writeAccess) {\r\n access = \"WriteOnly\";\r\n }\r\n }\r\n\r\n let commentData: ICommentStore;\r\n if (sComment.length > 0) {\r\n commentData = parseComment(sComment);\r\n }\r\n let commentDataByTag = groupBy(commentData, (c) => c.tag);\r\n\r\n let params: IParam[] = parseParams(\r\n sParams,\r\n commentDataByTag[\"param\"] as IDataParam[]\r\n ).map((param: IDataParam) => {\r\n return {\r\n name: param.data.name,\r\n type: param.data.type,\r\n description: param.data?.description ?? \"\",\r\n optional: param.data?.optional ?? false,\r\n defaultValue: param.data?.defaultValue ?? null,\r\n paramArray: param.data?.paramArray ?? false,\r\n referenceType:\r\n (param.data?.referenceType as \"ByRef\" | \"ByVal\" | null) ?? \"ByRef\",\r\n };\r\n });\r\n\r\n switch (sType) {\r\n case \"sub\":\r\n case \"function\":\r\n let arrToPushTo: IMethod[] | IConstructor[] = !!commentDataByTag[\r\n \"constructor\"\r\n ]?.length\r\n ? constructors\r\n : methods;\r\n\r\n let func: IConstructor | IMethod = {\r\n name: sName,\r\n description:\r\n (commentDataByTag[\"description\"]?.[0] as IDataDescription)?.data ??\r\n \"\",\r\n remarks:\r\n commentDataByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n commentDataByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n params,\r\n returns:\r\n sType === \"sub\"\r\n ? null\r\n : {\r\n type:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .type ?? sRetType,\r\n description:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .description ?? \"\",\r\n },\r\n deprecation: {\r\n status: !!commentDataByTag[\"deprecated\"]?.length,\r\n message:\r\n (commentDataByTag[\"deprecated\"]?.[0] as IDataDeprecated)?.data ??\r\n \"\",\r\n },\r\n isDefaultMember: defaultMember === sName,\r\n devNotes:\r\n commentDataByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: commentDataByTag[\"todo\"]?.map((c: IDataTODO) => c.data) ?? [],\r\n isProtected: !!commentDataByTag[\"protected\"]?.length,\r\n throws:\r\n commentDataByTag[\"throws\"]?.map((c: IDataThrows) => c.data) ?? [],\r\n requires:\r\n commentDataByTag[\"requires\"]?.map((c: IDataRequires) => c.data) ??\r\n [],\r\n isStatic: !!commentDataByTag[\"static\"]?.length,\r\n };\r\n arrToPushTo.push(func);\r\n break;\r\n case \"property\":\r\n let prop: IProperty = {\r\n name: sName,\r\n access,\r\n description:\r\n (commentDataByTag[\"description\"]?.[0] as IDataDescription)?.data ??\r\n \"\",\r\n remarks:\r\n commentDataByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n commentDataByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n params,\r\n returns: {\r\n type:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data.type ??\r\n sRetType,\r\n description:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .description ?? \"\",\r\n },\r\n deprecation: {\r\n status: !!commentDataByTag[\"deprecated\"]?.length,\r\n message:\r\n (commentDataByTag[\"deprecated\"]?.[0] as IDataDeprecated)?.data ??\r\n \"\",\r\n },\r\n isDefaultMember: defaultMember === sName,\r\n devNotes:\r\n commentDataByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: commentDataByTag[\"todo\"]?.map((c: IDataTODO) => c.data) ?? [],\r\n isProtected: !!commentDataByTag[\"protected\"]?.length,\r\n throws:\r\n commentDataByTag[\"throws\"]?.map((c: IDataThrows) => c.data) ?? [],\r\n requires:\r\n commentDataByTag[\"requires\"]?.map((c: IDataRequires) => c.data) ??\r\n [],\r\n isStatic: !!commentDataByTag[\"static\"]?.length,\r\n };\r\n properties.push(prop);\r\n break;\r\n case \"event\":\r\n events.push({\r\n name: sName,\r\n description:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .description ?? \"\",\r\n remarks:\r\n commentDataByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n commentDataByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n params,\r\n devNotes:\r\n commentDataByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: commentDataByTag[\"todo\"]?.map((c: IDataTODO) => c.data) ?? [],\r\n });\r\n break;\r\n }\r\n });\r\n\r\n //Build base module\r\n let mod: IModule = {\r\n name: moduleName,\r\n fileName,\r\n description:\r\n (moduleDocsByTag[\"description\"]?.[0] as IDataDescription)?.data ?? \"\",\r\n remarks: moduleDocsByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n moduleDocsByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n devNotes:\r\n moduleDocsByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: moduleTODOs,\r\n requires:\r\n moduleDocsByTag[\"requires\"]?.map((c: IDataRequires) => c.data) ?? [],\r\n methods,\r\n properties,\r\n };\r\n\r\n //If it's a class then add additional members\r\n if (isClass) {\r\n return {\r\n ...mod,\r\n constructors,\r\n events,\r\n implements: _implements,\r\n };\r\n } else {\r\n return mod;\r\n }\r\n}\r\n\r\nimport { throws } from \"assert\";\r\nimport * as fs from \"fs\";\r\nfunction main() {\r\n //Find all files in ../../src directory\r\n let files = fs.readdirSync(__dirname + \"/../../src\");\r\n files = files.filter((f) =>\r\n fs.lstatSync(__dirname + \"/../../src/\" + f).isFile()\r\n );\r\n\r\n //Scan files for public methods and properties, dump to docs array\r\n let docs: IDocs = files.map((file) => {\r\n return parseModuleOrClass(\r\n fs.readFileSync(__dirname + \"/../../src/\" + file, \"utf8\"),\r\n file\r\n );\r\n });\r\n\r\n //Dump docs array to docs.json\r\n fs.writeFileSync(\r\n __dirname + \"/../../docs.json\",\r\n JSON.stringify(docs, null, 2),\r\n \"utf8\"\r\n );\r\n}\r\n\r\nmain();\r\n"], - "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAwwBA,SAAoB;AAvqBpB,SAAS,IACP,SACA,OAA8C,QAC9C;AACA,UAAQ,MAAM;AAAA,IACZ,KAAK;AACH,cAAQ,IAAI,+BAAqB,OAAO,SAAS;AACjD;AAAA,IACF,KAAK;AACH,cAAQ,IAAI,iCAAuB,OAAO,SAAS;AACnD;AAAA,IACF,KAAK;AACH,cAAQ,IAAI,4BAAuB,OAAO,SAAS;AACnD;AAAA,IACF,KAAK;AACH,cAAQ,IAAI,8BAAyB,OAAO,SAAS;AACrD;AAAA,EACJ;AACF;AAQA,SAAS,QACP,MACA,WACwB;AACxB,QAAM,MAAM,uBAAO,OAAO,IAAI;AAC9B,MAAI,CAAC,KAAM,QAAO;AAElB,OAAK,QAAQ,CAAC,SAAS;AACrB,UAAM,MAAM,UAAU,IAAI;AAC1B,UAAM,aAAa,IAAI,GAAG;AAC1B,QAAI,CAAC,YAAY;AACf,UAAI,GAAG,IAAI,CAAC,IAAI;AAAA,IAClB,OAAO;AACL,iBAAW,KAAK,IAAI;AAAA,IACtB;AAAA,EACF,CAAC;AAED,SAAO;AACT;AAkNA,SAAS,gBAAgB,SAA6B;AACpD,QAAM,YAAY;AAClB,QAAM,UAAU,CAAC,GAAG,QAAQ,SAAS,SAAS,CAAC;AAC/C,SAAO,QAAQ,IAAI,CAAC,WAAW;AAAA,IAC7B,KAAK,MAAM,QAAQ;AAAA,IACnB,SAAS,MAAM,QAAQ,SAAS,QAAQ,QAAQ,EAAE,KAAK;AAAA,EACzD,EAAE;AACJ;AAOA,SAAS,aAAa,SAAgC;AAEpD,MAAI,CAAC,QAA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AAAA,EACF;AAGA,MAAI,SAAS;AACX,WAAO;AAAA,MACL,GAAG;AAAA,MACH;AAAA,MACA;AAAA,MACA,YAAY;AAAA,IACd;AAAA,EACF,OAAO;AACL,WAAO;AAAA,EACT;AACF;AAIA,SAAS,OAAO;AAEd,MAAI,QAAW,eAAY,YAAY,YAAY;AACnD,UAAQ,MAAM;AAAA,IAAO,CAAC,MACjB,aAAU,YAAY,gBAAgB,CAAC,EAAE,OAAO;AAAA,EACrD;AAGA,MAAI,OAAc,MAAM,IAAI,CAAC,SAAS;AACpC,WAAO;AAAA,MACF,gBAAa,YAAY,gBAAgB,MAAM,MAAM;AAAA,MACxD;AAAA,IACF;AAAA,EACF,CAAC;AAGD,EAAG;AAAA,IACD,YAAY;AAAA,IACZ,KAAK,UAAU,MAAM,MAAM,CAAC;AAAA,IAC5B;AAAA,EACF;AACF;AAEA,KAAK;", + "sourcesContent": ["/**\r\n 'Some comment\r\n '@param MethodPointer as LongPtr - Pointer to the method to call\r\n '@param iRetType as VbVarType - The return type of the method\r\n '@param vParamTypes as Array> - The types of the parameters\r\n #If VBA7 Then\r\n Public Function CreateFromPointer(ByVal MethodPointer As LongPtr, Optional ByVal iRetType As VbVarType = 0, Optional vParamTypes = Null) As stdCallback\r\n #Else\r\n Public Function CreateFromPointer(ByVal MethodPointer As Long, Optional ByVal iRetType As VbVarType = 0, Optional vParamTypes = Null) As stdCallback\r\n #End If\r\n* TODO: Add public enums\r\n* TODO: Add public types?\r\n* TODO: Add public constants\r\n* TODO: Add line numbers for methods. This could be utilised to add links to source code.\r\n* TODO: Module level variables\r\n*/\r\n\r\n/**\r\n * Take input stubs like:\r\n *\r\n * 'Creates an `stdAcc` object from an `X` and `Y` point location on the screen.\r\n * '@constructor\r\n * '@protected\r\n * '@deprecated\r\n * '@param x as Long - X Coordinate\r\n * '@param y as Long - Y Coordinate\r\n * '@returns stdAcc - Object at the specified point\r\n * '@example ```vb\r\n'acc.CreateFromPoint(100, 200).DoDefaultAction\r\n'```\r\n * '@example ```\r\n * ' acc.CreateFromPoint(0, 0).FindFirst(stdLambda.Create(\"$1.name=\"\"hello\"\" and $1.class=\"\"world\"\"\"))\r\n * '```\r\n * Public Function CreateFromPoint(ByVal x As Long, ByVal y As Long) As stdAcc\r\n *\r\n * 'Search the IAccessible tree for elements which match a certain criteria. Return the first element found.\r\n * '@param ByVal query as stdICallable<(stdAcc,depth)=>EAccFindResult> - Callback returning\r\n * ' EAccFindResult options:\r\n * ' EAccFindResult.NoMatchFound/0/False - Not found, countinue walking\r\n * ' EAccFindResult.MatchFound/1/-1/True - Found, return this element\r\n * ' EAccFindResult.NoMatchCancelSearch/2 - Not found, cancel search\r\n * ' EAccFindResult.NoMatchSkipDescendents/3,else - Not found, don't search descendents\r\n * ' EAccFindResult.MatchFoundSearchDescendents/4 - Same as EAccFindResult.MatchFound\r\n * '@param {EAccFindType=1} - The type of search, 0 for Breadth First Search (BFS) and 1 for Depth First Search (DFS).\r\n * ' To understand the difference between BFS and DFS take this tree:\r\n * ' A\r\n * ' / \\\r\n * ' B C\r\n * ' / / \\\r\n * ' D E F\r\n * ' A BFS will walk this tree in the following order: A, B, C, D, E, F\r\n * ' A DFS will walk this tree in a different order: A, C, F, E, B, D\r\n * '@examples\r\n * ' ```\r\n * ' 'Find where name is \"hello\" and class is \"world\":\r\n * ' el.FindFirst(stdLambda.Create(\"$1.name=\"\"hello\"\" and $1.class=\"\"world\"\"\"))\r\n * ' 'Find first element named \"hello\" at depth > 4:\r\n * ' el.FindFirst(stdLambda.Create(\"$1.name = \"\"hello\"\" AND $2 > 4\"))\r\n * ' ```\r\n * Public Function FindFirst(ByVal query As stdICallable, optional byval searchType as EAccFindType=EAccFindType.DepthFirst) As stdAcc\r\n *\r\n * And dump these to docs array, with structure:\r\n * [\r\n * {\r\n * name: string //name in VBattributes code\r\n * methods: [\r\n * {\r\n * name: string //name in code\r\n * type: \"sub\"|\"function\"|\"property\"\r\n * params: [\r\n * {\r\n * name: string //name in code\r\n * type: string //type in code or type in comment if present\r\n * description: string //description in comment,\r\n * optional: boolean //true if param is optional\r\n * defaultValue: string //default value if param is optional\r\n * paramArray: boolean //true if param is paramarray, false otherwise\r\n * },\r\n * ...\r\n * ],\r\n * returns: {\r\n * type: string //return type in code or type in comment if present\r\n * description: string //description in comment\r\n * },\r\n * description: string //description in comment\r\n * access: \"ReadOnly\"|\"WriteOnly\"|\"ReadWrite\" //access in code\r\n * protected: boolean //true if protected as per comment\r\n * deprecated: boolean //true if deprecated as per comment\r\n * constructor: boolean //true if constructor as per comment\r\n * examples: string[] //examples in comment as markdown\r\n * },\r\n * ...\r\n * ]\r\n * }\r\n * ]\r\n */\r\n\r\nfunction log(\r\n message: string,\r\n type: \"info\" | \"warn\" | \"error\" | \"success\" = \"info\"\r\n) {\r\n switch (type) {\r\n case \"info\":\r\n console.log(`\\x1b[36m\u2139\uFE0F Info: ${message}\\x1b[0m`);\r\n break;\r\n case \"warn\":\r\n console.log(`\\x1b[33;1m\u26A0\uFE0F Warn: ${message}\\x1b[0m`);\r\n break;\r\n case \"error\":\r\n console.log(`\\x1b[31;1m\u274C Error: ${message}\\x1b[0m`);\r\n break;\r\n case \"success\":\r\n console.log(`\\x1b[32;1m\u2705 Success: ${message}\\x1b[0m`);\r\n break;\r\n }\r\n}\r\n\r\n/**\r\n * Groups an array of objects by a key getter\r\n * @param list - The array to group\r\n * @param keyGetter - The key getter to use to group the array\r\n * @returns - The grouped array\r\n */\r\nfunction groupBy(\r\n list: T[],\r\n keyGetter: (item: T) => string\r\n): { [key: string]: T[] } {\r\n const map = Object.create(null) as { [key: string]: T[] };\r\n if (!list) return map;\r\n\r\n list.forEach((item) => {\r\n const key = keyGetter(item);\r\n const collection = map[key];\r\n if (!collection) {\r\n map[key] = [item];\r\n } else {\r\n collection.push(item);\r\n }\r\n });\r\n\r\n return map;\r\n}\r\n\r\ntype IDocs = (IModule | IClass)[];\r\ntype IModule = {\r\n ai?: string;\r\n aiDate?: string;\r\n aiDescription?: string;\r\n name: string;\r\n fileName: string;\r\n description: string;\r\n remarks: string[];\r\n examples: string[];\r\n methods: IMethod[];\r\n properties: IProperty[];\r\n devNotes: string[];\r\n todos: string[];\r\n requires: string[];\r\n};\r\ntype IClass = IModule & {\r\n implements: string[];\r\n constructors: IConstructor[];\r\n events: IEvent[];\r\n};\r\ntype IMethod = {\r\n name: string;\r\n description: string;\r\n remarks: string[];\r\n examples: string[];\r\n params: IParam[];\r\n returns: IReturn;\r\n devNotes: string[];\r\n todos: string[];\r\n throws: IThrows[];\r\n requires: string[];\r\n\r\n isStatic: boolean;\r\n isProtected: boolean;\r\n isDefaultMember: boolean;\r\n deprecation: {\r\n status: boolean;\r\n message: string;\r\n };\r\n};\r\n\r\ntype IProperty = IMethod & {\r\n access: \"ReadOnly\" | \"WriteOnly\" | \"ReadWrite\";\r\n};\r\ntype IConstructor = IMethod;\r\ntype IEvent = {\r\n name: string;\r\n description: string;\r\n remarks: string[];\r\n examples: string[];\r\n params: IParam[];\r\n devNotes: string[];\r\n todos: string[];\r\n};\r\ntype IParam = {\r\n name: string;\r\n type: string;\r\n description: string;\r\n optional: boolean;\r\n defaultValue: string | null;\r\n paramArray: boolean;\r\n referenceType: \"ByRef\" | \"ByVal\";\r\n};\r\ntype IReturn = {\r\n type: string;\r\n description: string;\r\n};\r\ntype IThrows = {\r\n errNumber: number;\r\n errText: string;\r\n};\r\n\r\ntype ITagTypes =\r\n | \"constructor\"\r\n | \"protected\"\r\n | \"deprecated\"\r\n | \"param\"\r\n | \"returns\"\r\n | \"example\"\r\n | \"description\"\r\n | \"remark\"\r\n | \"devNote\"\r\n | \"TODO\"\r\n | \"throws\"\r\n | \"requires\"\r\n | \"ai\"\r\n | \"aidate\"\r\n | \"aidesc\"\r\n | \"static\";\r\n\r\ntype ITagLine = {\r\n tag: ITagTypes;\r\n content: string;\r\n};\r\n\r\ntype ICommentStore = ICommentRecord[];\r\ntype ICommentRecord =\r\n | IDataConstructor\r\n | IDataProtected\r\n | IDataDeprecated\r\n | IDataParam\r\n | IDataReturn\r\n | IDataExample\r\n | IDataDescription\r\n | IDataRemark\r\n | IDataDevNote\r\n | IDataTODO\r\n | IDataThrows\r\n | IDataRequires\r\n | IDataAI\r\n | IDataAIDate\r\n | IDataAIDesc\r\n | IDataStatic;\r\n\r\ntype IDataConstructor = {\r\n tag: \"constructor\";\r\n};\r\ntype IDataProtected = {\r\n tag: \"protected\";\r\n};\r\ntype IDataDeprecated = {\r\n tag: \"deprecated\";\r\n data: \"\" | string; //E.G. \"Use `stdLambda.Create()` instead.\"\r\n};\r\ntype IDataParam = {\r\n tag: \"param\";\r\n data: {\r\n name: string; //from comment\r\n type: string; //from comment or param data\r\n description: string; //from comment\r\n referenceType?: string; //from param data\r\n paramArray?: boolean; //from param data\r\n optional?: boolean; //from param data\r\n defaultValue?: string | null; //from param data\r\n };\r\n};\r\ntype IDataReturn = {\r\n tag: \"returns\";\r\n data: {\r\n type: string; //from comment or param data\r\n description: string;\r\n };\r\n};\r\ntype IDataExample = {\r\n tag: \"example\";\r\n data: string;\r\n};\r\ntype IDataDescription = {\r\n tag: \"description\";\r\n data: string;\r\n};\r\ntype IDataRemark = {\r\n tag: \"remark\";\r\n data: string;\r\n};\r\ntype IDataDevNote = {\r\n tag: \"devNote\";\r\n data: string;\r\n};\r\ntype IDataTODO = {\r\n tag: \"TODO\";\r\n data: string;\r\n};\r\ntype IDataThrows = {\r\n tag: \"throws\";\r\n data: {\r\n errNumber: number;\r\n errText: string;\r\n };\r\n};\r\ntype IDataRequires = {\r\n tag: \"requires\";\r\n data: string;\r\n};\r\ntype IDataAI = {\r\n tag: \"ai\";\r\n data: string;\r\n};\r\n\r\ntype IDataAIDate = {\r\n tag: \"aidate\";\r\n data: string;\r\n};\r\ntype IDataAIDesc = {\r\n tag: \"aidesc\";\r\n data: string;\r\n};\r\n\r\ntype IDataStatic = {\r\n tag: \"static\";\r\n};\r\n\r\n//Assertions to ensure all tags declared in ITagTypes are implemented\r\ntype TagFromRecord = ICommentRecord extends { tag: infer T } ? T : never;\r\ntype TagsAreEqual = [ITagTypes] extends [TagFromRecord]\r\n ? [TagFromRecord] extends [ITagTypes]\r\n ? true\r\n : false\r\n : false;\r\ntype _AssertTagMatch = T;\r\n\r\n// \u274C Error here if not all tags in ITagTypes are implemented in ICommentRecord\r\ntype __triggerTagMismatchError = _AssertTagMatch;\r\n\r\n/**\r\n * Parses a comment block and extracts lines starting with tagged annotations.\r\n *\r\n * A tagged line must begin with `'@tagName` followed by its content.\r\n * Lines without a leading `'@` are grouped as part of the previous tag's content.\r\n *\r\n * Example input:\r\n * ```\r\n * '@test hello\r\n * '@test world\r\n * '@this is\r\n * 'fine\r\n * '@thing\r\n * ```\r\n * Produces:\r\n * ```ts\r\n * [\r\n * { tag: \"test\", content: \"hello\" },\r\n * { tag: \"test\", content: \"world\" },\r\n * { tag: \"this\", content: \"is\\r\\n'fine\" },\r\n * { tag: \"thing\", content: \"\" }\r\n * ]\r\n * ```\r\n * @param comment - The full comment string to parse.\r\n * @returns An array of tag-content pairs extracted from the comment.\r\n */\r\nfunction parseToTagLines(comment: string): ITagLine[] {\r\n const groupByRx = /'@(?\\w+)(?.*\\s+(?:'[^@][^\\n]*\\s+)*)?/g;\r\n const matches = [...comment.matchAll(groupByRx)];\r\n return matches.map((match) => ({\r\n tag: match.groups?.type as ITagTypes,\r\n content: match.groups?.content?.replace(/^'/gm, \"\") ?? \"\",\r\n }));\r\n}\r\n\r\n/**\r\n * Transforms a comment into a comment store object\r\n * @param comment - The comment to parse\r\n * @returns - The comment store object\r\n */\r\nfunction parseComment(comment: string): ICommentStore {\r\n //If undefined or empty, return empty array\r\n if (!comment) return [];\r\n\r\n //inject @description into 1st line of comment for easier parsing\r\n if (!/@description/.test(comment))\r\n comment = comment.replace(/^'/g, \"'@description \");\r\n const tagLines = parseToTagLines(comment);\r\n\r\n //Extracts and groups comments under their flag/tag type e.g. \"@example hello\\r\\n'world\"\r\n const regexTags = {\r\n description: /^\\s*(?[\\s\\S]+)/i,\r\n param:\r\n /^\\s*(?\\w+)\\s*(?:as\\s+(?[^-]+))?(?:\\s*-\\s*(?[\\s\\S]+))?$/i, //regex needs work\r\n returns: /^\\s*(?[^-\\r\\n]+)?(?:\\s*-\\s*(?[\\s\\S]+))?$/i,\r\n constructor: /(?:constructor)?/g, //overwrites native constructor\r\n throws: /(?\\d+)\\s*,\\s*(?.+)/i,\r\n };\r\n\r\n //Parse comment into comment store\r\n const commentStore: ICommentStore = [];\r\n for (let tagLine of tagLines) {\r\n let tag = tagLine.tag;\r\n let groups;\r\n if (!!regexTags[tag]) {\r\n groups = regexTags[tag].exec(tagLine.content)?.groups;\r\n }\r\n\r\n //If comment not valid ignore\r\n switch (tag) {\r\n case \"description\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"param\":\r\n if (!!groups?.name)\r\n commentStore.push({\r\n tag,\r\n data: {\r\n name: groups.name.trim(),\r\n type: groups?.type?.trim(),\r\n description: groups?.description.trim(),\r\n },\r\n });\r\n break;\r\n case \"returns\":\r\n commentStore.push({\r\n tag,\r\n data: {\r\n type: groups?.type?.trim(),\r\n description: groups?.description.trim(),\r\n },\r\n });\r\n break;\r\n case \"ai\":\r\n if (!/^AI:[0RWX]$/.test(tagLine.content.trim())) {\r\n throw new Error(`Invalid @ai mark: ${tagLine.content.trim()}`);\r\n }\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"aidate\": {\r\n const value = tagLine.content.trim();\r\n const date = new Date(value + \"T00:00:00.000Z\");\r\n if (!/^\\d{4}-\\d{2}-\\d{2}$/.test(value) ||\r\n Number.isNaN(date.getTime()) || date.toISOString().slice(0, 10) !== value) {\r\n throw new Error(`Invalid @aidate: ${value}`);\r\n }\r\n commentStore.push({ tag, data: value });\r\n break;\r\n }\r\n case \"aidesc\":\r\n if (!tagLine.content.trim()) throw new Error(\"Empty @aidesc\");\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"example\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"remark\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"devNote\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"constructor\":\r\n commentStore.push({ tag });\r\n break;\r\n case \"protected\":\r\n commentStore.push({ tag });\r\n break;\r\n case \"deprecated\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"TODO\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"throws\":\r\n commentStore.push({\r\n tag,\r\n data: {\r\n errNumber: Number(groups?.errNumber),\r\n errText: groups?.errText,\r\n },\r\n });\r\n break;\r\n case \"requires\":\r\n commentStore.push({ tag, data: tagLine.content.trim() });\r\n break;\r\n case \"static\":\r\n commentStore.push({ tag });\r\n break;\r\n //@ts-ignore\r\n case \"module\":\r\n break;\r\n default:\r\n log(`Unknown tag \"${tag}\"`, \"warn\");\r\n }\r\n }\r\n\r\n return commentStore;\r\n}\r\n\r\n/**\r\n * Given a VBA param string and a param data object initialised from the comment, obtains additional information from the param data and injects it into the param data object.\r\n * @param params - The param string to parse.\r\n * @param dataParams - The params data objects to populate.\r\n * @returns - The populated param data object.\r\n */\r\nfunction parseParams(params: string, dataParams: IDataParam[]): IDataParam[] {\r\n //Group params by name\r\n const paramData = groupBy(dataParams, (d) =>\r\n d.data.name.toLowerCase()\r\n );\r\n\r\n const paramRegex =\r\n /(?optional\\s+)?(?:(?byval|byref)\\s+)?(?:(?paramarray)\\s+)?(?\\w+)(?\\(\\))?(?:\\s+as\\s+(?[^, )]+))?(?:\\s*=\\s*(?[^,\\)]+))?/gi;\r\n const paramMatches = [...params.matchAll(paramRegex)];\r\n\r\n const paramStore: IDataParam[] = [];\r\n for (let paramMatch of paramMatches) {\r\n //Get param name from Function/Sub declaration\r\n let name = paramMatch.groups?.name;\r\n if (!name) continue;\r\n\r\n //Get param data from comment\r\n if (!paramData[name.toLowerCase()]?.length) continue;\r\n const commentData = paramData[name.toLowerCase()][0].data;\r\n\r\n /**\r\n * Parse param type, prioritise comment type, then code type, then default to Variant\r\n * description is always the comment description\r\n * referenceType is from the function/sub declaration, or ByRef if unspecified\r\n * paramArray is from the function/sub declaration, or false if unspecified\r\n * optional is from the function/sub declaration, or false if unspecified\r\n * If param is optional, and no default value is provided, set default value to null\r\n */\r\n let paramType: string =\r\n commentData.type ?? paramMatch.groups?.type ?? \"Variant\";\r\n let paramDescription: string = commentData.description ?? \"\";\r\n let paramReferenceType: string =\r\n paramMatch.groups?.referenceType ?? \"ByRef\";\r\n let paramIsParamArray: boolean = !!paramMatch.groups?.paramArray;\r\n let paramIsArray: boolean = !!paramMatch.groups?.isArray;\r\n let paramIsOptional: boolean = !!paramMatch.groups?.optional;\r\n let paramDefaultValue: string | null = !!paramMatch.groups?.optional\r\n ? paramMatch.groups.defaultValue ?? null\r\n : null;\r\n\r\n //Special cases\r\n //If param is an array, and no type is provided in the commentary, assume it's an array of `paramType`\r\n if (paramIsArray && !!commentData.type) paramType = `Array<${paramType}>`;\r\n\r\n //Add param to store\r\n paramStore.push({\r\n tag: \"param\",\r\n data: {\r\n name: name.trim(),\r\n type: paramType.trim(),\r\n description: paramDescription.trim(),\r\n referenceType: paramReferenceType,\r\n paramArray: paramIsParamArray,\r\n optional: paramIsOptional,\r\n defaultValue: paramDefaultValue,\r\n },\r\n });\r\n }\r\n\r\n return paramStore;\r\n}\r\n\r\nfunction parseModuleOrClass(\r\n content: string,\r\n fileName: string\r\n): IModule | IClass {\r\n let isClass = /^VERSION 1.0 CLASS/.test(content);\r\n\r\n //remove all conditional compilation from module\r\n let regexConditionalCompilation = /#if.+then\\s+((.|\\s)+?)#end if/gi;\r\n while (regexConditionalCompilation.test(content)) {\r\n content = content.replace(regexConditionalCompilation, \"$1\");\r\n }\r\n\r\n //Initialise module\r\n const moduleNameFinder = /Attribute VB_Name = \"(?[^\"]+)\"/i;\r\n const moduleName =\r\n moduleNameFinder.exec(content)?.groups?.name ?? fileName.split(\".\")[0];\r\n log(`Parsing module \"${moduleName}\"`);\r\n const moduleDocsFinder = /^'@module\\r?\\n(?:'.*\\r?\\n?)*/im;\r\n const moduleDocsString = moduleDocsFinder.exec(content)?.[0];\r\n const moduleDocs = parseComment(moduleDocsString);\r\n const moduleDocsByTag = groupBy(moduleDocs, (c) => c.tag);\r\n const moduleTODOs = Array.from(content.matchAll(/'TODO: (.*)/gi)).map(\r\n (m) => m[1]\r\n );\r\n\r\n const defaultMemberFinder = /Attribute (\\w+).VB_(Var)?UserMemId += +0/i;\r\n const defaultMember = defaultMemberFinder.exec(content)?.groups?.[1];\r\n const implementsFinder = /^implements +(?\\w+)/gi;\r\n const _implements = Array.from(content.matchAll(implementsFinder)).map(\r\n (m) => m.groups?.interface\r\n );\r\n\r\n //Find documentation. This usually looks like a comment block, followed by a method/property/event declaration.\r\n const memberDocsFinder =\r\n /(?(?:\\'.*\\r?\\n)*)(?Function|Sub|Event|Property) ?(?Get|Let|Set)?) (?\\w+)\\((?[^)]*)\\)(?: as (?(?:\\w+\\.)?\\w+))?/gim;\r\n const memberMatches = Array.from(content.matchAll(memberDocsFinder));\r\n\r\n //populate members\r\n let constructors: IConstructor[] = [];\r\n let events: IEvent[] = [];\r\n let properties: IProperty[] = [];\r\n let methods: IMethod[] = [];\r\n let membersByName = groupBy(memberMatches, (m: any) =>\r\n m.groups?.name.toLowerCase()\r\n ); //used for property access\r\n let memberAlreadyProcessed: { [key: string]: boolean } = {};\r\n memberMatches.forEach((match) => {\r\n let sComment = match.groups?.comments;\r\n let sType: \"function\" | \"sub\" | \"event\" | \"property\" =\r\n match.groups?.type.toLowerCase() as\r\n | \"function\"\r\n | \"sub\"\r\n | \"event\"\r\n | \"property\";\r\n let sName = match.groups?.name;\r\n let sParams = match.groups?.params ?? \"\";\r\n let sRetType = match.groups?.retType ?? \"Void\";\r\n\r\n //Mark member as processed to ensure it doesn't get processed again, especially important for properties as each `get`, `let` and `set` are declared as different rows.\r\n if (memberAlreadyProcessed[sName.toLowerCase()]) return;\r\n memberAlreadyProcessed[sName.toLowerCase()] = true;\r\n\r\n //Determine property access\r\n let access: \"ReadOnly\" | \"WriteOnly\" | \"ReadWrite\";\r\n if (sType === \"property\") {\r\n let accessTypes = membersByName[sName.toLowerCase()].map((match) =>\r\n match.groups?.access.toLowerCase()\r\n );\r\n let readAccess = accessTypes.includes(\"get\");\r\n let writeAccess =\r\n accessTypes.includes(\"let\") || accessTypes.includes(\"set\");\r\n if (readAccess && writeAccess) {\r\n access = \"ReadWrite\";\r\n } else if (readAccess) {\r\n access = \"ReadOnly\";\r\n } else if (writeAccess) {\r\n access = \"WriteOnly\";\r\n }\r\n }\r\n\r\n let commentData: ICommentStore;\r\n if (sComment.length > 0) {\r\n commentData = parseComment(sComment);\r\n }\r\n let commentDataByTag = groupBy(commentData, (c) => c.tag);\r\n\r\n let params: IParam[] = parseParams(\r\n sParams,\r\n commentDataByTag[\"param\"] as IDataParam[]\r\n ).map((param: IDataParam) => {\r\n return {\r\n name: param.data.name,\r\n type: param.data.type,\r\n description: param.data?.description ?? \"\",\r\n optional: param.data?.optional ?? false,\r\n defaultValue: param.data?.defaultValue ?? null,\r\n paramArray: param.data?.paramArray ?? false,\r\n referenceType:\r\n (param.data?.referenceType as \"ByRef\" | \"ByVal\" | null) ?? \"ByRef\",\r\n };\r\n });\r\n\r\n switch (sType) {\r\n case \"sub\":\r\n case \"function\":\r\n let arrToPushTo: IMethod[] | IConstructor[] = !!commentDataByTag[\r\n \"constructor\"\r\n ]?.length\r\n ? constructors\r\n : methods;\r\n\r\n let func: IConstructor | IMethod = {\r\n name: sName,\r\n description:\r\n (commentDataByTag[\"description\"]?.[0] as IDataDescription)?.data ??\r\n \"\",\r\n remarks:\r\n commentDataByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n commentDataByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n params,\r\n returns:\r\n sType === \"sub\"\r\n ? null\r\n : {\r\n type:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .type ?? sRetType,\r\n description:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .description ?? \"\",\r\n },\r\n deprecation: {\r\n status: !!commentDataByTag[\"deprecated\"]?.length,\r\n message:\r\n (commentDataByTag[\"deprecated\"]?.[0] as IDataDeprecated)?.data ??\r\n \"\",\r\n },\r\n isDefaultMember: defaultMember === sName,\r\n devNotes:\r\n commentDataByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: commentDataByTag[\"todo\"]?.map((c: IDataTODO) => c.data) ?? [],\r\n isProtected: !!commentDataByTag[\"protected\"]?.length,\r\n throws:\r\n commentDataByTag[\"throws\"]?.map((c: IDataThrows) => c.data) ?? [],\r\n requires:\r\n commentDataByTag[\"requires\"]?.map((c: IDataRequires) => c.data) ??\r\n [],\r\n isStatic: !!commentDataByTag[\"static\"]?.length,\r\n };\r\n arrToPushTo.push(func);\r\n break;\r\n case \"property\":\r\n let prop: IProperty = {\r\n name: sName,\r\n access,\r\n description:\r\n (commentDataByTag[\"description\"]?.[0] as IDataDescription)?.data ??\r\n \"\",\r\n remarks:\r\n commentDataByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n commentDataByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n params,\r\n returns: {\r\n type:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data.type ??\r\n sRetType,\r\n description:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .description ?? \"\",\r\n },\r\n deprecation: {\r\n status: !!commentDataByTag[\"deprecated\"]?.length,\r\n message:\r\n (commentDataByTag[\"deprecated\"]?.[0] as IDataDeprecated)?.data ??\r\n \"\",\r\n },\r\n isDefaultMember: defaultMember === sName,\r\n devNotes:\r\n commentDataByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: commentDataByTag[\"todo\"]?.map((c: IDataTODO) => c.data) ?? [],\r\n isProtected: !!commentDataByTag[\"protected\"]?.length,\r\n throws:\r\n commentDataByTag[\"throws\"]?.map((c: IDataThrows) => c.data) ?? [],\r\n requires:\r\n commentDataByTag[\"requires\"]?.map((c: IDataRequires) => c.data) ??\r\n [],\r\n isStatic: !!commentDataByTag[\"static\"]?.length,\r\n };\r\n properties.push(prop);\r\n break;\r\n case \"event\":\r\n events.push({\r\n name: sName,\r\n description:\r\n (commentDataByTag[\"returns\"]?.[0] as IDataReturn)?.data\r\n .description ?? \"\",\r\n remarks:\r\n commentDataByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n commentDataByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n params,\r\n devNotes:\r\n commentDataByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: commentDataByTag[\"todo\"]?.map((c: IDataTODO) => c.data) ?? [],\r\n });\r\n break;\r\n }\r\n });\r\n\r\n for (const tag of [\"ai\", \"aidate\", \"aidesc\"]) {\r\n if (moduleDocsByTag[tag]?.length > 1) {\r\n throw new Error(`Duplicate @${tag} in ${fileName}`);\r\n }\r\n }\r\n\r\n //Build base module\r\n let mod: IModule = {\r\n ...(moduleDocsByTag[\"ai\"]?.length\r\n ? { ai: (moduleDocsByTag[\"ai\"][0] as IDataAI).data }\r\n : {}),\r\n ...(moduleDocsByTag[\"aidate\"]?.length\r\n ? { aiDate: (moduleDocsByTag[\"aidate\"][0] as IDataAIDate).data }\r\n : {}),\r\n ...(moduleDocsByTag[\"aidesc\"]?.length\r\n ? { aiDescription: (moduleDocsByTag[\"aidesc\"][0] as IDataAIDesc).data }\r\n : {}),\r\n name: moduleName,\r\n fileName,\r\n description:\r\n (moduleDocsByTag[\"description\"]?.[0] as IDataDescription)?.data ?? \"\",\r\n remarks: moduleDocsByTag[\"remark\"]?.map((c: IDataRemark) => c.data) ?? [],\r\n examples:\r\n moduleDocsByTag[\"example\"]?.map((c: IDataExample) => c.data) ?? [],\r\n devNotes:\r\n moduleDocsByTag[\"devNote\"]?.map((c: IDataDevNote) => c.data) ?? [],\r\n todos: moduleTODOs,\r\n requires:\r\n moduleDocsByTag[\"requires\"]?.map((c: IDataRequires) => c.data) ?? [],\r\n methods,\r\n properties,\r\n };\r\n\r\n //If it's a class then add additional members\r\n if (isClass) {\r\n return {\r\n ...mod,\r\n constructors,\r\n events,\r\n implements: _implements,\r\n };\r\n } else {\r\n return mod;\r\n }\r\n}\r\n\r\nimport { throws } from \"assert\";\r\nimport * as fs from \"fs\";\r\nfunction main() {\r\n //Find all files in ../../src directory\r\n let files = fs.readdirSync(__dirname + \"/../../src\");\r\n files = files.filter((f) =>\r\n fs.lstatSync(__dirname + \"/../../src/\" + f).isFile()\r\n );\r\n\r\n //Scan files for public methods and properties, dump to docs array\r\n let docs: IDocs = files.map((file) => {\r\n return parseModuleOrClass(\r\n fs.readFileSync(__dirname + \"/../../src/\" + file, \"utf8\"),\r\n file\r\n );\r\n });\r\n\r\n //Dump docs array to docs.json\r\n fs.writeFileSync(\r\n __dirname + \"/../../docs.json\",\r\n JSON.stringify(docs, null, 2),\r\n \"utf8\"\r\n );\r\n}\r\n\r\nmain();\r\n"], + "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAk0BA,SAAoB;AAjuBpB,SAAS,IACP,SACA,OAA8C,QAC9C;AACA,UAAQ,MAAM;AAAA,IACZ,KAAK;AACH,cAAQ,IAAI,+BAAqB,OAAO,SAAS;AACjD;AAAA,IACF,KAAK;AACH,cAAQ,IAAI,iCAAuB,OAAO,SAAS;AACnD;AAAA,IACF,KAAK;AACH,cAAQ,IAAI,4BAAuB,OAAO,SAAS;AACnD;AAAA,IACF,KAAK;AACH,cAAQ,IAAI,8BAAyB,OAAO,SAAS;AACrD;AAAA,EACJ;AACF;AAQA,SAAS,QACP,MACA,WACwB;AACxB,QAAM,MAAM,uBAAO,OAAO,I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9ee3d 100644 --- a/Tools/VBDocsGen/main.ts +++ b/Tools/VBDocsGen/main.ts @@ -143,6 +143,9 @@ function groupBy( type IDocs = (IModule | IClass)[]; type IModule = { + ai?: string; + aiDate?: string; + aiDescription?: string; name: string; fileName: string; description: string; @@ -224,6 +227,9 @@ type ITagTypes = | "TODO" | "throws" | "requires" + | "ai" + | "aidate" + | "aidesc" | "static"; type ITagLine = { @@ -245,6 +251,9 @@ type ICommentRecord = | IDataTODO | IDataThrows | IDataRequires + | IDataAI + | IDataAIDate + | IDataAIDesc | IDataStatic; type IDataConstructor = { @@ -307,6 +316,20 @@ type IDataRequires = { tag: "requires"; data: string; }; +type IDataAI = { + tag: "ai"; + data: string; +}; + +type IDataAIDate = { + tag: "aidate"; + data: string; +}; +type IDataAIDesc = { + tag: "aidesc"; + data: string; +}; + type IDataStatic = { tag: "static"; }; @@ -416,6 +439,26 @@ function parseComment(comment: string): ICommentStore { }, }); break; + case "ai": + if (!/^AI:[0RWX]$/.test(tagLine.content.trim())) { + throw new Error(`Invalid @ai mark: ${tagLine.content.trim()}`); + } + commentStore.push({ tag, data: tagLine.content.trim() }); + break; + case "aidate": { + const value = tagLine.content.trim(); + const date = new Date(value + "T00:00:00.000Z"); + if (!/^\d{4}-\d{2}-\d{2}$/.test(value) || + Number.isNaN(date.getTime()) || date.toISOString().slice(0, 10) !== value) { + throw new Error(`Invalid @aidate: ${value}`); + } + commentStore.push({ tag, data: value }); + break; + } + case "aidesc": + if (!tagLine.content.trim()) throw new Error("Empty @aidesc"); + commentStore.push({ tag, data: tagLine.content.trim() }); + break; case "example": commentStore.push({ tag, data: tagLine.content.trim() }); break; @@ -742,8 +785,23 @@ function parseModuleOrClass( } }); + for (const tag of ["ai", "aidate", "aidesc"]) { + if (moduleDocsByTag[tag]?.length > 1) { + throw new Error(`Duplicate @${tag} in ${fileName}`); + } + } + //Build base module let mod: IModule = { + ...(moduleDocsByTag["ai"]?.length + ? { ai: (moduleDocsByTag["ai"][0] as IDataAI).data } + : {}), + ...(moduleDocsByTag["aidate"]?.length + ? { aiDate: (moduleDocsByTag["aidate"][0] as IDataAIDate).data } + : {}), + ...(moduleDocsByTag["aidesc"]?.length + ? { aiDescription: (moduleDocsByTag["aidesc"][0] as IDataAIDesc).data } + : {}), name: moduleName, fileName, description: diff --git a/changelog.md b/changelog.md index 72ffc31c..7df7bb01 100644 --- a/changelog.md +++ b/changelog.md @@ -486,3 +486,8 @@ The 2025-2026 entries were audited retrospectively against commits through `1bcb - 2026-11-01 `Tools/Testing` BREAKING - Remove the separate Tools/stdCallback-tests, stdDate-test, stdHTTP-tests, stdImage-tests stdWebSocket-tests and stdEnumerator-tests command folders. Maintainer scripts invoking those paths must migrate to `python Tools/Testing/run.py --suite `: stdCallback.probes, stdDate, stdHTTP.local, stdImage stdWebSocket.local or stdEnumerator.local respectively. Image host selection is now `--host Excel` or `--host Word` through the shared command (formerly `--hosts`). Test bodies and specialized harnesses now live under tests/harnesses. - 2026-11-10 `stdOutlook` FEATURE - Add a standalone Windows VBA7 class for classic Outlook identity, contacts, mail and calendar access through Extended MAPI, with plain-text/HTML email submission and Outlook Send/Receive synchronization. (#189) +- 2026-11-10 `contribution.md` DEV - Document module-level @ai, @aidate and @aidesc disclosures, first-evidenced dates, mixed provenance and named component classifications; explicit maintainer classifications supersede inference (#191). +- 2026-11-10 `src` NOTE - Add AI disclosures to all 94 source modules: the maintainer declares 73 previously unclassified modules AI:0 with the supplied description; the 21 reviewed classes retain their maintainer-confirmed classifications. Record AI:W overall with AI:X components for stdRegex/stdLambda native engines, stdReg additions and stdWindow subclassing thunks; identify stdEnumerator lazy traversal as manually reviewed. Preserve upstream credit and distinguish historical experiments from current code (#191). +- 2026-11-10 `Tools/VBDocsGen` DEV - Validate AI marks, ISO calendar dates, nonempty AI descriptions and duplicate module tags; expose optional ai, aiDate and aiDescription fields in docs.json without changing VBA APIs (#191). +- 2026-11-10 `docs/ai-provenance.json` DEV - Record all 94 source-module outcomes and searches across 43 Codex logs, 53 Cursor workspace records and 40 transcripts. Cross-check blame, dates and deletions against conversations. Locate the AI:X stdRuntime.GetVars prototype on the unmerged codex/std-runtime-locals branch; record it separately without adding its implementation to this PR (#191). +- 2026-11-11 `AI documentation` NOTE - Rewrite module AI descriptions as direct declarations of AI use and component scope; keep retrospective research details in the provenance audit. Classifications and dates are unchanged (#191). diff --git a/contribution.md b/contribution.md index 538bd2b1..406ec459 100644 --- a/contribution.md +++ b/contribution.md @@ -132,6 +132,43 @@ End Type Private This as TThis ``` +## Module-level AI disclosure + +Document AI involvement using the [0rwx framework](https://0rwx.com/) in the existing module-level documentation block of each new or changed class/module: + +```vb +'@module +'@description Describe the class or module here. +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used to add timeout handling, which was reviewed manually. The original transport implementation was written without AI. +``` + +Use one `@ai` mark when its classification is established: + +- `AI:0`: handmade; AI has neither read nor written the work. +- `AI:R`: AI-inspired; AI has read-only access and a human writes the code. +- `AI:W`: AI collaboration; AI writes code that a human reads and scrutinises. +- `AI:X`: AI-made; a human curates output without being able to scrutinise all generated work. + +These marks describe involvement and scrutiny, not percentages or a quality rating. A small AI-written fix does not make the entire class AI-made. For mixed provenance, describe the affected component and the older/upstream work in `@aidesc`. A maintainer may classify a module `AI:W` overall while identifying a specific component as `AI:X`; do not automatically elevate the entire module or attribute its older/upstream code to AI. Do not reset known involvement simply because the latest edit was manual. + +- `@aidate YYYY-MM-DD` records the earliest evidenced AI involvement in the class/module described by `@aidesc`, including historical experimental versions when relevant. State when that work is absent from the current implementation. Use an actual edit timestamp where available, otherwise a matched commit date; record the basis and uncertainty in a remark or provenance audit. This is a first known date, not proof that no earlier AI use occurred. Do not advance it for follow-up changes. Omit it for `AI:0` or when no date can be established. +- `@aidesc ` declares where AI was used, which parts were written without AI or come from upstream authors, and whether the work was reviewed manually. Write direct statements such as "AI was used to add timeout handling" or "The thunk engine was generated entirely by AI (AI:X)." Keep retrospective research methods, commit tracing and uncertainty in the provenance audit rather than phrases such as "by this evidence" or "confirmed by the maintainer" in module descriptions. Preserve existing descriptions, examples, attributions and member documentation. + +For retrospective disclosures, cross-check source comments, `git blame`, dated commit diffs and conversation records. Check deletions as well as surviving lines; a deleted line will not appear in blame. Copied upstream code and unmerged experiments must not be counted as AI-generated current implementation. Dates, model names and commit frequency can guide investigation but cannot establish human scrutiny. A CI bot or the absence of an AI co-author is not evidence of authorship either way. + +Do not use `AI:X` as a fallback for unknown review history, or infer `AI:W` merely because a fix is small. Where AI authorship is established but W/X is unresolved, retain `@aidate` and `@aidesc` and leave `@ai` absent until the classification can be supported. Do not invent a fifth mark or infer `AI:0` merely from missing attribution. An explicit maintainer declaration can establish the classification. + +The maintainer has declared the remaining source modules `AI:0`. Their module documentation uses this wording, without an invented `@aidate`: + +```vb +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. +``` + +When AI changes an implementation, update its mark, first-evidenced date and scoped description to reflect the contribution and human scrutiny. A disclosure-only edit does not itself establish AI authorship of the implementation. Use each tag at most once per module and regenerate `docs.json` after changing documented source. The generator exposes these as optional `ai`, `aiDate` and `aiDescription` module fields. + ## Function-level documentation A critical area which I am developing is the documentation. All methods should be documented using a `JSDoc`-like equivalent. Docs are analysed by `./Tools/VBDocsGen` (which later will be run on a github action). diff --git a/docs.json b/docs.json index 66889364..cafeda0c 100644 --- a/docs.json +++ b/docs.json @@ -1,5 +1,7 @@ [ { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdAcc", "fileName": "stdAcc.cls", "description": "A class used to automate objects which implement `IAccessible`.\r\nAll windows implement IAccessible, and many of their controls do as well. This class can be \r\nused to obtain information about these controls, and to automate them.", @@ -1130,6 +1132,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-27", + "aiDescription": "AI was used for array-assignment fixes (#161) and configurable index bases (#165). These changes extend the existing array-list implementation.", "name": "stdArray", "fileName": "stdArray.cls", "description": "A class which implements a simple array list. Use this class to\r\naccumulate data in a list, and then use the methods to manipulate the data.", @@ -2870,6 +2875,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdCOM", "fileName": "stdCOM.cls", "description": "A class which wraps a COM object. All objects in VBA are COM objects, and this class allows \r\nyou to access low level COM functionality. As such this class is recommended only to advanced users.", @@ -3703,6 +3710,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-03-23", + "aiDescription": "AI was used to remove an invalid RunEx error-handler line (#154). Later Codex work documented calling conventions and added tests without rewriting the original callback implementation.", "name": "stdCallback", "fileName": "stdCallback.cls", "description": "A class which implements a callback object. Use this class to create a \r\ncallback object which can be called at a later stage. These callbacks are used extensively\r\nacross the stdVBA library.\r\n\r\nWithin a class we can create a simple callback object like so:\r\n```vb\r\nDim cb as stdCallback: set cb = stdCallback.CreateFromObjectMethod(Me, \"myFunction\")\r\n```\r\nWith an example function declaration as follows:\r\n```vb\r\nPublic Function myFunction(ByVal x as long, ByVal y as long, ByVal z as long) as long\r\n myFunction = x + y + z\r\nEnd Function\r\n```\r\n\r\n> Note it's important to note that the function must be public.\r\n\r\nThe callback can then be called as follows:\r\n```vb\r\nDebug.Print cb(1,2,3) '=> 6\r\n```\r\nOr with an array of parameters:\r\n```vb\r\nDebug.Print cb.Run(Array(1,2,3)) '=> 6\r\n```\r\nYou can also bind arguments to the callback. This is useful when you want to prepare a callback with some\r\narguments before final execution. For example:\r\n```vb\r\nDim cb as stdCallback: set cb = stdCallback.CreateFromObjectMethod(Me, \"myFunction\").Bind(1,2,3)\r\n'...later...\r\nDebug.Print cb() '=> 6\r\n```", @@ -4208,6 +4218,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdClipboard", "fileName": "stdClipboard.cls", "description": "A class which implements a clipboard object. Use this class to\r\nread from and write data to the clipboard.", @@ -4825,6 +4837,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-11-01", + "aiDescription": "The lazy IEnumVARIANT implementation (#186) was written by AI and reviewed manually, including iteration, caching/memory behavior and enumCall naming. Other collection operations predate that contribution.", "name": "stdEnumerator", "fileName": "stdEnumerator.cls", "description": "A class which implements an enumerator object. Use this class to\r\niterate over a collection of data.", @@ -6299,6 +6314,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdFiber", "fileName": "stdFiber.cls", "description": "`stdFiber` allows production of partitioned asynchronous procedures which can be run within a fiber runtime.\r\n`stdFiber.Create()` is used to create our fiber procedures\r\n`stdFiber.runFibers()` is used to run our fiber procedures within a fiber runtime.\r\nFibers can be useful especially when dealing with asynchronous functions", @@ -6866,6 +6883,9 @@ "implements": [] }, { + "ai": "AI:X", + "aiDate": "2026-04-03", + "aiDescription": "AI was used for selectors, parsing, replacement and Boolean-attribute handling in April 2026, initially under WIP/stdHTML.cls. These features extend the original node model.", "name": "stdHTML", "fileName": "stdHTML.cls", "description": "`stdHTML` provides a fluent, object-based API for building, querying, and transforming HTML in VBA.\r\n`stdHTML.Create()` creates a new document root (``), and child nodes can be composed via `CreateChild`.\r\nUse `CreateLiteral` for escaped text content and `Raw` for unescaped content when embedding trusted markup or script.\r\nThe selector APIs (`QuerySelector`/`QuerySelectorAll`) support CSS-style traversal for reading or mutating node trees.", @@ -7742,6 +7762,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-31", + "aiDescription": "AI was used to fix asynchronous timeout handling and terminal completion (#173). The original request and transport implementation predates these fixes.", "name": "stdHTTP", "fileName": "stdHTTP.cls", "description": "A class used to make HTTP requests.", @@ -8447,6 +8470,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdHTTPAuthenticators", "fileName": "stdHTTPAuthenticators.bas", "description": "", @@ -8793,6 +8818,8 @@ "properties": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdICallable", "fileName": "stdICallable.cls", "description": "An interface which allows a class to be called as if it were a function.", @@ -8957,6 +8984,9 @@ "implements": [] }, { + "ai": "AI:X", + "aiDate": "2026-10-31", + "aiDescription": "AI was used for export, clipboard ownership and conversion cleanup (#183). These changes build on the existing image operations and upstream contributions.", "name": "stdImage", "fileName": "stdImage.cls", "description": "A class which implements a wrapper around an image. Use this class to\r\nread image data to and from files, clipboard, sheets, UI controls, and more. Additionally\r\nthis class allows the manipulation of images in memory, and perform analytical operations on them.", @@ -10284,6 +10314,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-04-14", + "aiDescription": "Cursor was used to fix key comparison in April 2026. Codex was used to add preprocessing and postprocessing callbacks (#137, #179) to the existing parser and object implementation.", "name": "stdJSON", "fileName": "stdJSON.cls", "description": "A class which implements a JSON object. Use this class to\r\ncreate JSON objects, manipulate them, and convert them to and from JSON strings.", @@ -10940,6 +10973,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-05-07", + "aiDescription": "AI was used to fix object-local copying during stack growth (#172) in the existing VBA compiler/evaluator. The native thunk engines are purely AI:X; those experiments began in May 2026 and remain on separate branches.", "name": "stdLambda", "fileName": "stdLambda.cls", "description": "A class which implements a syntax for creating lambda functions from string expressions\r\nwithin VBA. Use this class to create sandboxed lambda functions, and call them with arguments.\r\n\r\nBelow shows a trivial use case of `stdLambda` and `stdArray`. \r\n\r\n```vb\r\nDim arr as stdArray: Set arr = stdArray.Create(1,2,3,4,5,6,7,8,9,10)\r\n'Filter to include only even numbers:\r\nset arr = arr.filter(stdLambda.Create(\"$1 mod 2 = 0\")) '=> Array(2,4,6,8,10)\r\n'Take every element and multiply it by 10\r\nset arr = arr.map(stdLambda.Create(\"$1*10\")) '=> Array(20,40,60,80,100)\r\n'And calculate the sum:\r\nset arr = arr.reduce(stdLambda.Create(\"$1+$2\"), 0) '=> 300\r\n```\r\n\r\nAs you can see, within 3 lines of code (excluding the comments), we have achieved the equivalent of this code: \r\n\r\n```vb\r\nDim element as variant, totalSum as Long\r\nFor each element in Array(1,2,3,4,5,6,7,8,9,10)\r\n if element mod 2 = 0 then\r\n totalSum = totalSum + element * 10\r\n end if\r\nnext\r\n```\r\n\r\nThis is a very powerful feature of the `stdLambda` class, and one of the main reasons why it was created.\r\nIt allows you to write code in a more natural way, and achieve the same result in a much shorter amount of\r\ncode and improving maintainability. \r\n\r\nFor a more detailed breakdown of syntax and use cases see the [stdLambda guide](https://github.com/sancarn/stdVBA/blob/master/docs/stdLambda.md)", @@ -11324,6 +11360,9 @@ "implements": [] }, { + "ai": "AI:X", + "aiDate": "2026-11-10", + "aiDescription": "This Extended MAPI class was written with gpt-6-astra (#189).", "name": "stdOutlook", "fileName": "stdOutlook.cls", "description": "Access classic Outlook profiles through native Extended MAPI from a single VBA7 class.", @@ -12090,6 +12129,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-31", + "aiDescription": "AI was used for Access/Word optimization handling (#167) and timer-precision improvements (#177). The existing optimizer and benchmark APIs predate these changes.", "name": "stdPerformance", "fileName": "stdPerformance.cls", "description": "A class which implements a performance testing and optimisation library.\r\nUse this class to measure performance and optimise your code.", @@ -12462,6 +12504,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdProcess", "fileName": "stdProcess.cls", "description": "A class which implements a wrapper around a process. Use this class to\r\nquery process information, manipulate them and to forcefully terminate a process.", @@ -12992,6 +13036,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdQuadTree", "fileName": "stdQuadTree.cls", "description": "A strict quadtree implementation in VBA. Use this class to store points in a 2D space\r\nand query them efficiently.", @@ -13385,6 +13431,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-31", + "aiDescription": "AI was used to correct owned-Variant SAFEARRAY-slot pointer handling (#174). The borrowed-array code is based on Cristian Buse's implementation.", "name": "stdRefArray", "fileName": "stdRefArray.cls", "description": "A class which wraps a VBA array by reference. Use this class to\r\nefficiently pass large arrays around without copying them.\r\nBorrowed storage: the source variable must outlive this wrapper and every alias\r\nreturned by GetData. Temporaries, expired locals and object owners released while\r\nan alias survives are unsupported. Do not Erase, ReDim or replace the source, or\r\nassign to public Data, while aliases exist. No ownership is transferred.", @@ -13488,6 +13537,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-30", + "aiDescription": "The class is AI:W overall. Small additions, including key/value creation (#168), are AI:X. The original registry-reading and writing implementation predates those additions.", "name": "stdReg", "fileName": "stdReg.cls", "description": "A class which provides a simple interface to the Windows Registry.\r\nThe structure of a simple registry tree looks like the following:\r\n```\r\nstdReg\r\n|- Keys()\r\n| |- stdReg\r\n| |- |- Keys()\r\n| | |- Items()\r\n| | | |- stdReg\r\n| | | |- stdReg\r\n| | | |- stdReg\r\n| | | |- stdReg\r\n| |- stdReg\r\n| |- |- Keys()\r\n| | |- Items()\r\n| | | |- stdReg\r\n| |- stdReg\r\n| |- |- Keys()\r\n| | |- Items()\r\n| | | |- stdReg\r\n| | | |- stdReg\r\n|- Items()\r\n| |- stdReg\r\n| |- stdReg\r\n| |- stdReg\r\n| |- stdReg\r\n```", @@ -14037,6 +14089,9 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-27", + "aiDescription": "The pure VBA engine was written by sihlfall. AI was used for integration (#164). The native x86/x64 thunk engine (#184) was generated entirely by AI and is AI:X; the class is AI:W overall.", "name": "stdRegex", "fileName": "stdRegex.cls", "description": "A class which uses sihlfall's pure VBA regex engine. Use this class to\r\ncreate regex objects with additional features like named captures, and use them to analyse text.", @@ -14470,6 +14525,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdRibbon", "fileName": "stdRibbon.cls", "description": "", @@ -14509,9 +14566,12 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-31", + "aiDescription": "AI was used to add scoped worksheet unlocking (#166) to the existing guard and cleanup implementation.", "name": "stdSentry", "fileName": "stdSentry.cls", - "description": "", + "description": "Scoped guards and cleanup actions.", "remarks": [], "examples": [], "devNotes": [], @@ -15183,9 +15243,12 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-31", + "aiDescription": "AI was used to fix owned-host lifecycle, partial startup and shutdown cleanup (#176). The original timer implementation dates from 2023.", "name": "stdTimer", "fileName": "stdTimer.cls", - "description": "", + "description": "Scheduled callbacks using an owned timer host.", "remarks": [], "examples": [], "devNotes": [], @@ -15383,6 +15446,8 @@ "implements": [] }, { + "ai": "AI:0", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", "name": "stdUIElement", "fileName": "stdUIElement.cls", "description": "", @@ -15780,6 +15845,9 @@ "implements": [] }, { + "ai": "AI:X", + "aiDate": "2026-10-31", + "aiDescription": "AI was used to replace the legacy IE transport with native WinHTTP synchronous/asynchronous transport (#180). The original WebSocket API predates this rewrite.", "name": "stdWebSocket", "fileName": "stdWebSocket.cls", "description": "Native Windows WebSocket client using WinHTTP, replacing Internet Explorer (#139, #35).", @@ -16525,11 +16593,16 @@ "implements": [] }, { + "ai": "AI:X", + "aiDate": "2026-03-18", + "aiDescription": "Cursor was used to write the standalone WebView2 class and its March-May APIs/refactors. The design is based on the upstream project credited by the attribution tag.", "name": "stdWebView", "fileName": "stdWebView.cls", - "description": "", + "description": "Standalone WebView2 host for Excel UserForms (primary). Requires WebView2Loader.dll,\r\n Microsoft Edge WebView2 Runtime. Handler vtables use executable thunks (see AddressOfThunkForComProc/VBA7/CMonitors.cls).", "remarks": [], - "examples": [], + "examples": [ + ":\r\n Dim wv As stdWebView\r\n Sub UserForm_Initialize()\r\n Set wv = stdWebView.CreateFromFrame(UserForm1.Frame1, stdLambda.Create(\"$1.Navigate \"\"https://example.com\"\"\"))\r\n wv.Navigate \"https://example.com\"\r\n Debug.Print wv.JavaScriptRunSync(\"document.title\")\r\n End Sub\r\n\r\nSpec:\r\n CONSTRUCTORS\r\n [X] CreateFromHwnd(hwnd, OnReady?) as stdWebView\r\n [X] CreateFromFrame(frm as MSForms.Frame, OnReady?) as stdWebView\r\n [X] CreateFromUserform(uf as Object, OnReady?) as stdWebView\r\n INSTANCE METHODS / PROPERTIES\r\n [X] IsReady() as Boolean\r\n [X] Quit()\r\n [X] Navigate(url)\r\n [X] Back()\r\n [X] Forward()\r\n [X] Get/Let Html() as String\r\n [X] JavaScriptRunSync(script) as String\r\n [X] JavaScriptRun(script, callback?)\r\n [X] SetVirtualHostNameToFolderMapping(hostName, folderPath, accessKind?)\r\n [X] ClearVirtualHostNameToFolderMapping(hostName)" + ], "devNotes": [], "todos": [], "requires": [], @@ -17561,9 +17634,12 @@ "implements": [] }, { + "ai": "AI:W", + "aiDate": "2026-10-31", + "aiDescription": "The class is AI:W overall. The subclassing/native callback thunks (#182) are AI:X. The guard/reset behavior was reviewed manually; the existing window discovery and manipulation APIs predate that feature.", "name": "stdWindow", "fileName": "stdWindow.cls", - "description": "", + "description": "Window discovery, inspection and automation.", "remarks": [], "examples": [], "devNotes": [], diff --git a/docs/ai-provenance.json b/docs/ai-provenance.json new file mode 100644 index 00000000..6c33adad --- /dev/null +++ b/docs/ai-provenance.json @@ -0,0 +1,2636 @@ +{ + "date": "2026-11-10", + "scope": "All VBA source modules under src, including WIP; tests and templates excluded.", + "method": "Source annotations, reachable Git history and merged PR provenance. Codex/T3 branch names and explicit AI co-authors establish involvement, not scrutiny. No style-based detection. Targeted read-only inspection of local Cursor history established a GPT-5 stdShell refactor dated 2025-09-20; private transcripts are not published. Reviewed the supplied index of 43 local Codex session logs; stdJSON and stdEnumerator implementation/commit records replace their previous date-only estimates. Excluded disclosure work itself as evidence and did not attribute unmerged experiments to current master. Cursor follow-up searched all 53 workspace records and all 40 available transcript files; completed edits plus retained code establish stdHTML AI:W.", + "policy": "The maintainer explicitly classifies the previously reviewed source classes. Module classifications and named component classifications may differ: Regex, Lambda, Reg and Window are AI:W overall with specified AI:X components. Explicit maintainer statements supersede earlier W/X inferences. Other previously reviewed classes are AI:W unless explicitly listed AI:X. Unreviewed modules remain unclassified. @aidate records first evidenced AI involvement, including historical experiments when described; it does not assert that all current code dates from that event. The maintainer explicitly declares all remaining previously unclassified source modules AI:0 with the supplied description. This declaration, rather than an absence-of-evidence inference, establishes their mark. Disclosure-only metadata edits do not change the implementation classification.", + "modules": [ + { + "file": "src/stdAcc.cls", + "lastCommitDate": "2025-07-05", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 268, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 25, + "matchingBubbleThreads": 31, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdArray.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI-written changes include arr-assignment fixes (#161) and configurable index bases (#165). The existing list implementation predates these changes and is not attributed to AI by this evidence.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/165", + "https://github.com/sancarn/stdVBA/pull/161" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 507, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 17, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-27", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used for array-assignment fixes (#161) and configurable index bases (#165). These changes extend the existing array-list implementation.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/4d0ebb32a7161376cf54f0cf84013ee711a718e8", + "authorDate": "2026-10-27T02:55:35+00:00", + "committerDate": "2026-10-27T02:55:35+00:00", + "retainedNonblankNoncommentLines": 4, + "sampleBaselineLine": 448 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/67ac6ae02095646cf7fa682acc03609fee8c543b", + "authorDate": "2026-10-31T16:17:27+00:00", + "committerDate": "2026-10-31T16:17:27+00:00", + "retainedNonblankNoncommentLines": 116, + "sampleBaselineLine": 91 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI-written changes include arr-assignment fixes (#161) and configurable index bases (#165). The existing list implementation predates these changes and is not attributed to AI by this evidence.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdCallback.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. Cursor-coauthored #154 removed an invalid RunEx error-handler line; blame of surviving lines cannot show that deletion. Later Codex work documented calling conventions and added tests, without rewriting the implementation. The remaining callback implementation is not attributed to AI by these records. AI:W follows the maintainer account of the Cursor period.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/154" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 29, + "matchingRecords": 521, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 17, + "matchingBubbleThreads": 30, + "matchingTranscriptFiles": 7, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-03-23", + "dateEvidence": "Commit c996881 (2026-03-23), whose deletion-only fix was inspected.", + "aiDescription": "AI was used to remove an invalid RunEx error-handler line (#154). Later Codex work documented calling conventions and added tests without rewriting the original callback implementation.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/c9968819bac99503bbffbc6edd3139c406fd98d7", + "change": "Deletion-only RunEx fix; surviving-line blame cannot attribute a removed error-handler line. Commit diff was inspected." + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. Cursor-coauthored #154 removed an invalid RunEx error-handler line; blame of surviving lines cannot show that deletion. Later Codex work documented calling conventions and added tests, without rewriting the implementation. The remaining callback implementation is not attributed to AI by these records. AI:W follows the maintainer account of the Cursor period.", + "conversationConfirmation": "Cursor-coauthored PR and inspected deletion-only diff; later conversation covers documentation/tests, not a new implementation.", + "conversationCrossCheck": "Commit c996881 (2026-03-23), whose deletion-only fix was inspected. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdClipboard.cls", + "lastCommitDate": "2025-06-11", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 220, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 7, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdCOM.cls", + "lastCommitDate": "2025-06-11", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 335, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 27, + "matchingBubbleThreads": 30, + "matchingTranscriptFiles": 5, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdEnumerator.cls", + "lastCommitDate": "2026-11-01", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. The lazy IEnumVARIANT implementation (#186) was written by AI and reviewed manually, including iteration, caching/memory behavior and enumCall naming. Earlier enumeration and other collection operations predate that contribution.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/186" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 26, + "matchingRecords": 374, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 9, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-11-01", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "The lazy IEnumVARIANT implementation (#186) was written by AI and reviewed manually, including iteration, caching/memory behavior and enumCall naming. Other collection operations predate that contribution.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/b72002740f81265b36b78b150f6898b1249773c1", + "authorDate": "2026-11-01T14:06:54+00:00", + "committerDate": "2026-11-01T14:06:54+00:00", + "retainedNonblankNoncommentLines": 216, + "sampleBaselineLine": 219 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. The lazy IEnumVARIANT implementation (#186) was written by AI and reviewed manually, including iteration, caching/memory behavior and enumCall naming. Earlier enumeration and other collection operations predate that contribution.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels.", + "componentClassifications": [ + { + "component": "Lazy IEnumVARIANT implementation", + "mark": "AI:W", + "basis": "Maintainer confirms AI-written and manually reviewed.", + "inCurrentBaseline": true + } + ] + }, + { + "file": "src/stdFiber.cls", + "lastCommitDate": "2025-06-18", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 193, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 10, + "matchingBubbleThreads": 15, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdHTML.cls", + "lastCommitDate": "2026-04-07", + "mark": "AI:X", + "basis": "AI:X, confirmed by the maintainer. Cursor introduced retained selectors, parsing, replacement and Boolean-attribute behavior in April 2026, initially under WIP/stdHTML.cls. The original node model predates these changes; the first-evidenced date does not claim that the whole class was created then.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 21, + "matchingRecords": 113, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 22, + "matchingBubbleThreads": 25, + "matchingTranscriptFiles": 15, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-04-03", + "dateEvidence": "Completed Cursor source edits on 2026-04-03, retained in April commits.", + "aiDescription": "AI was used for selectors, parsing, replacement and Boolean-attribute handling in April 2026, initially under WIP/stdHTML.cls. These features extend the original node model.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/fe37a67427f109a94b8a89d05c7822562fa6bae7", + "authorDate": "2026-04-03T02:02:19+01:00", + "committerDate": "2026-04-03T02:02:19+01:00", + "retainedNonblankNoncommentLines": 229, + "sampleBaselineLine": 97 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/835ae48369f577346b3b606e76509d0a5dbd4371", + "authorDate": "2026-04-03T02:45:21+01:00", + "committerDate": "2026-04-03T02:45:21+01:00", + "retainedNonblankNoncommentLines": 37, + "sampleBaselineLine": 72 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/526ae6bbe1818245737f52a379e1c750b179ed31", + "authorDate": "2026-04-03T02:25:38+01:00", + "committerDate": "2026-04-03T02:25:38+01:00", + "retainedNonblankNoncommentLines": 483, + "sampleBaselineLine": 111 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/77b3cd75e844f616a2d71f29e4ecde6dfc5d3a5f", + "authorDate": "2026-04-03T02:41:13+01:00", + "committerDate": "2026-04-03T02:41:13+01:00", + "retainedNonblankNoncommentLines": 59, + "sampleBaselineLine": 575 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/c3e42ea7067ffc9af95f29276411e1fa38395091", + "authorDate": "2026-04-03T02:48:49+01:00", + "committerDate": "2026-04-03T02:48:49+01:00", + "retainedNonblankNoncommentLines": 5, + "sampleBaselineLine": 442 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/ec3873512fdfaa6f4f771fcc51bf50ddd1424250", + "authorDate": "2026-04-05T00:43:03+01:00", + "committerDate": "2026-04-05T00:43:03+01:00", + "retainedNonblankNoncommentLines": 311, + "sampleBaselineLine": 135 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/3fb2739dbfa50de5173a22d5d649ba3e658156ec", + "authorDate": "2026-04-07T02:23:48+01:00", + "committerDate": "2026-04-07T02:23:48+01:00", + "retainedNonblankNoncommentLines": 108, + "sampleBaselineLine": 117 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/819007634b9ddf81301344b14ddbb9dd55bb0956", + "authorDate": "2026-04-07T01:52:35+01:00", + "committerDate": "2026-04-07T01:52:35+01:00", + "retainedNonblankNoncommentLines": 69, + "sampleBaselineLine": 1266 + } + ], + "classificationAssessment": "AI:X, confirmed by the maintainer. Cursor introduced retained selectors, parsing, replacement and Boolean-attribute behavior in April 2026, initially under WIP/stdHTML.cls. The original node model predates these changes; the first-evidenced date does not claim that the whole class was created then.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Completed Cursor source edits on 2026-04-03, retained in April commits. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdHTTP.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI provenance identifies the asynchronous timeout and terminal-completion fix (#173). Most request/transport code predates that fix and is not attributed to AI by this evidence.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/173" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 425, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 10, + "matchingBubbleThreads": 23, + "matchingTranscriptFiles": 6, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used to fix asynchronous timeout handling and terminal completion (#173). The original request and transport implementation predates these fixes.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/84e72664661ce4ae09963f5ed6263bc52b4d66a0", + "authorDate": "2026-10-31T16:59:02+00:00", + "committerDate": "2026-10-31T16:59:02+00:00", + "retainedNonblankNoncommentLines": 29, + "sampleBaselineLine": 307 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI provenance identifies the asynchronous timeout and terminal-completion fix (#173). Most request/transport code predates that fix and is not attributed to AI by this evidence.", + "conversationConfirmation": "Codex PR/branch provenance and retained dated fix; original source-writing step is not independently recorded in supplied conversations.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdHTTPAuthenticators.bas", + "lastCommitDate": "2025-06-10", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 186, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdICallable.cls", + "lastCommitDate": "2025-06-18", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 708, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 36, + "matchingBubbleThreads": 47, + "matchingTranscriptFiles": 10, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdImage.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:X", + "basis": "AI:X, confirmed by the maintainer. The reviewed implementation history identifies export, clipboard-ownership and conversion-cleanup work (#183). Older image operations and upstream contributions predate that work; the recorded date is the first evidenced AI contribution in the reviewed sources.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/183" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 24, + "matchingRecords": 506, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 11, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used for export, clipboard ownership and conversion cleanup (#183). These changes build on the existing image operations and upstream contributions.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/3709ee4395d040b9f48f0ac69184a8269fb53631", + "authorDate": "2026-10-31T18:06:09+00:00", + "committerDate": "2026-10-31T18:06:09+00:00", + "retainedNonblankNoncommentLines": 379, + "sampleBaselineLine": 154 + } + ], + "classificationAssessment": "AI:X, confirmed by the maintainer. The reviewed implementation history identifies export, clipboard-ownership and conversion-cleanup work (#183). Older image operations and upstream contributions predate that work; the recorded date is the first evidenced AI contribution in the reviewed sources.", + "conversationConfirmation": "Conversation implementation workflow correlated with matching PR/commit; some implementation was delegated or imported upstream.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdJSON.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. Cursor fixed key comparison in April 2026; Codex later added preprocessing/postprocessing callbacks (#137, #179). The existing parser/object implementation predates those contributions.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/179" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 24, + "matchingRecords": 313, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 19, + "matchingBubbleThreads": 25, + "matchingTranscriptFiles": 5, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-04-14", + "dateEvidence": "Completed Cursor source edit timestamp 2026-04-14T17:36:03.685Z, retained in e837820.", + "aiDescription": "Cursor was used to fix key comparison in April 2026. Codex was used to add preprocessing and postprocessing callbacks (#137, #179) to the existing parser and object implementation.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/1bcbfc54657cad0c02628f418d5a81b18eae4517", + "authorDate": "2026-10-31T17:49:59+00:00", + "committerDate": "2026-10-31T17:49:59+00:00", + "retainedNonblankNoncommentLines": 51, + "sampleBaselineLine": 129 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. Cursor fixed key comparison in April 2026; Codex later added preprocessing/postprocessing callbacks (#137, #179). The existing parser/object implementation predates those contributions.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Completed Cursor source edit timestamp 2026-04-14T17:36:03.685Z, retained in e837820. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdLambda.cls", + "lastCommitDate": "2026-11-01", + "mark": "AI:W", + "basis": "Overall AI:W, as classified by the maintainer; thunk-engine work is purely AI:X. Cursor first worked on native-thunk experiments in May 2026, but those engines are on other branches and are not part of this baseline. The retained October AI contribution fixes object-local copying during stack growth (#172); the existing VBA compiler/evaluator predates that fix.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/172", + "https://github.com/sancarn/stdVBA/pull/187" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 1511, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 14, + "matchingBubbleThreads": 29, + "matchingTranscriptFiles": 8, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-05-07", + "dateEvidence": "First completed Cursor thunk-experiment edits in May 2026; those experimental engines are not retained in the current baseline. The current stack-copy fix is dated 2026-10-31.", + "aiDescription": "AI was used to fix object-local copying during stack growth (#172) in the existing VBA compiler/evaluator. The native thunk engines are purely AI:X; those experiments began in May 2026 and remain on separate branches.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/ecac6ee50838b6e8daa3f36f0788c31eaf763cc3", + "authorDate": "2026-10-31T16:59:03+00:00", + "committerDate": "2026-10-31T16:59:03+00:00", + "retainedNonblankNoncommentLines": 1, + "sampleBaselineLine": 1366 + } + ], + "classificationAssessment": "Overall AI:W, as classified by the maintainer; thunk-engine work is purely AI:X. Cursor first worked on native-thunk experiments in May 2026, but those engines are on other branches and are not part of this baseline. The retained October AI contribution fixes object-local copying during stack growth (#172); the existing VBA compiler/evaluator predates that fix.", + "conversationConfirmation": "Codex PR/branch provenance and retained dated fix; original source-writing step is not independently recorded in supplied conversations.", + "conversationCrossCheck": "First completed Cursor thunk-experiment edits in May 2026; those experimental engines are not retained in the current baseline. The current stack-copy fix is dated 2026-10-31. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels.", + "componentClassifications": [ + { + "component": "Native thunk engine", + "mark": "AI:X", + "basis": "Explicit maintainer confirmation.", + "inCurrentBaseline": false + } + ] + }, + { + "file": "src/stdOutlook.cls", + "lastCommitDate": "2026-11-10", + "mark": "AI:X", + "basis": "AI:X, confirmed by the maintainer. PR #189 explicitly attributes creation of this Extended MAPI class to gpt-6-astra; there was no earlier stdOutlook class in the repository.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/189" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 0, + "matchingRecords": 0, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-11-10", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "This Extended MAPI class was written with gpt-6-astra (#189).", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/8ec0a13ba517991a3010df9a8551c35b3552a01c", + "authorDate": "2026-11-10T22:10:02+00:00", + "committerDate": "2026-11-10T22:10:02+00:00", + "retainedNonblankNoncommentLines": 1149, + "sampleBaselineLine": 3 + } + ], + "classificationAssessment": "AI:X, confirmed by the maintainer. PR #189 explicitly attributes creation of this Extended MAPI class to gpt-6-astra; there was no earlier stdOutlook class in the repository.", + "conversationConfirmation": "PR explicitly names AI implementation model; original implementation conversation is absent from supplied index.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdPerformance.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI changes added Access/Word optimization handling (#167) and improved timer precision (#177). Older optimizer and benchmark APIs predate these changes and are not attributed to AI by this evidence.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/167", + "https://github.com/sancarn/stdVBA/pull/177" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 24, + "matchingRecords": 264, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used for Access/Word optimization handling (#167) and timer-precision improvements (#177). The existing optimizer and benchmark APIs predate these changes.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/aec754829d7ca2817c0405b339895038793144d9", + "authorDate": "2026-10-31T16:27:10+00:00", + "committerDate": "2026-10-31T16:27:10+00:00", + "retainedNonblankNoncommentLines": 65, + "sampleBaselineLine": 62 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/f3264d13faddf002f2aeadcbec7e2eccaf80544e", + "authorDate": "2026-10-31T17:33:52+00:00", + "committerDate": "2026-10-31T17:33:52+00:00", + "retainedNonblankNoncommentLines": 81, + "sampleBaselineLine": 33 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI changes added Access/Word optimization handling (#167) and improved timer precision (#177). Older optimizer and benchmark APIs predate these changes and are not attributed to AI by this evidence.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdProcess.cls", + "lastCommitDate": "2025-06-18", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 230, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdQuadTree.cls", + "lastCommitDate": "2025-06-18", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 21, + "matchingRecords": 86, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdRefArray.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI corrected owned-Variant SAFEARRAY-slot pointer handling (#174). The borrowed-array implementation credited to Cristian Buse predates that fix; it is not claimed to be AI-authored.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/174" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 23, + "matchingRecords": 181, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used to correct owned-Variant SAFEARRAY-slot pointer handling (#174). The borrowed-array code is based on Cristian Buse's implementation.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/35bd353bef1ca4fed355c4b9389e98d6b1b615ca", + "authorDate": "2026-10-31T16:28:25+00:00", + "committerDate": "2026-10-31T16:28:25+00:00", + "retainedNonblankNoncommentLines": 3, + "sampleBaselineLine": 56 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI corrected owned-Variant SAFEARRAY-slot pointer handling (#174). The borrowed-array implementation credited to Cristian Buse predates that fix; it is not claimed to be AI-authored.", + "conversationConfirmation": "Codex PR/branch provenance and retained dated fix; original source-writing step is not independently recorded in supplied conversations.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdReg.cls", + "lastCommitDate": "2026-10-30", + "mark": "AI:W", + "basis": "Overall AI:W, as classified by the maintainer. Some small additions, including the key/value-creation work (#168), are AI:X. The earlier registry-reading/writing implementation predates those additions; the component note does not attribute the entire class to AI.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/168" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 23, + "matchingRecords": 155, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-30", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "The class is AI:W overall. Small additions, including key/value creation (#168), are AI:X. The original registry-reading and writing implementation predates those additions.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/cec9a68fc336e10dc980520bbd7252d188525390", + "authorDate": "2026-10-30T12:59:34+00:00", + "committerDate": "2026-10-30T12:59:34+00:00", + "retainedNonblankNoncommentLines": 75, + "sampleBaselineLine": 131 + } + ], + "classificationAssessment": "Overall AI:W, as classified by the maintainer. Some small additions, including the key/value-creation work (#168), are AI:X. The earlier registry-reading/writing implementation predates those additions; the component note does not attribute the entire class to AI.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels.", + "componentClassifications": [ + { + "component": "Small key/value-creation additions", + "mark": "AI:X", + "basis": "Explicit maintainer confirmation.", + "inCurrentBaseline": true + } + ] + }, + { + "file": "src/stdRegex.cls", + "lastCommitDate": "2026-11-01", + "mark": "AI:W", + "basis": "Overall AI:W, as classified by the maintainer. The pure VBA engine is upstream work credited to sihlfall; earlier AI-assisted integration is recorded in #164. The native x86/x64 thunk engine (#184) is purely AI:X. That component classification does not attribute the upstream engine to AI.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/164", + "https://github.com/sancarn/stdVBA/pull/184" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 37, + "matchingRecords": 856, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 7, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-27", + "dateEvidence": "Commit c02d86f (2026-10-27) identifies earlier AI-assisted integration; the explicitly AI:X native thunk followed in 4a2bb49 on 2026-11-01.", + "aiDescription": "The pure VBA engine was written by sihlfall. AI was used for integration (#164). The native x86/x64 thunk engine (#184) was generated entirely by AI and is AI:X; the class is AI:W overall.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/c02d86fd7e5c99b648f9729d7a0c6160d492a642", + "authorDate": "2026-10-27T19:35:24+00:00", + "committerDate": "2026-10-27T19:35:24+00:00", + "retainedNonblankNoncommentLines": 3822, + "sampleBaselineLine": 11 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/4a2bb495ef5603b5afcd5a953f63fef35e5bd67e", + "authorDate": "2026-11-01T12:36:42+00:00", + "committerDate": "2026-11-01T12:36:42+00:00", + "retainedNonblankNoncommentLines": 312, + "sampleBaselineLine": 12 + } + ], + "classificationAssessment": "Overall AI:W, as classified by the maintainer. The pure VBA engine is upstream work credited to sihlfall; earlier AI-assisted integration is recorded in #164. The native x86/x64 thunk engine (#184) is purely AI:X. That component classification does not attribute the upstream engine to AI.", + "conversationConfirmation": "Conversation implementation workflow correlated with matching PR/commit; some implementation was delegated or imported upstream.", + "conversationCrossCheck": "Commit c02d86f (2026-10-27) identifies earlier AI-assisted integration; the explicitly AI:X native thunk followed in 4a2bb49 on 2026-11-01. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels.", + "componentClassifications": [ + { + "component": "Native thunk engine", + "mark": "AI:X", + "basis": "Explicit maintainer confirmation.", + "inCurrentBaseline": true + } + ] + }, + { + "file": "src/stdRibbon.cls", + "lastCommitDate": "2025-09-30", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 21, + "matchingRecords": 98, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdSentry.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI added scoped worksheet unlocking (#166). The prior scoped-guard and cleanup implementation predates this addition and is not attributed to AI by this evidence.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/166" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 22, + "matchingRecords": 164, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 8, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used to add scoped worksheet unlocking (#166) to the existing guard and cleanup implementation.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/2297705290ded488d5a850dc75801e9c3d10fc76", + "authorDate": "2026-10-31T16:21:48+00:00", + "committerDate": "2026-10-31T16:21:48+00:00", + "retainedNonblankNoncommentLines": 32, + "sampleBaselineLine": 99 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI added scoped worksheet unlocking (#166). The prior scoped-guard and cleanup implementation predates this addition and is not attributed to AI by this evidence.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdTimer.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI fixed owned-host lifecycle, partial startup and shutdown cleanup (#176). The original timer implementation dates from 2023 and is not attributed to AI by this evidence.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/176" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 23, + "matchingRecords": 176, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 8, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used to fix owned-host lifecycle, partial startup and shutdown cleanup (#176). The original timer implementation dates from 2023.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/f9d500b3ff8a84004e812021788e98c220903a71", + "authorDate": "2026-10-31T16:39:39+00:00", + "committerDate": "2026-10-31T16:39:39+00:00", + "retainedNonblankNoncommentLines": 70, + "sampleBaselineLine": 50 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI fixed owned-host lifecycle, partial startup and shutdown cleanup (#176). The original timer implementation dates from 2023 and is not attributed to AI by this evidence.", + "conversationConfirmation": "Codex PR/branch provenance and retained dated fix; original source-writing step is not independently recorded in supplied conversations.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdUIElement.cls", + "lastCommitDate": "2025-06-09", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 22, + "matchingRecords": 111, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 9, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/stdWebSocket.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:X", + "basis": "AI:X, confirmed by the maintainer. AI work replaced the legacy IE transport with native WinHTTP synchronous/asynchronous transport (#180). The prior API and legacy implementation predate that rewrite.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/180" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 30, + "matchingRecords": 349, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used to replace the legacy IE transport with native WinHTTP synchronous/asynchronous transport (#180). The original WebSocket API predates this rewrite.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/116817ad65e4e33e611e34f0259ec7d4fa4d817f", + "authorDate": "2026-10-31T18:20:40+00:00", + "committerDate": "2026-10-31T18:20:40+00:00", + "retainedNonblankNoncommentLines": 445, + "sampleBaselineLine": 16 + } + ], + "classificationAssessment": "AI:X, confirmed by the maintainer. AI work replaced the legacy IE transport with native WinHTTP synchronous/asynchronous transport (#180). The prior API and legacy implementation predate that rewrite.", + "conversationConfirmation": "Conversation implementation workflow correlated with matching PR/commit; some implementation was delegated or imported upstream.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdWebView.cls", + "lastCommitDate": "2026-05-15", + "mark": "AI:X", + "basis": "AI:X, confirmed by the maintainer. Cursor authored the standalone WebView2 class and subsequent March-May APIs/refactors. Its design draws on the upstream project credited by the existing attribution tag; this does not attribute that upstream project to AI.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/154" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 24, + "matchingRecords": 197, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 34, + "matchingBubbleThreads": 35, + "matchingTranscriptFiles": 23, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-03-18", + "dateEvidence": "Completed Cursor source edit timestamp 2026-03-18T21:39:40.369Z.", + "aiDescription": "Cursor was used to write the standalone WebView2 class and its March-May APIs/refactors. The design is based on the upstream project credited by the attribution tag.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/c9968819bac99503bbffbc6edd3139c406fd98d7", + "authorDate": "2026-03-23T00:47:56+00:00", + "committerDate": "2026-03-23T00:47:56+00:00", + "retainedNonblankNoncommentLines": 820, + "sampleBaselineLine": 3 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/8718f665cf473ed2e4598934ee05e068c83187f9", + "authorDate": "2026-03-23T18:45:46+00:00", + "committerDate": "2026-03-23T18:45:46+00:00", + "retainedNonblankNoncommentLines": 7, + "sampleBaselineLine": 1231 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/6c4680aa760e2cf34a9f9c26b5000f0d044e9260", + "authorDate": "2026-03-23T17:34:52+00:00", + "committerDate": "2026-03-23T17:34:52+00:00", + "retainedNonblankNoncommentLines": 174, + "sampleBaselineLine": 73 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/38bea852615dbd88b2f133b3691112c9fd245039", + "authorDate": "2026-03-23T18:12:48+00:00", + "committerDate": "2026-03-23T18:12:48+00:00", + "retainedNonblankNoncommentLines": 48, + "sampleBaselineLine": 106 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/fbd15c073abde606d80dfd584fd5cdfdd44773a6", + "authorDate": "2026-03-23T18:38:16+00:00", + "committerDate": "2026-03-23T18:38:16+00:00", + "retainedNonblankNoncommentLines": 18, + "sampleBaselineLine": 745 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/2f6465d03063b6f2411de1a2b984e571902f8199", + "authorDate": "2026-03-25T13:26:06+00:00", + "committerDate": "2026-03-25T13:26:06+00:00", + "retainedNonblankNoncommentLines": 403, + "sampleBaselineLine": 110 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/ebcdbba902aa66036bcacb077562d17da33cd017", + "authorDate": "2026-03-25T10:36:13+00:00", + "committerDate": "2026-03-25T10:36:13+00:00", + "retainedNonblankNoncommentLines": 24, + "sampleBaselineLine": 277 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/9b0715977f8e8c188c28ba703458ea904b3b723f", + "authorDate": "2026-03-25T14:57:48+00:00", + "committerDate": "2026-03-25T14:57:48+00:00", + "retainedNonblankNoncommentLines": 140, + "sampleBaselineLine": 209 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/8a44620c23337ad84841953ab80ad637e9f95649", + "authorDate": "2026-04-02T01:17:29+01:00", + "committerDate": "2026-04-02T01:17:29+01:00", + "retainedNonblankNoncommentLines": 149, + "sampleBaselineLine": 121 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/ec8352a01edd3ed0d5be898cbc8a565469eb4005", + "authorDate": "2026-04-09T01:35:12+01:00", + "committerDate": "2026-04-09T01:35:12+01:00", + "retainedNonblankNoncommentLines": 175, + "sampleBaselineLine": 94 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/b1e69ff16f78949386cb20aec765249259408dd7", + "authorDate": "2026-04-13T17:30:04+01:00", + "committerDate": "2026-04-13T17:30:04+01:00", + "retainedNonblankNoncommentLines": 364, + "sampleBaselineLine": 134 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/f2df31198692ea0a4a1ea7953e8863f44553ebad", + "authorDate": "2026-04-13T17:54:28+01:00", + "committerDate": "2026-04-13T17:54:28+01:00", + "retainedNonblankNoncommentLines": 1, + "sampleBaselineLine": 802 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/064e638c9919187cb41ff0bc29e4e6f4599c5090", + "authorDate": "2026-04-18T13:01:55+01:00", + "committerDate": "2026-04-18T13:01:55+01:00", + "retainedNonblankNoncommentLines": 16, + "sampleBaselineLine": 985 + } + ], + "classificationAssessment": "AI:X, confirmed by the maintainer. Cursor authored the standalone WebView2 class and subsequent March-May APIs/refactors. Its design draws on the upstream project credited by the existing attribution tag; this does not attribute that upstream project to AI.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Completed Cursor source edit timestamp 2026-03-18T21:39:40.369Z. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/stdWindow.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "Overall AI:W, as classified by the maintainer. The subclassing/native callback thunks (#182) are AI:X. Existing window discovery/manipulation APIs predate that feature; the accompanying guard/reset behavior received human technical scrutiny.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/182" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 38, + "matchingRecords": 777, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 28, + "matchingBubbleThreads": 36, + "matchingTranscriptFiles": 5, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "The class is AI:W overall. The subclassing/native callback thunks (#182) are AI:X. The guard/reset behavior was reviewed manually; the existing window discovery and manipulation APIs predate that feature.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/ec9d93eb02501af4c88177f7e73ab8f17b2ce68c", + "authorDate": "2026-10-31T19:47:28+00:00", + "committerDate": "2026-10-31T19:47:28+00:00", + "retainedNonblankNoncommentLines": 471, + "sampleBaselineLine": 10 + } + ], + "classificationAssessment": "Overall AI:W, as classified by the maintainer. The subclassing/native callback thunks (#182) are AI:X. Existing window discovery/manipulation APIs predate that feature; the accompanying guard/reset behavior received human technical scrutiny.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels.", + "componentClassifications": [ + { + "component": "Subclassing/native callback thunks", + "mark": "AI:X", + "basis": "Explicit maintainer confirmation.", + "inCurrentBaseline": true + } + ] + }, + { + "file": "src/WIP/JSONLogic.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/Pointers/stdPointer v2.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 12, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 4, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/Pointers/stdPointer.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 12, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 4, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/STD_Runtimes_CLR.cls", + "lastCommitDate": "2020-04-13", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCallableScheduler.bas", + "lastCommitDate": "2025-10-14", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 15, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCallback2.cls", + "lastCommitDate": "2023-12-31", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 8, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 7, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCanvas.cls", + "lastCommitDate": "2025-06-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 25, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 3, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCOMDispatch.cls", + "lastCommitDate": "2021-07-12", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 10, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCrypto/MD5.cls", + "lastCommitDate": "2021-03-23", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 8, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 8, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCrypto/stdCrypt.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 4, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCSV/CSVinterface.cls", + "lastCommitDate": "2026-01-18", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 15, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdCSV/stdCSV.cls", + "lastCommitDate": "2026-01-18", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 20, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 8, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdDate.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:W", + "basis": "AI:W, confirmed by the maintainer. AI fixed weekday semantics and regex-cache publication (#175). The original date/time wrapper predates those fixes and is not attributed to AI by this evidence.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/175" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 16, + "matchingRecords": 205, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "AI was used to fix weekday semantics and regex-cache publication (#175) in the existing date/time wrapper.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/803077f88a973c039dac58818a4939f06a113539", + "authorDate": "2026-10-31T16:28:44+00:00", + "committerDate": "2026-10-31T16:28:44+00:00", + "retainedNonblankNoncommentLines": 16, + "sampleBaselineLine": 322 + } + ], + "classificationAssessment": "AI:W, confirmed by the maintainer. AI fixed weekday semantics and regex-cache publication (#175). The original date/time wrapper predates those fixes and is not attributed to AI by this evidence.", + "conversationConfirmation": "Codex PR/branch provenance and retained dated fix; original source-writing step is not independently recorded in supplied conversations.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/WIP/stdDictionary/SS/stdDictionary2.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 29, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 2, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdDictionary/stdDictionary.cls", + "lastCommitDate": "2021-05-26", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 29, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 2, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdDictionary/stdIHashable.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdDictionary/trick/stdDictionary.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 29, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 2, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdDLL/inspiration/cUniversalDLLCalls.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 7, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 4, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdDLL/stdDLLFunc.cls", + "lastCommitDate": "2025-09-25", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 17, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 1, + "matchingBubbleThreads": 8, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdEndpoint.cls", + "lastCommitDate": "2024-06-27", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 4, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdEnumProvider/FibonacciIteratorExample.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 4, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdEnumProvider/STD_Types_IniVariantEnum.bas", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 6, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdError/stdDebug.cls", + "lastCommitDate": "2023-10-04", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 4, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdError/stdError.cls", + "lastCommitDate": "2023-10-04", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 13, + "matchingRecords": 108, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdError.cls", + "lastCommitDate": "2025-07-05", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 13, + "matchingRecords": 108, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdErrorWIP.cls", + "lastCommitDate": "2020-08-17", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 13, + "matchingRecords": 108, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdExcelLibraries/stdExcelWorkbook.cls", + "lastCommitDate": "2020-05-07", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdExcelLibraries/stdExcelWorksheet.cls", + "lastCommitDate": "2020-05-07", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdExcelLibraries/stdShapeEvents.cls", + "lastCommitDate": "2020-05-31", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdExcelLibraries/stdXLEvents.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdGithub.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdHTTPServer.cls", + "lastCommitDate": "2026-04-03", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 19, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdICallableScheduler.bas", + "lastCommitDate": "2025-09-14", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 15, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdIni.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 6, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdIResource.cls", + "lastCommitDate": "2024-06-28", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdIShellExtension.cls", + "lastCommitDate": "2025-09-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 16, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 5, + "matchingBubbleThreads": 9, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdMath.cls", + "lastCommitDate": "2025-04-15", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 8, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdObject/IFauxInterface.cls", + "lastCommitDate": "2023-10-04", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 5, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 3, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdObject/stdObject.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 7, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdOpenCL/stdOpenCL.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 3, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdPowerPointLibraries/ShapeHook.cls", + "lastCommitDate": "2026-01-02", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 21, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 3, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdRegex2.cls", + "lastCommitDate": "2024-01-10", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 6, + "matchingRecords": 12, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 3, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdResource.cls", + "lastCommitDate": "2023-12-31", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdRibbon.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 21, + "matchingRecords": 98, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 6, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdRuntimeJS.cls", + "lastCommitDate": "2023-10-26", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 23, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdSettings.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 4, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdSharepointSite.cls", + "lastCommitDate": "2024-02-17", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdShell.cls", + "lastCommitDate": "2025-11-21", + "mark": "AI:X", + "basis": "AI:X, confirmed by the maintainer. Cursor refactored constructors/path handling and added Shell helpers in September 2025. Retained additions match bb5eb26 and 9db792c; some early refactors were later replaced. This does not attribute every prior or later Shell feature to the same generation event.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 47, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 11, + "matchingBubbleThreads": 24, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2025-09-20", + "dateEvidence": "Completed Cursor edits on 2025-09-20/21 match retained September commits.", + "aiDescription": "Cursor was used to refactor constructors and path handling and add Shell helpers in September 2025. Some early refactors were later replaced.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/bb5eb26eacf734d96de154212b18c3cfc798a96a", + "authorDate": "2025-09-22T00:00:14+01:00", + "committerDate": "2025-09-22T00:00:14+01:00", + "retainedNonblankNoncommentLines": 401, + "sampleBaselineLine": 22 + }, + { + "commit": "https://github.com/sancarn/stdVBA/commit/9db792c3554afe9af960d876d3e23f34611ed7c2", + "authorDate": "2025-09-22T00:29:48+01:00", + "committerDate": "2025-09-22T00:29:48+01:00", + "retainedNonblankNoncommentLines": 80, + "sampleBaselineLine": 1291 + } + ], + "classificationAssessment": "AI:X, confirmed by the maintainer. Cursor refactored constructors/path handling and added Shell helpers in September 2025. Retained additions match bb5eb26 and 9db792c; some early refactors were later replaced. This does not attribute every prior or later Shell feature to the same generation event.", + "conversationConfirmation": "Direct conversation source edits/implementation records correlated with retained commit changes.", + "conversationCrossCheck": "Completed Cursor edits on 2025-09-20/21 match retained September commits. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/WIP/stdShellMTP.cls", + "lastCommitDate": "2025-09-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 15, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 7, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdString.cls", + "lastCommitDate": "2023-10-04", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 3, + "matchingRecords": 11, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdStringBuilder.cls", + "lastCommitDate": "2023-05-24", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 13, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 2, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdStruct.cls", + "lastCommitDate": "2022-01-03", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdITable.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdITableRow.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdRow v0.0.1.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdTable.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 6, + "matchingRecords": 12, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdXLEvents.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdXLTable.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTable/stdXLTableRow.cls", + "lastCommitDate": "2023-10-01", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 0, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTimer.cls", + "lastCommitDate": "2024-01-23", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 23, + "matchingRecords": 176, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 8, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdTimerServerWIP.bas", + "lastCommitDate": "2023-10-04", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 4, + "matchingRecords": 8, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 2, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdUIAutomationElement.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 2, + "matchingRecords": 8, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 5, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdWebSocket/stdWebSocket.cls", + "lastCommitDate": "2023-10-04", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 30, + "matchingRecords": 349, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 10, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdWebSocket/stdWebSocketNew.cls", + "lastCommitDate": "2026-10-31", + "mark": "AI:X", + "basis": "AI:X as the WIP mirror of the maintainer-classified stdWebSocket implementation. Both files contain the same AI-assisted native transport rewrite (#180), rather than separate authorship events; the preceding legacy design predates that rewrite.", + "pullRequests": [ + "https://github.com/sancarn/stdVBA/pull/180" + ], + "historyNameSearch": { + "matchingNonDisclosureLogs": 6, + "matchingRecords": 54, + "assessment": "Retain existing provenance assessment; mentions alone do not change the mark." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 0, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "firstAIContributionDate": "2026-10-31", + "dateEvidence": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established.", + "aiDescription": "This WIP file mirrors the AI-written native transport implementation in stdWebSocket (#180). Both copies replace the earlier legacy transport.", + "blameReview": { + "baseline": "8ec0a13ba517991a3010df9a8551c35b3552a01c", + "method": "git blame -w --line-porcelain, excluding blank/comment/export-metadata lines. Commit diffs checked for deletions; upstream imports are not treated as AI-generated code. Counts describe retained changed lines, not scrutiny or AI-authorship percentages.", + "evidence": [ + { + "commit": "https://github.com/sancarn/stdVBA/commit/116817ad65e4e33e611e34f0259ec7d4fa4d817f", + "authorDate": "2026-10-31T18:20:40+00:00", + "committerDate": "2026-10-31T18:20:40+00:00", + "retainedNonblankNoncommentLines": 444, + "sampleBaselineLine": 16 + } + ], + "classificationAssessment": "AI:X as the WIP mirror of the maintainer-classified stdWebSocket implementation. Both files contain the same AI-assisted native transport rewrite (#180), rather than separate authorship events; the preceding legacy design predates that rewrite.", + "conversationConfirmation": "Conversation implementation workflow correlated with matching PR/commit; some implementation was delegated or imported upstream.", + "conversationCrossCheck": "Earliest matched retained AI-change commit date in the blame evidence; exact earlier edit time is not established. Authorship evidence is described in conversationConfirmation; the explicit maintainer classification supersedes earlier review-history inferences." + }, + "classificationStatus": "maintainer-confirmed", + "classificationEvidence": "Explicit maintainer classification supplied in this conversation; overrides previous inferred/uncertain W/X labels." + }, + { + "file": "src/WIP/stdWordLibraries/stdWordDocument.cls", + "lastCommitDate": "2024-02-22", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + }, + { + "file": "src/WIP/stdXML.cls", + "lastCommitDate": "2021-03-23", + "mark": "AI:0", + "basis": "Explicit maintainer AI:0 declaration for the remaining source modules; not inferred automatically from missing attribution.", + "pullRequests": [], + "historyNameSearch": { + "matchingNonDisclosureLogs": 1, + "matchingRecords": 2, + "assessment": "No additional implementation-writing evidence established." + }, + "cursorHistoryNameSearch": { + "matchingComposerBodies": 0, + "matchingBubbleThreads": 1, + "matchingTranscriptFiles": 1, + "assessment": "Mentions alone do not establish implementation authorship; later provenance assessments take precedence." + }, + "classificationStatus": "maintainer-confirmed", + "aiDescription": "AI has not touched this code yet. This may change to AI:W when AI edits this file.", + "classificationEvidence": "The maintainer explicitly supplied the AI:0 mark and description for these remaining source modules." + } + ], + "localHistoryNameSearch": { + "indexedLogsSearched": 43, + "recordsWithNameMatches": 3591, + "disclosureAndHistoryLookupLogsExcludedAsAuthorshipEvidence": 3, + "matching": "Case-insensitive whole-name search of every JSONL line for every source filename stem and Attribute VB_Name; includes standard modules and WIP.", + "interpretation": "Mentions include copied source, tool output, directory listings, dependencies and changelog text. They are discovery evidence, not proof of AI writing. Duplicate class names across source paths share name hits and require path disambiguation.", + "followUp": "Inspected mutation-shaped tool calls and associated discussion for currently unmarked classes. Hits concerned dependency/test setup, documentation, historical changelog work or unmerged experiments; no additional merged implementation-writing evidence was established. The later stdCallback changes documented calling conventions and added tests; its implementation mark remains AI:W.", + "privacy": "Only coverage counts and conclusions are published; local paths, conversation identifiers and transcript text are omitted.", + "source": "The 43 indexed Codex session logs; Cursor coverage is recorded separately." + }, + "cursorHistorySearch": { + "workspaceHeaderRecords": 53, + "chatRecords": 46, + "exploreSubagentRecords": 7, + "composerBodiesSearched": 53, + "storedBubblesSearched": 3162, + "transcriptFilesSearched": 40, + "transcriptRecordsSearched": 976, + "method": "Read-only global database queries selected the exact workspace headers, composerData bodies and bubbleId messages. Every available matching transcript JSONL line was also searched for source filename stems and VB_Name aliases. Source-write tool arguments were inspected by exact destination path and completion status; current code/Git history were checked for retained changes.", + "limits": "One untitled September 2025 record has no stored bubble messages. The current project-usage-analysis conversation was searched but excluded as implementation-authorship evidence. Missing messages cannot establish absence of AI use. Name collisions between classes require path disambiguation. Private transcripts and local identifiers are not published.", + "finding": "Retained Cursor changes establish AI involvement in HTML, WebView, Shell and an earlier JSON fix. The maintainer explicitly classifies HTML/WebView/Shell AI:X and JSON AI:W. Lambda native-thunk experiments are AI:X components outside the current baseline; their first dated Cursor work is included as historical involvement." + }, + "classificationReview": "Updated to the maintainer explicit classifications: AI:X for WebView, HTML, Shell, Image, Outlook and WebSocket (including its WIP mirror); AI:W for the other previously reviewed current-source classes. Regex/Lambda native engines, Reg small additions and Window subclassing thunks have separate AI:X component notes. Enumerator lazy traversal is confirmed manually reviewed. The missing stdRuntime class is recorded separately because it lives on an unmerged local branch. The remaining 73 source modules now carry the maintainer-supplied AI:0 declaration and description, without an invented AI date.", + "otherBranchModules": [ + { + "file": "src/WIP/stdRuntime.cls", + "branch": "codex/std-runtime-locals", + "commit": "5a6c9bcd4f6838e54a2e4233e85c3fbc78ecae17", + "mark": "AI:X", + "firstAIContributionDate": "2026-10-25", + "dateEvidence": "Introducing local commit author/committer date.", + "aiDescription": "AI was used to write stdRuntime.GetVars, which reads local names, type names and formatted values from caller VBA stack frames. Frame discovery builds on Ariche2/VBAStack. The class supports only its documented Windows x64 VBE7 profile.", + "inCurrentBaseline": false, + "locationExplanation": "Present on the local codex/std-runtime-locals branch; introducing commit is not an ancestor of master. The implementation is not added to this disclosure PR. An annotated recovered source copy and its original guide are supplied separately." + } + ] +} diff --git a/src/WIP/JSONLogic.cls b/src/WIP/JSONLogic.cls index 6f79f733..070445a5 100644 --- a/src/WIP/JSONLogic.cls +++ b/src/WIP/JSONLogic.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'This is a test library for JSON Logic. 'JSON Logic is being used as a placeholder for Lambdas at the moment, until a proper lamda syntax is released. 'Lambda syntax will likely be converted to JSONLogic objects where they'll be parsed by this algorithm. diff --git a/src/WIP/Pointers/stdPointer v2.cls b/src/WIP/Pointers/stdPointer v2.cls index faee8a4a..98eb3a3f 100644 --- a/src/WIP/Pointers/stdPointer v2.cls +++ b/src/WIP/Pointers/stdPointer v2.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Pre requisites: 'Revolution in pointers: diff --git a/src/WIP/Pointers/stdPointer.cls b/src/WIP/Pointers/stdPointer.cls index 7c2903b2..aeb7f456 100644 --- a/src/WIP/Pointers/stdPointer.cls +++ b/src/WIP/Pointers/stdPointer.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Pre requisites: 'Revolution in pointers: diff --git a/src/WIP/STD_Runtimes_CLR.cls b/src/WIP/STD_Runtimes_CLR.cls index b11ecc3c..7b584682 100644 --- a/src/WIP/STD_Runtimes_CLR.cls +++ b/src/WIP/STD_Runtimes_CLR.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + 'Requires references to: ' C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoree.tlb "Common language runtime execution engine" 'and diff --git a/src/WIP/stdCOMDispatch.cls b/src/WIP/stdCOMDispatch.cls index e99d3941..bd5f4320 100644 --- a/src/WIP/stdCOMDispatch.cls +++ b/src/WIP/stdCOMDispatch.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private pCOM as stdCOM Private pRIID as GUID 'rIID must be IID_NULL == GUID.Empty diff --git a/src/WIP/stdCSV/CSVinterface.cls b/src/WIP/stdCSV/CSVinterface.cls index 7496e1bb..eb1f4c10 100644 --- a/src/WIP/stdCSV/CSVinterface.cls +++ b/src/WIP/stdCSV/CSVinterface.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Option Explicit '# '//////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/WIP/stdCSV/stdCSV.cls b/src/WIP/stdCSV/stdCSV.cls index 58e5b44b..955ac1e5 100644 --- a/src/WIP/stdCSV/stdCSV.cls +++ b/src/WIP/stdCSV/stdCSV.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description A class for parsing, manipulating, and exporting CSV data. Supports lazy loading 'and streaming for efficient memory usage with large files. Can work with files, strings, or arrays. '@example Simple example of creating a CSV from file and converting to array: diff --git a/src/WIP/stdCallableScheduler.bas b/src/WIP/stdCallableScheduler.bas index d716aa6a..17684538 100644 --- a/src/WIP/stdCallableScheduler.bas +++ b/src/WIP/stdCallableScheduler.bas @@ -1,5 +1,11 @@ Attribute VB_Name = "stdCallableScheduler" +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private scheduledCallbacks As Collection 'Schedule a callback after a number of seconds diff --git a/src/WIP/stdCallback2.cls b/src/WIP/stdCallback2.cls index 62687889..2a08ac30 100644 --- a/src/WIP/stdCallback2.cls +++ b/src/WIP/stdCallback2.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Design: ' EByApplicationRun ' On Windows: diff --git a/src/WIP/stdCanvas.cls b/src/WIP/stdCanvas.cls index 56e58d49..730b736c 100644 --- a/src/WIP/stdCanvas.cls +++ b/src/WIP/stdCanvas.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Public Enum CanvasRectFields [_First] = 0 diff --git a/src/WIP/stdCrypto/MD5.cls b/src/WIP/stdCrypto/MD5.cls index 3c4477c8..cd98d819 100644 --- a/src/WIP/stdCrypto/MD5.cls +++ b/src/WIP/stdCrypto/MD5.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Option Explicit ' 'MD5Hash diff --git a/src/WIP/stdCrypto/stdCrypt.cls b/src/WIP/stdCrypto/stdCrypt.cls index 4c6c8fd7..93419b39 100644 --- a/src/WIP/stdCrypto/stdCrypt.cls +++ b/src/WIP/stdCrypto/stdCrypt.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Modified from src: https://www.vbforums.com/showthread.php?883497-Simple-Encryption diff --git a/src/WIP/stdDLL/inspiration/cUniversalDLLCalls.cls b/src/WIP/stdDLL/inspiration/cUniversalDLLCalls.cls index 0c535807..b366d2bf 100644 --- a/src/WIP/stdDLL/inspiration/cUniversalDLLCalls.cls +++ b/src/WIP/stdDLL/inspiration/cUniversalDLLCalls.cls @@ -10,6 +10,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Option Explicit ' for documentation on the main API DispCallFunc... http://msdn.microsoft.com/en-us/library/windows/desktop/ms221473%28v=vs.85%29.aspx diff --git a/src/WIP/stdDLL/stdDLLFunc.cls b/src/WIP/stdDLL/stdDLLFunc.cls index a6157661..2408f48c 100644 --- a/src/WIP/stdDLL/stdDLLFunc.cls +++ b/src/WIP/stdDLL/stdDLLFunc.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Implements stdICallable #if Win64 then diff --git a/src/WIP/stdDate.cls b/src/WIP/stdDate.cls index 6b9ff236..2d368884 100644 --- a/src/WIP/stdDate.cls +++ b/src/WIP/stdDate.cls @@ -8,6 +8,13 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used to fix weekday semantics and regex-cache publication (#175) in the existing date/time wrapper. +'@description Date and time utilities (experimental). + + 'Class that wraps standard VBA DateTime functionality: '* Create from double '* Create from Year, Month, Day, Hour, Min, Second diff --git a/src/WIP/stdDictionary/SS/stdDictionary2.cls b/src/WIP/stdDictionary/SS/stdDictionary2.cls index 8e071c11..b6392622 100644 --- a/src/WIP/stdDictionary/SS/stdDictionary2.cls +++ b/src/WIP/stdDictionary/SS/stdDictionary2.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + '---------------------------------------------- ' HASHTABLE class module ' diff --git a/src/WIP/stdDictionary/stdDictionary.cls b/src/WIP/stdDictionary/stdDictionary.cls index 9d7838c1..3e12c8c6 100644 --- a/src/WIP/stdDictionary/stdDictionary.cls +++ b/src/WIP/stdDictionary/stdDictionary.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Hash size typically we are anticipating only 10 hashes being required. In reality the larger this number is the better in terms of 'performance, however the more memory is consumed. If you're generating hundreds of dictionaries you want to keep this number as low as possible. 'on the other hand if you are making 1 huge hash, then this number should likely be a lot larger. diff --git a/src/WIP/stdDictionary/stdIHashable.cls b/src/WIP/stdDictionary/stdIHashable.cls index 554082e3..06168def 100644 --- a/src/WIP/stdDictionary/stdIHashable.cls +++ b/src/WIP/stdDictionary/stdIHashable.cls @@ -8,5 +8,11 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = false Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Public Property Get Hash() as Variant: End Property Public Function isEqual(v as variant) as Boolean: End Function \ No newline at end of file diff --git a/src/WIP/stdDictionary/trick/stdDictionary.cls b/src/WIP/stdDictionary/trick/stdDictionary.cls index 3d8bb936..90616091 100644 --- a/src/WIP/stdDictionary/trick/stdDictionary.cls +++ b/src/WIP/stdDictionary/trick/stdDictionary.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + ' This is built entirely on the following library by The Trick, a fantastic software engineer: ' // clsTrickHashTable.cls - Hash table class ' // � Krivous Anatoly Anatolevich (The trick), 2014-2016 diff --git a/src/WIP/stdEndpoint.cls b/src/WIP/stdEndpoint.cls index a9933d92..fccbc68a 100644 --- a/src/WIP/stdEndpoint.cls +++ b/src/WIP/stdEndpoint.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + #If VBA7 Then Private Declare PtrSafe Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As LongPtr) Private Declare PtrSafe Sub ZeroMemory Lib "kernel32" Alias "RtlZeroMemory" (Destination As Any, ByVal Length As Long) diff --git a/src/WIP/stdEnumProvider/FibonacciIteratorExample.cls b/src/WIP/stdEnumProvider/FibonacciIteratorExample.cls index 284804ba..eff894cd 100644 --- a/src/WIP/stdEnumProvider/FibonacciIteratorExample.cls +++ b/src/WIP/stdEnumProvider/FibonacciIteratorExample.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Usage: ' 'Dim v as variant diff --git a/src/WIP/stdEnumProvider/STD_Types_IniVariantEnum.bas b/src/WIP/stdEnumProvider/STD_Types_IniVariantEnum.bas index e19e598d..529da83b 100644 --- a/src/WIP/stdEnumProvider/STD_Types_IniVariantEnum.bas +++ b/src/WIP/stdEnumProvider/STD_Types_IniVariantEnum.bas @@ -1,5 +1,11 @@ Attribute VB_Name = "STD_Types_IniVariantEnum" +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + ' ' MEnumerator.bas ' diff --git a/src/WIP/stdError.cls b/src/WIP/stdError.cls index da051508..1b2a49ac 100644 --- a/src/WIP/stdError.cls +++ b/src/WIP/stdError.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Type TStack initialised as Boolean index as Long diff --git a/src/WIP/stdError/stdDebug.cls b/src/WIP/stdError/stdDebug.cls index 67940489..1a7581b5 100644 --- a/src/WIP/stdError/stdDebug.cls +++ b/src/WIP/stdError/stdDebug.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Private pFilePath As String Private pWarnings As New Collection Private pErrors As New Collection diff --git a/src/WIP/stdError/stdError.cls b/src/WIP/stdError/stdError.cls index 6a3c762c..9cb87e6a 100644 --- a/src/WIP/stdError/stdError.cls +++ b/src/WIP/stdError/stdError.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Public stack As stdArray Public RaiseClient As Object 'Allow Raise through a custom userform. Userform should expose a Raise(sMessage, Criticality, Title, StackTrace) method. Public Event OnStackAdd(ByRef oStack as stdArray, ByRef oElement as object) diff --git a/src/WIP/stdErrorWIP.cls b/src/WIP/stdErrorWIP.cls index be65f30e..7046b21d 100644 --- a/src/WIP/stdErrorWIP.cls +++ b/src/WIP/stdErrorWIP.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + diff --git a/src/WIP/stdExcelLibraries/stdExcelWorkbook.cls b/src/WIP/stdExcelLibraries/stdExcelWorkbook.cls index def3fa7e..8ab659b7 100644 --- a/src/WIP/stdExcelLibraries/stdExcelWorkbook.cls +++ b/src/WIP/stdExcelLibraries/stdExcelWorkbook.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Public Function CreateFromFile(ByVal sPath as string) as stdExcelWorkbook Dim WB as workbook diff --git a/src/WIP/stdExcelLibraries/stdExcelWorksheet.cls b/src/WIP/stdExcelLibraries/stdExcelWorksheet.cls index 8a2fda15..871d8114 100644 --- a/src/WIP/stdExcelLibraries/stdExcelWorksheet.cls +++ b/src/WIP/stdExcelLibraries/stdExcelWorksheet.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Initialised as Boolean Private pWorksheet as Worksheet diff --git a/src/WIP/stdExcelLibraries/stdShapeEvents.cls b/src/WIP/stdExcelLibraries/stdShapeEvents.cls index 64f2bd9d..0b10cdd8 100644 --- a/src/WIP/stdExcelLibraries/stdShapeEvents.cls +++ b/src/WIP/stdExcelLibraries/stdShapeEvents.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Example.bas ' ' Dim WithEvents shpEvents As stdShapeEvents diff --git a/src/WIP/stdExcelLibraries/stdXLEvents.cls b/src/WIP/stdExcelLibraries/stdXLEvents.cls index f124f846..390f05a3 100644 --- a/src/WIP/stdExcelLibraries/stdXLEvents.cls +++ b/src/WIP/stdExcelLibraries/stdXLEvents.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Public Event SelectionChange(selOld As Object, selNew As Object) Public Event RangeSelectionChange(rOldRange As Range, rNewRange As Range) diff --git a/src/WIP/stdGithub.cls b/src/WIP/stdGithub.cls index be5bc5dc..cea19e25 100644 --- a/src/WIP/stdGithub.cls +++ b/src/WIP/stdGithub.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Based on: https://docs.github.com/en/rest 'Core docs: https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-or-update-file-contents diff --git a/src/WIP/stdHTTPServer.cls b/src/WIP/stdHTTPServer.cls index 9edbc64b..f1fbff79 100644 --- a/src/WIP/stdHTTPServer.cls +++ b/src/WIP/stdHTTPServer.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + ' Dim x As stdHTTPServer ' Set x = stdHTTPServer.Create(8091) ' Dim bshit As Boolean: bshit = True diff --git a/src/WIP/stdICallableScheduler.bas b/src/WIP/stdICallableScheduler.bas index 839eae77..daafd872 100644 --- a/src/WIP/stdICallableScheduler.bas +++ b/src/WIP/stdICallableScheduler.bas @@ -1,5 +1,11 @@ Attribute VB_Name = "stdCallableScheduler" +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private scheduledCallbacks As Collection 'Schedule a callback after a number of seconds diff --git a/src/WIP/stdIResource.cls b/src/WIP/stdIResource.cls index 483ef577..53dc7d06 100644 --- a/src/WIP/stdIResource.cls +++ b/src/WIP/stdIResource.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = false Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Enum EStandardResourceType StandardFile StandardFolder diff --git a/src/WIP/stdIShellExtension.cls b/src/WIP/stdIShellExtension.cls index 82e0ca7f..70210aeb 100644 --- a/src/WIP/stdIShellExtension.cls +++ b/src/WIP/stdIShellExtension.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Checks if the extension is of the given item '@param item - The item to check if the extension is of '@returns - True if the extension is of the given item, false otherwise diff --git a/src/WIP/stdIni.cls b/src/WIP/stdIni.cls index 3c02f83e..9cfa22dc 100644 --- a/src/WIP/stdIni.cls +++ b/src/WIP/stdIni.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private IniPath As String Public Data As Object Public Comments As Object diff --git a/src/WIP/stdMath.cls b/src/WIP/stdMath.cls index eef59f35..e8481719 100644 --- a/src/WIP/stdMath.cls +++ b/src/WIP/stdMath.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Enum InterpolationType Linear Logarithmic diff --git a/src/WIP/stdObject/IFauxInterface.cls b/src/WIP/stdObject/IFauxInterface.cls index b2a0bc04..58cfe81e 100644 --- a/src/WIP/stdObject/IFauxInterface.cls +++ b/src/WIP/stdObject/IFauxInterface.cls @@ -11,6 +11,12 @@ Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'SRC: http://www.vbforums.com/showthread.php?785939-VB6-Creating-Using-COM-Interfaces-without-TLBs ' -------------------------------------------------------------------------------------------------------- diff --git a/src/WIP/stdObject/stdObject.cls b/src/WIP/stdObject/stdObject.cls index 3e90dc1a..f8e5424b 100644 --- a/src/WIP/stdObject/stdObject.cls +++ b/src/WIP/stdObject/stdObject.cls @@ -11,6 +11,12 @@ Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'SRC: http://www.vbforums.com/showthread.php?785939-VB6-Creating-Using-COM-Interfaces-without-TLBs ' -------------------------------------------------------------------------------------------------------- ' This class is a replication of COM objects and the object returned from this class can diff --git a/src/WIP/stdOpenCL/stdOpenCL.cls b/src/WIP/stdOpenCL/stdOpenCL.cls index 75a97f7f..bf1dff8d 100644 --- a/src/WIP/stdOpenCL/stdOpenCL.cls +++ b/src/WIP/stdOpenCL/stdOpenCL.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Const CL_FALSE As Long = 0 Private Const CL_TRUE As Long = 1 diff --git a/src/WIP/stdPowerPointLibraries/ShapeHook.cls b/src/WIP/stdPowerPointLibraries/ShapeHook.cls index 63c18bf7..6ff3c5dd 100644 --- a/src/WIP/stdPowerPointLibraries/ShapeHook.cls +++ b/src/WIP/stdPowerPointLibraries/ShapeHook.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Private WithEvents cb As CommandBars Attribute cb.VB_VarHelpID = -1 Private Type TShape diff --git a/src/WIP/stdRegex2.cls b/src/WIP/stdRegex2.cls index 7bc61d2c..cd323146 100644 --- a/src/WIP/stdRegex2.cls +++ b/src/WIP/stdRegex2.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Type QuantifierBounds UB As Long LB As Long diff --git a/src/WIP/stdResource.cls b/src/WIP/stdResource.cls index 62178335..0357101d 100644 --- a/src/WIP/stdResource.cls +++ b/src/WIP/stdResource.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Implements stdIResource Private Type ThisResource diff --git a/src/WIP/stdRibbon.cls b/src/WIP/stdRibbon.cls index eee75d63..e8c363c1 100644 --- a/src/WIP/stdRibbon.cls +++ b/src/WIP/stdRibbon.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Option Explicit #If VBA7 Then Declare PtrSafe Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByVal lpDest As LongPtr, ByVal lpSrc As LongPtr, ByVal cbCopy As Long) diff --git a/src/WIP/stdRuntimeJS.cls b/src/WIP/stdRuntimeJS.cls index 0f755c85..6c506356 100644 --- a/src/WIP/stdRuntimeJS.cls +++ b/src/WIP/stdRuntimeJS.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + 'FURTHER READING '------------------------------ 'https://www.autohotkey.com/boards/viewtopic.php?t=5739 diff --git a/src/WIP/stdSettings.cls b/src/WIP/stdSettings.cls index d6ed0c46..5b899ac8 100644 --- a/src/WIP/stdSettings.cls +++ b/src/WIP/stdSettings.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + #If Mac Then Private pSettingsCache As Collection #Else diff --git a/src/WIP/stdSharepointSite.cls b/src/WIP/stdSharepointSite.cls index 2049616b..87479a42 100644 --- a/src/WIP/stdSharepointSite.cls +++ b/src/WIP/stdSharepointSite.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'P.S. Useful information about APIs can be found here: 'http://sharepoint/sub/site/_vti_bin/Lists.asmx diff --git a/src/WIP/stdShell.cls b/src/WIP/stdShell.cls index bc161139..53d7bfc4 100644 --- a/src/WIP/stdShell.cls +++ b/src/WIP/stdShell.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@ai AI:X +'@aidate 2025-09-20 +'@aidesc Cursor was used to refactor constructors and path handling and add Shell helpers in September 2025. Some early refactors were later replaced. +'@description Windows Shell files, folders and extended properties (experimental). + 'Issues: 'FILE ENUMERATION ' - [ ] No binary read/write methods; no large-file chunking helpers. diff --git a/src/WIP/stdShellMTP.cls b/src/WIP/stdShellMTP.cls index 3d8d508e..fd1484df 100644 --- a/src/WIP/stdShellMTP.cls +++ b/src/WIP/stdShellMTP.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Type TThis shellFolder as Object End Type diff --git a/src/WIP/stdString.cls b/src/WIP/stdString.cls index 9ddc43f4..09fb1eb9 100644 --- a/src/WIP/stdString.cls +++ b/src/WIP/stdString.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private Declare Function SafeArrayRedim Lib "oleaut32" (ByVal saPtr As Long, saBound As Long) As Long diff --git a/src/WIP/stdStringBuilder.cls b/src/WIP/stdStringBuilder.cls index da4c8e8d..b12a2dc6 100644 --- a/src/WIP/stdStringBuilder.cls +++ b/src/WIP/stdStringBuilder.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + 'StringBuilder ' 'StringBuilder is specifically designed to build large strings which are mainly made from boiler plate code. diff --git a/src/WIP/stdStruct.cls b/src/WIP/stdStruct.cls index 07328902..2c9a65f9 100644 --- a/src/WIP/stdStruct.cls +++ b/src/WIP/stdStruct.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Spec: 'Constructors: ' Create() diff --git a/src/WIP/stdTable/stdITable.cls b/src/WIP/stdTable/stdITable.cls index 1aa38588..01ed4e1d 100644 --- a/src/WIP/stdTable/stdITable.cls +++ b/src/WIP/stdTable/stdITable.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Public Enum ETableSubject RowSelect RowDeselect diff --git a/src/WIP/stdTable/stdITableRow.cls b/src/WIP/stdTable/stdITableRow.cls index 03b6e446..f5429e80 100644 --- a/src/WIP/stdTable/stdITableRow.cls +++ b/src/WIP/stdTable/stdITableRow.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + 'Attribute Item.VB_UserMemId = 0 Enum ETableRowSubject diff --git a/src/WIP/stdTable/stdRow v0.0.1.cls b/src/WIP/stdTable/stdRow v0.0.1.cls index 8dfaea88..720c9d17 100644 --- a/src/WIP/stdTable/stdRow v0.0.1.cls +++ b/src/WIP/stdTable/stdRow v0.0.1.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Private pDictionary As Object diff --git a/src/WIP/stdTable/stdTable.cls b/src/WIP/stdTable/stdTable.cls index b6f1c59a..cc1412aa 100644 --- a/src/WIP/stdTable/stdTable.cls +++ b/src/WIP/stdTable/stdTable.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Public Event Selected() Public Event Deselected() diff --git a/src/WIP/stdTable/stdXLEvents.cls b/src/WIP/stdTable/stdXLEvents.cls index f124f846..390f05a3 100644 --- a/src/WIP/stdTable/stdXLEvents.cls +++ b/src/WIP/stdTable/stdXLEvents.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Public Event SelectionChange(selOld As Object, selNew As Object) Public Event RangeSelectionChange(rOldRange As Range, rNewRange As Range) diff --git a/src/WIP/stdTable/stdXLTable.cls b/src/WIP/stdTable/stdXLTable.cls index d33e91ec..10803b8c 100644 --- a/src/WIP/stdTable/stdXLTable.cls +++ b/src/WIP/stdTable/stdXLTable.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Implements stdITable Public Event Selected() diff --git a/src/WIP/stdTable/stdXLTableRow.cls b/src/WIP/stdTable/stdXLTableRow.cls index 65daf07e..3c1cd6d1 100644 --- a/src/WIP/stdTable/stdXLTableRow.cls +++ b/src/WIP/stdTable/stdXLTableRow.cls @@ -7,6 +7,12 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + Implements stdITableRow Private WithEvents sht As Worksheet diff --git a/src/WIP/stdTimer.cls b/src/WIP/stdTimer.cls index b9177629..afe9be77 100644 --- a/src/WIP/stdTimer.cls +++ b/src/WIP/stdTimer.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Module greatly inspired by Cristian Buse's SafeTimers: ' https://github.com/cristianbuse/Excel-VBA-SafeTimers ' diff --git a/src/WIP/stdTimerServerWIP.bas b/src/WIP/stdTimerServerWIP.bas index c1d68ba2..270916c6 100644 --- a/src/WIP/stdTimerServerWIP.bas +++ b/src/WIP/stdTimerServerWIP.bas @@ -1,4 +1,10 @@ Attribute VB_Name = "timerTest" + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + '@lang VBA 'CODE GENERATED FOR `stdTimer` diff --git a/src/WIP/stdUIAutomationElement.cls b/src/WIP/stdUIAutomationElement.cls index e7559399..0dea2a80 100644 --- a/src/WIP/stdUIAutomationElement.cls +++ b/src/WIP/stdUIAutomationElement.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + '@inspiration https://www.mrexcel.com/board/threads/custom-accessibility-class.1253735 #If VBA7 = 0 Then diff --git a/src/WIP/stdWebSocket/stdWebSocket.cls b/src/WIP/stdWebSocket/stdWebSocket.cls index aab6d06e..47fdbd98 100644 --- a/src/WIP/stdWebSocket/stdWebSocket.cls +++ b/src/WIP/stdWebSocket/stdWebSocket.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = True +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'Spec: ' 'Functions implemented on this class: diff --git a/src/WIP/stdWebSocket/stdWebSocketNew.cls b/src/WIP/stdWebSocket/stdWebSocketNew.cls index 090190d5..4aaafde3 100644 --- a/src/WIP/stdWebSocket/stdWebSocketNew.cls +++ b/src/WIP/stdWebSocket/stdWebSocketNew.cls @@ -8,6 +8,9 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:X +'@aidate 2026-10-31 +'@aidesc This WIP file mirrors the AI-written native transport implementation in stdWebSocket (#180). Both copies replace the earlier legacy transport. '@description Native Windows WebSocket client using WinHTTP, replacing Internet Explorer (#139, #35). '@requires Windows 8 or later, stdICallable, and stdWebSocketNative.dll built for the Office process architecture. '@remark StartListening delivers to a typed callable through an owner-thread message window. Pump/Receive provide synchronous events when no async listener owns reads. No VBA runs on WinHTTP or receive worker threads. diff --git a/src/WIP/stdWordLibraries/stdWordDocument.cls b/src/WIP/stdWordLibraries/stdWordDocument.cls index ccdde132..8a2f0a29 100644 --- a/src/WIP/stdWordLibraries/stdWordDocument.cls +++ b/src/WIP/stdWordLibraries/stdWordDocument.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + 'A really handy function to return all ranges Public Function FindAll(ByVal sPattern As String, ByVal rHaystack As Range, Optional ByVal MatchCase As Boolean, Optional ByVal MatchWholeWord As Boolean, Optional ByVal MatchWildcards As Boolean, Optional ByVal IgnoreSpace As Boolean) As Collection diff --git a/src/WIP/stdXML.cls b/src/WIP/stdXML.cls index a2410e1e..84a9b931 100644 --- a/src/WIP/stdXML.cls +++ b/src/WIP/stdXML.cls @@ -1,3 +1,9 @@ + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + 'Simple interface to create XML: ''Example usage 'Dim sXML as string diff --git a/src/stdAcc.cls b/src/stdAcc.cls index bba4bb3f..38cdd620 100644 --- a/src/stdAcc.cls +++ b/src/stdAcc.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description A class used to automate objects which implement `IAccessible`. 'All windows implement IAccessible, and many of their controls do as well. This class can be 'used to obtain information about these controls, and to automate them. diff --git a/src/stdArray.cls b/src/stdArray.cls index 217508ad..989d698a 100644 --- a/src/stdArray.cls +++ b/src/stdArray.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-10-27 +'@aidesc AI was used for array-assignment fixes (#161) and configurable index bases (#165). These changes extend the existing array-list implementation. '@description A class which implements a simple array list. Use this class to 'accumulate data in a list, and then use the methods to manipulate the data. '@example ```vb diff --git a/src/stdCOM.cls b/src/stdCOM.cls index 111c3a5a..97073ac9 100644 --- a/src/stdCOM.cls +++ b/src/stdCOM.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = True '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description A class which wraps a COM object. All objects in VBA are COM objects, and this class allows 'you to access low level COM functionality. As such this class is recommended only to advanced users. '@example ```vb diff --git a/src/stdCallback.cls b/src/stdCallback.cls index 9f3786b0..649cecd6 100644 --- a/src/stdCallback.cls +++ b/src/stdCallback.cls @@ -11,6 +11,9 @@ Attribute VB_Exposed = False Implements stdICallable '@module +'@ai AI:W +'@aidate 2026-03-23 +'@aidesc AI was used to remove an invalid RunEx error-handler line (#154). Later Codex work documented calling conventions and added tests without rewriting the original callback implementation. '@description A class which implements a callback object. Use this class to create a 'callback object which can be called at a later stage. These callbacks are used extensively 'across the stdVBA library. diff --git a/src/stdClipboard.cls b/src/stdClipboard.cls index b6e4336c..1adddb73 100644 --- a/src/stdClipboard.cls +++ b/src/stdClipboard.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description A class which implements a clipboard object. Use this class to 'read from and write data to the clipboard. '@example ```vb diff --git a/src/stdEnumerator.cls b/src/stdEnumerator.cls index ae58393c..99a5ad70 100644 --- a/src/stdEnumerator.cls +++ b/src/stdEnumerator.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-11-01 +'@aidesc The lazy IEnumVARIANT implementation (#186) was written by AI and reviewed manually, including iteration, caching/memory behavior and enumCall naming. Other collection operations predate that contribution. '@description A class which implements an enumerator object. Use this class to 'iterate over a collection of data. '@example ```vb diff --git a/src/stdFiber.cls b/src/stdFiber.cls index 2173a8e7..fa6e6843 100644 --- a/src/stdFiber.cls +++ b/src/stdFiber.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description `stdFiber` allows production of partitioned asynchronous procedures which can be run within a fiber runtime. '`stdFiber.Create()` is used to create our fiber procedures '`stdFiber.runFibers()` is used to run our fiber procedures within a fiber runtime. diff --git a/src/stdHTML.cls b/src/stdHTML.cls index 941a0e08..d2490196 100644 --- a/src/stdHTML.cls +++ b/src/stdHTML.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:X +'@aidate 2026-04-03 +'@aidesc AI was used for selectors, parsing, replacement and Boolean-attribute handling in April 2026, initially under WIP/stdHTML.cls. These features extend the original node model. '@description `stdHTML` provides a fluent, object-based API for building, querying, and transforming HTML in VBA. '`stdHTML.Create()` creates a new document root (``), and child nodes can be composed via `CreateChild`. 'Use `CreateLiteral` for escaped text content and `Raw` for unescaped content when embedding trusted markup or script. diff --git a/src/stdHTTP.cls b/src/stdHTTP.cls index 582b1b7e..701b2916 100644 --- a/src/stdHTTP.cls +++ b/src/stdHTTP.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used to fix asynchronous timeout handling and terminal completion (#173). The original request and transport implementation predates these fixes. '@description A class used to make HTTP requests. '@example A simple synchronous HTTP request: '```vb diff --git a/src/stdHTTPAuthenticators.bas b/src/stdHTTPAuthenticators.bas index 67c880b7..87bb4463 100644 --- a/src/stdHTTPAuthenticators.bas +++ b/src/stdHTTPAuthenticators.bas @@ -1,4 +1,10 @@ Attribute VB_Name = "stdHTTPAuthenticators" + +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + '@lang VBA Type DigestAuthInfo diff --git a/src/stdICallable.cls b/src/stdICallable.cls index ba3b6611..fc0df59c 100644 --- a/src/stdICallable.cls +++ b/src/stdICallable.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = false Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@moduleType Interface '@description An interface which allows a class to be called as if it were a function. '@example Say we have a class which implements `stdICallable`: diff --git a/src/stdImage.cls b/src/stdImage.cls index c18a96cf..a9c899e1 100644 --- a/src/stdImage.cls +++ b/src/stdImage.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:X +'@aidate 2026-10-31 +'@aidesc AI was used for export, clipboard ownership and conversion cleanup (#183). These changes build on the existing image operations and upstream contributions. '@description A class which implements a wrapper around an image. Use this class to 'read image data to and from files, clipboard, sheets, UI controls, and more. Additionally 'this class allows the manipulation of images in memory, and perform analytical operations on them. diff --git a/src/stdJSON.cls b/src/stdJSON.cls index 6283d33c..34367cca 100644 --- a/src/stdJSON.cls +++ b/src/stdJSON.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-04-14 +'@aidesc Cursor was used to fix key comparison in April 2026. Codex was used to add preprocessing and postprocessing callbacks (#137, #179) to the existing parser and object implementation. '@description A class which implements a JSON object. Use this class to 'create JSON objects, manipulate them, and convert them to and from JSON strings. '@example Simple example of creating a JSON object and converting it to a string: diff --git a/src/stdLambda.cls b/src/stdLambda.cls index 9c4737dc..dd0dc62a 100644 --- a/src/stdLambda.cls +++ b/src/stdLambda.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-05-07 +'@aidesc AI was used to fix object-local copying during stack growth (#172) in the existing VBA compiler/evaluator. The native thunk engines are purely AI:X; those experiments began in May 2026 and remain on separate branches. '@description A class which implements a syntax for creating lambda functions from string expressions 'within VBA. Use this class to create sandboxed lambda functions, and call them with arguments. ' diff --git a/src/stdOutlook.cls b/src/stdOutlook.cls index b7492d1b..9da15d1b 100644 --- a/src/stdOutlook.cls +++ b/src/stdOutlook.cls @@ -10,6 +10,9 @@ Attribute VB_Exposed = False Option Explicit '@module +'@ai AI:X +'@aidate 2026-11-10 +'@aidesc This Extended MAPI class was written with gpt-6-astra (#189). '@description Access classic Outlook profiles through native Extended MAPI from a single VBA7 class. '@remark Experimental: 64-bit Excel tested; 32-bit runtime and live synchronization remain unverified. '@remark Data access and submission avoid guarded Outlook automation. Send/Receive uses late-bound automation. diff --git a/src/stdPerformance.cls b/src/stdPerformance.cls index 9a98c735..304df911 100644 --- a/src/stdPerformance.cls +++ b/src/stdPerformance.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used for Access/Word optimization handling (#167) and timer-precision improvements (#177). The existing optimizer and benchmark APIs predate these changes. '@description A class which implements a performance testing and optimisation library. 'Use this class to measure performance and optimise your code. '@example Simple example of measuring performance: diff --git a/src/stdProcess.cls b/src/stdProcess.cls index f0a174ca..101a3138 100644 --- a/src/stdProcess.cls +++ b/src/stdProcess.cls @@ -9,6 +9,8 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description A class which implements a wrapper around a process. Use this class to 'query process information, manipulate them and to forcefully terminate a process. '@example Simple example of creating a process: diff --git a/src/stdQuadTree.cls b/src/stdQuadTree.cls index 7f50d0f1..b1b6ed5e 100644 --- a/src/stdQuadTree.cls +++ b/src/stdQuadTree.cls @@ -10,6 +10,8 @@ Attribute VB_Exposed = False '@module +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. '@description A strict quadtree implementation in VBA. Use this class to store points in a 2D space 'and query them efficiently. '@example A simple quadtree example: diff --git a/src/stdRefArray.cls b/src/stdRefArray.cls index 3d963e98..c4bf0aad 100644 --- a/src/stdRefArray.cls +++ b/src/stdRefArray.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used to correct owned-Variant SAFEARRAY-slot pointer handling (#174). The borrowed-array code is based on Cristian Buse's implementation. '@description A class which wraps a VBA array by reference. Use this class to 'efficiently pass large arrays around without copying them. 'Borrowed storage: the source variable must outlive this wrapper and every alias diff --git a/src/stdReg.cls b/src/stdReg.cls index 9c413fc7..583574a9 100644 --- a/src/stdReg.cls +++ b/src/stdReg.cls @@ -9,6 +9,9 @@ Attribute VB_PredeclaredId = True Attribute VB_Exposed = True '@module +'@ai AI:W +'@aidate 2026-10-30 +'@aidesc The class is AI:W overall. Small additions, including key/value creation (#168), are AI:X. The original registry-reading and writing implementation predates those additions. '@description A class which provides a simple interface to the Windows Registry. 'The structure of a simple registry tree looks like the following: '``` diff --git a/src/stdRegex.cls b/src/stdRegex.cls index 79ee6579..794a9657 100644 --- a/src/stdRegex.cls +++ b/src/stdRegex.cls @@ -482,6 +482,9 @@ Private Type MatcherStateTy End Type '@module +'@ai AI:W +'@aidate 2026-10-27 +'@aidesc The pure VBA engine was written by sihlfall. AI was used for integration (#164). The native x86/x64 thunk engine (#184) was generated entirely by AI and is AI:X; the class is AI:W overall. '@description A class which uses sihlfall's pure VBA regex engine. Use this class to 'create regex objects with additional features like named captures, and use them to analyse text. '@example A simple example of using the class: diff --git a/src/stdRibbon.cls b/src/stdRibbon.cls index 0e63333d..87b8fe12 100644 --- a/src/stdRibbon.cls +++ b/src/stdRibbon.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + #Const isWindows = Mac = 0 Public Enum ERibbonState diff --git a/src/stdSentry.cls b/src/stdSentry.cls index fabfacc8..4770c79d 100644 --- a/src/stdSentry.cls +++ b/src/stdSentry.cls @@ -8,6 +8,13 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used to add scoped worksheet unlocking (#166) to the existing guard and cleanup implementation. +'@description Scoped guards and cleanup actions. + + '@description 'In numerous cases using excel we like to set standard options to optimise performance: '```vb diff --git a/src/stdTimer.cls b/src/stdTimer.cls index 7d87d29d..bf902888 100644 --- a/src/stdTimer.cls +++ b/src/stdTimer.cls @@ -8,6 +8,13 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc AI was used to fix owned-host lifecycle, partial startup and shutdown cleanup (#176). The original timer implementation dates from 2023. +'@description Scheduled callbacks using an owned timer host. + + 'Module greatly inspired by Cristian Buse's SafeTimers: ' https://github.com/cristianbuse/Excel-VBA-SafeTimers ' diff --git a/src/stdUIElement.cls b/src/stdUIElement.cls index 8bf0ba39..c7e6245a 100644 --- a/src/stdUIElement.cls +++ b/src/stdUIElement.cls @@ -8,6 +8,12 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@description +'@ai AI:0 +'@aidesc AI has not touched this code yet. This may change to AI:W when AI edits this file. + + Public Enum EUIElementEvent uiElementEventChange diff --git a/src/stdWebSocket.cls b/src/stdWebSocket.cls index 547d6b98..7cba6fcc 100644 --- a/src/stdWebSocket.cls +++ b/src/stdWebSocket.cls @@ -8,6 +8,9 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False '@module +'@ai AI:X +'@aidate 2026-10-31 +'@aidesc AI was used to replace the legacy IE transport with native WinHTTP synchronous/asynchronous transport (#180). The original WebSocket API predates this rewrite. '@description Native Windows WebSocket client using WinHTTP, replacing Internet Explorer (#139, #35). '@requires Windows 8 or later, stdICallable, and stdWebSocketNative.dll built for the Office process architecture. '@remark StartListening delivers to a typed callable through an owner-thread message window. Pump/Receive provide synchronous events when no async listener owns reads. No VBA runs on WinHTTP or receive worker threads. diff --git a/src/stdWebView.cls b/src/stdWebView.cls index a70e93b3..b05437fc 100644 --- a/src/stdWebView.cls +++ b/src/stdWebView.cls @@ -8,6 +8,10 @@ Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False +'@module +'@ai AI:X +'@aidate 2026-03-18 +'@aidesc Cursor was used to write the standalone WebView2 class and its March-May APIs/refactors. The design is based on the upstream project credited by the attribution tag. '@class stdWebView '@description Standalone WebView2 host for Excel UserForms (primary). Requires WebView2Loader.dll, ' Microsoft Edge WebView2 Runtime. Handler vtables use executable thunks (see AddressOfThunkForComProc/VBA7/CMonitors.cls). diff --git a/src/stdWindow.cls b/src/stdWindow.cls index d776ef5d..bf6066ff 100644 --- a/src/stdWindow.cls +++ b/src/stdWindow.cls @@ -7,6 +7,13 @@ Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False + +'@module +'@ai AI:W +'@aidate 2026-10-31 +'@aidesc The class is AI:W overall. The subclassing/native callback thunks (#182) are AI:X. The guard/reset behavior was reviewed manually; the existing window discovery and manipulation APIs predate that feature. +'@description Window discovery, inspection and automation. + Implements stdICallable '@class stdWindow