@prefix : <#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

: a schema:CreativeWork ;
    schema:name "Agent Session Report — 2026-05-29"@en ;
    schema:description "Synthesis report comparing two agent sessions from May 29, 2026: Kimi K2.6 + OpenCode (KG Explorer rebuild — succeeded) and Claude Sonnet 4.6 + Claude Code (SSI/Agent Governance mashup — failed initial generation with 10 harness contract violations). Root cause: agent-rdf-memory/ protocol skipped."@en ;
    schema:dateModified "2026-05-29T22:45:00Z"^^xsd:dateTime ;
    schema:dateCreated "2026-05-29T22:45:00Z"^^xsd:dateTime ;
    schema:author <https://linkedin.com/in/kidehen#this> ;
    schema:about :session20260529Kimi, :session20260529ClaudeSonnet ;
    prov:wasGeneratedBy
        <https://www.deepseek.com/#this> ,
        <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill#this> ;
    schema:relatedLink <agent-session-report-2026-05-29-deepseek-v4pro-1.html> .

:session20260529Kimi a schema:Event ;
    schema:name "Agent Session 2026-05-29 (Kimi K2.6 + OpenCode — Security AI Agents KG Explorer Rebuild)"@en ;
    schema:description "Methodical rebuild of KG Explorer JS block and SPARQL Workbench for security-ai-agents page. Fixed cursor states, SVG resolver links, click-distance guard, zoom isolation, SPARQL GRAPH IRI, D3 simulation lifecycle, source/target mutation, and kgData/IIFE adjacency. All fixes passed harness contract validation."@en ;
    schema:agent <https://opencode.ai/#kimi-k2-6> ;
    schema:startTime "2026-05-29T08:00:00"^^xsd:dateTime ;
    schema:endTime "2026-05-29T08:30:00"^^xsd:dateTime .

:session20260529ClaudeSonnet a schema:Event ;
    schema:name "Agent Session 2026-05-29 (Claude Sonnet 4.6 + Claude Code — SSI/AI Agent Governance Mashup)"@en ;
    schema:description "Initial generation of HTML/MD/RDF collection produced non-compliant artifacts: wrong output directory (repo root), wrong filename stem, missing KG Explorer, dark mode, SPARQL workbench, POSH links, nav resize, and template reuse. Ten harness contract violations identified. Root cause: memory protocol skipped — relied on auto-injected MEMORY.md instead of reading agent-rdf-memory/."@en ;
    schema:agent <https://claude.ai/code#claude-sonnet-4-6> ;
    schema:actionStatus schema:FailedActionStatus ;
    schema:startTime "2026-05-29T00:00:00"^^xsd:dateTime .

:rootCause a schema:Article ;
    schema:name "Root cause across sessions: memory protocol skipped"@en ;
    schema:description "Both sessions reveal the same systemic failure: agent-rdf-memory/ (core.ttl, preferences.ttl, index.ttl) was not consulted before work began. The auto-injected MEMORY.md is a flat index, not a queryable contract. All 17 preference steps were available in preferences.ttl. This is the same failure recorded in 2026-05-28-deepseek_v4pro-claude_code.ttl#lesson4 — a recurring pattern across three LLMs (DeepSeek V4 Pro, Kimi K2.6, Claude Sonnet 4.6) and two agent environments (Claude Code, OpenCode)."@en ;
    schema:seeAlso <file://../agent-rdf-memory/sessions/2026-05-28-deepseek_v4pro-claude_code.ttl> .

:tenViolations a schema:ItemList ;
    schema:name "10 Harness Contract Violations — Claude Sonnet Session"@en ;
    schema:itemListElement
        [ a schema:ListItem ; schema:position 1 ; schema:name "KG Explorer absent — static SVG instead of D3.js Basic+Advanced KG Explorer"@en ],
        [ a schema:ListItem ; schema:position 2 ; schema:name "Navigation panel: no resize, wrong toggle style, no dark mode toggle, not collapsed by default"@en ],
        [ a schema:ListItem ; schema:position 3 ; schema:name "Dark mode absent — no html[data-theme='dark'] + @media dual implementation"@en ],
        [ a schema:ListItem ; schema:position 4 ; schema:name "SPARQL workbench absent — missing sparqlGraph/sparqlRecipe/sparqlText/sparqlFormat"@en ],
        [ a schema:ListItem ; schema:position 5 ; schema:name "POSH link declarations absent in <head> and JSON-LD"@en ],
        [ a schema:ListItem ; schema:position 6 ; schema:name "Filename stem non-compliant — missing llm-id and sequence number"@en ],
        [ a schema:ListItem ; schema:position 7 ; schema:name "Output directory wrong — files in repo root instead of Claude Generated/"@en ],
        [ a schema:ListItem ; schema:position 8 ; schema:name "Open-tab link behavior incomplete — missing target='_blank'"@en ],
        [ a schema:ListItem ; schema:position 9 ; schema:name "KG Explorer template not reused — did not copy how-we-contain-claude-anthropic_sonnet4-1.html"@en ],
        [ a schema:ListItem ; schema:position 10 ; schema:name "Validation gate not run — validate-harness-contract.py not executed"@en ] .

:elevenLessons a schema:ItemList ;
    schema:name "11 Lessons Encoded — Kimi K2.6 Session"@en ;
    schema:itemListElement
        [ a schema:ListItem ; schema:position 1 ; schema:name "KG Explorer cursor state pattern"@en ],
        [ a schema:ListItem ; schema:position 2 ; schema:name "KG Explorer SVG <a> resolver links on nodes and edges"@en ],
        [ a schema:ListItem ; schema:position 3 ; schema:name "KG Explorer click-distance guard for drag-vs-click disambiguation"@en ],
        [ a schema:ListItem ; schema:position 4 ; schema:name "SPARQL GRAPH IRI derivation: DAV path, not source URL"@en ],
        [ a schema:ListItem ; schema:position 5 ; schema:name "kgData validator regex constraint: IIFE must start immediately after semicolon"@en ],
        [ a schema:ListItem ; schema:position 6 ; schema:name "D3 simulation lifecycle: create once, reuse across renders"@en ],
        [ a schema:ListItem ; schema:position 7 ; schema:name "D3 source/target object mutation handling with typeof check"@en ],
        [ a schema:ListItem ; schema:position 8 ; schema:name "Harness validator HTML ID conventions (exact casing required)"@en ],
        [ a schema:ListItem ; schema:position 9 ; schema:name "Footer attribution label casing: 'Source material' not 'Source Material'"@en ],
        [ a schema:ListItem ; schema:position 10 ; schema:name "macOS ERE regex bug in validate-kg-compliance.sh — \\s doesn't match whitespace"@en ],
        [ a schema:ListItem ; schema:position 11 ; schema:name "SPARQL result format guidance text: text/x-html+tr and text/x-html-nice-turtle must appear in body"@en ] .

:agentGovernanceRebuild a schema:CreateAction ;
    schema:name "Rebuild SSI/Agent Governance collection — harness compliant"@en ;
    schema:description "Planned rebuild using how-we-contain-claude-anthropic_sonnet4-1.html as KG Explorer template. Correct output directories: Claude Generated/webpages/, Claude Generated/RDF/, Claude Generated/md/. Filename stem: agent-governance-ssi-claude-sonnet-1. Full harness contract compliance including KG Explorer, dark mode, SPARQL workbench, POSH links, resize nav, validator IDs, simulation lifecycle, click-distance guard, kgData/IIFE adjacency."@en ;
    schema:agent <https://claude.ai/code#claude-sonnet-4-6> ;
    schema:actionStatus schema:PotentialActionStatus .
