Compare commits
3 Commits
07df70490c
...
0b3ca678b9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b3ca678b9 | ||
|
|
9446c046ed | ||
| 02959c865e |
14
deltas/docs/01a075c9-9d0f-79af-982f-3e8c49c3f8bf.sql
Normal file
14
deltas/docs/01a075c9-9d0f-79af-982f-3e8c49c3f8bf.sql
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
BEGIN TRANSACTION;
|
||||||
|
CREATE TABLE IF NOT EXISTS docs_symbols (
|
||||||
|
id TEXT PRIMARY KEY,
|
||||||
|
filepath TEXT,
|
||||||
|
symbol_name TEXT,
|
||||||
|
signature TEXT,
|
||||||
|
content_hash TEXT,
|
||||||
|
is_deleted INTEGER DEFAULT 0,
|
||||||
|
last_updated TEXT
|
||||||
|
);
|
||||||
|
CREATE VIRTUAL TABLE IF NOT EXISTS vec_docs USING vec0(
|
||||||
|
embedding float[3]
|
||||||
|
);
|
||||||
|
COMMIT;
|
||||||
26
deltas/docs/01a075cf-ec02-7cd2-9aba-a1453275e4b4.sql
Normal file
26
deltas/docs/01a075cf-ec02-7cd2-9aba-a1453275e4b4.sql
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
BEGIN TRANSACTION;
|
||||||
|
-- Scalar table upsert with LWW timestamp check
|
||||||
|
INSERT INTO docs_symbols (id, filepath, symbol_name, signature, content_hash, is_deleted, last_updated)
|
||||||
|
VALUES ('01a075cf-ec02-7cd2-9aba-a1453275e4b4', 'stub/path/docs.ts', 'Stubdocs', 'function Stubdocs() {}', 'hash-01a075cf-ec02-7cd2-9aba-a1453275e4b4', 0, '2026-09-06T08:22:35.778Z')
|
||||||
|
ON CONFLICT(id) DO UPDATE SET
|
||||||
|
filepath = excluded.filepath,
|
||||||
|
symbol_name = excluded.symbol_name,
|
||||||
|
signature = excluded.signature,
|
||||||
|
content_hash = excluded.content_hash,
|
||||||
|
is_deleted = 0,
|
||||||
|
last_updated = excluded.last_updated
|
||||||
|
WHERE excluded.last_updated > docs_symbols.last_updated;
|
||||||
|
|
||||||
|
-- Vector upsert using deterministic rowid (DELETE + INSERT for vec0 virtual table compatibility)
|
||||||
|
DELETE FROM vec_docs WHERE rowid = 1926029109225710772;
|
||||||
|
INSERT INTO vec_docs (rowid, embedding)
|
||||||
|
VALUES (1926029109225710772, '[0.10000000149011612,0.20000000298023224,0.30000001192092896]');
|
||||||
|
|
||||||
|
-- Provenance record
|
||||||
|
INSERT INTO applied_deltas (delta_id, domain, author, commit_msg, action_summary, applied_at)
|
||||||
|
VALUES ('01a075cf-ec02-7cd2-9aba-a1453275e4b4', 'docs', 'Tyler Gillispie <mrteye@gmail.com>', 'forum(fix): add --no-verify to prevent push hook loops', 'Updated .forum/hooks/post-checkout, .forum/hooks/post-commit (+192 more)', '2026-09-06T08:22:35.778Z')
|
||||||
|
ON CONFLICT(delta_id) DO UPDATE SET
|
||||||
|
author = excluded.author,
|
||||||
|
commit_msg = excluded.commit_msg,
|
||||||
|
action_summary = excluded.action_summary;
|
||||||
|
COMMIT;
|
||||||
14
deltas/telemetry/01a075c9-9d0f-7102-90b5-ad352a7e8ac4.sql
Normal file
14
deltas/telemetry/01a075c9-9d0f-7102-90b5-ad352a7e8ac4.sql
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
BEGIN TRANSACTION;
|
||||||
|
CREATE TABLE IF NOT EXISTS telemetry_symbols (
|
||||||
|
id TEXT PRIMARY KEY,
|
||||||
|
filepath TEXT,
|
||||||
|
symbol_name TEXT,
|
||||||
|
signature TEXT,
|
||||||
|
content_hash TEXT,
|
||||||
|
is_deleted INTEGER DEFAULT 0,
|
||||||
|
last_updated TEXT
|
||||||
|
);
|
||||||
|
CREATE VIRTUAL TABLE IF NOT EXISTS vec_telemetry USING vec0(
|
||||||
|
embedding float[3]
|
||||||
|
);
|
||||||
|
COMMIT;
|
||||||
26
deltas/telemetry/01a075cf-ec03-7d5f-9186-51ff7c0513f8.sql
Normal file
26
deltas/telemetry/01a075cf-ec03-7d5f-9186-51ff7c0513f8.sql
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
BEGIN TRANSACTION;
|
||||||
|
-- Scalar table upsert with LWW timestamp check
|
||||||
|
INSERT INTO telemetry_symbols (id, filepath, symbol_name, signature, content_hash, is_deleted, last_updated)
|
||||||
|
VALUES ('01a075cf-ec03-7d5f-9186-51ff7c0513f8', 'stub/path/telemetry.ts', 'Stubtelemetry', 'function Stubtelemetry() {}', 'hash-01a075cf-ec03-7d5f-9186-51ff7c0513f8', 0, '2026-09-06T08:22:35.778Z')
|
||||||
|
ON CONFLICT(id) DO UPDATE SET
|
||||||
|
filepath = excluded.filepath,
|
||||||
|
symbol_name = excluded.symbol_name,
|
||||||
|
signature = excluded.signature,
|
||||||
|
content_hash = excluded.content_hash,
|
||||||
|
is_deleted = 0,
|
||||||
|
last_updated = excluded.last_updated
|
||||||
|
WHERE excluded.last_updated > telemetry_symbols.last_updated;
|
||||||
|
|
||||||
|
-- Vector upsert using deterministic rowid (DELETE + INSERT for vec0 virtual table compatibility)
|
||||||
|
DELETE FROM vec_telemetry WHERE rowid = 1262786903263220728;
|
||||||
|
INSERT INTO vec_telemetry (rowid, embedding)
|
||||||
|
VALUES (1262786903263220728, '[0.10000000149011612,0.20000000298023224,0.30000001192092896]');
|
||||||
|
|
||||||
|
-- Provenance record
|
||||||
|
INSERT INTO applied_deltas (delta_id, domain, author, commit_msg, action_summary, applied_at)
|
||||||
|
VALUES ('01a075cf-ec03-7d5f-9186-51ff7c0513f8', 'telemetry', 'Tyler Gillispie <mrteye@gmail.com>', 'forum(fix): add --no-verify to prevent push hook loops', 'Updated .forum/hooks/post-checkout, .forum/hooks/post-commit (+192 more)', '2026-09-06T08:22:35.778Z')
|
||||||
|
ON CONFLICT(delta_id) DO UPDATE SET
|
||||||
|
author = excluded.author,
|
||||||
|
commit_msg = excluded.commit_msg,
|
||||||
|
action_summary = excluded.action_summary;
|
||||||
|
COMMIT;
|
||||||
20
ontologies/graph.jsonld
Normal file
20
ontologies/graph.jsonld
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "SoftwareApplication",
|
||||||
|
"name": "Auth-Yes Project",
|
||||||
|
"description": "Auto-bootstrapped application architecture for Agent Forum governance."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "Requirement",
|
||||||
|
"id": "REQ-001",
|
||||||
|
"description": "Ensure zero-trust authentication and rate-limiting patterns are enforced on all API routes.",
|
||||||
|
"status": "Approved"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "Requirement",
|
||||||
|
"id": "REQ-002",
|
||||||
|
"description": "Maintain strict code-to-documentation parity using SCIP index extraction.",
|
||||||
|
"status": "Approved"
|
||||||
|
}
|
||||||
|
]
|
||||||
5
tasks/TASK-001.yaml
Normal file
5
tasks/TASK-001.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
id: TASK-001
|
||||||
|
title: Bootstrap Agent Forum Governance
|
||||||
|
status: Done
|
||||||
|
description: Automatically initialized meta-state architecture and baseline requirements.
|
||||||
|
blocked_by: []
|
||||||
@ -1,4 +1,23 @@
|
|||||||
{
|
{
|
||||||
|
"scopes": {
|
||||||
|
"application": {
|
||||||
|
"patterns": ["src/**", "server/**"],
|
||||||
|
"requires": [
|
||||||
|
"Gatekeeper_Approval",
|
||||||
|
"Adversary_Pass",
|
||||||
|
"Historian_Context",
|
||||||
|
"Analyst_Optimize"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"documentation": {
|
||||||
|
"patterns": ["docs/**", "*.md"],
|
||||||
|
"requires": ["Translator_Check"]
|
||||||
|
},
|
||||||
|
"harness": {
|
||||||
|
"patterns": [".forum/**", "deno.lock", ".gitignore"],
|
||||||
|
"requires": []
|
||||||
|
}
|
||||||
|
},
|
||||||
"Gatekeeper": {
|
"Gatekeeper": {
|
||||||
"requires": []
|
"requires": []
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user