Run pipeline, write Post 08, commit untracked files
Pipeline: - Extract ideas for 38 new drafts → 462 ideas total - Convergence analysis: 132 cross-org convergent ideas (33% rate) - Fetch authors for 102 drafts → 709 authors (up from 403) - Refresh gap analysis: 12 gaps across full 474-draft corpus - Update verified counts with new totals Post 08: - Complete rewrite of "Agents Building the Agent Analysis" (2,953 words) - Covers 3 phases: writing team → review cycle → fix cycle - Meta-irony table mapping team coordination to IETF gap names - Specific examples from dev journal (SQL injection, consent conflation, ideas mismatch) Untracked files committed: - scripts/: backfill-wg-names, classify-unrated, compare-classifiers, download-relevant-text, run-webui - src/ietf_analyzer/classifier.py: two-stage Ollama classifier - src/webui/: analytics (GDPR-compliant), auth, obsidian_export - tests/test_obsidian_export.py (10 tests) - data/reports/: wg-analysis, generated draft for gap #37 Housekeeping: - .gitignore: exclude LaTeX artifacts, stale DBs, analytics.db Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -297,8 +297,9 @@ class Database:
|
||||
def upsert_draft(self, draft: Draft) -> None:
|
||||
self.conn.execute(
|
||||
"""INSERT INTO drafts (name, rev, title, abstract, time, dt_id, pages, words,
|
||||
"group", group_uri, expires, ad, shepherd, states, full_text, categories, tags, fetched_at)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
"group", group_uri, expires, ad, shepherd, states, full_text, categories, tags, fetched_at,
|
||||
source, source_id, source_url, doc_status)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
ON CONFLICT(name) DO UPDATE SET
|
||||
rev=excluded.rev, title=excluded.title, abstract=excluded.abstract,
|
||||
time=excluded.time, dt_id=excluded.dt_id, pages=excluded.pages,
|
||||
@@ -307,7 +308,9 @@ class Database:
|
||||
states=excluded.states,
|
||||
full_text=COALESCE(excluded.full_text, full_text),
|
||||
categories=excluded.categories, tags=excluded.tags,
|
||||
fetched_at=excluded.fetched_at
|
||||
fetched_at=excluded.fetched_at,
|
||||
source=excluded.source, source_id=excluded.source_id,
|
||||
source_url=excluded.source_url, doc_status=excluded.doc_status
|
||||
""",
|
||||
(
|
||||
draft.name, draft.rev, draft.title, draft.abstract, draft.time,
|
||||
@@ -316,6 +319,7 @@ class Database:
|
||||
json.dumps(draft.states), draft.full_text,
|
||||
json.dumps(draft.categories), json.dumps(draft.tags),
|
||||
draft.fetched_at or datetime.now(timezone.utc).isoformat(),
|
||||
draft.source, draft.source_id, draft.source_url, draft.doc_status,
|
||||
),
|
||||
)
|
||||
self.conn.commit()
|
||||
|
||||
Reference in New Issue
Block a user