Commit graph

36 commits

Author SHA1 Message Date
aaac637e5f
📝 AGENTS: Align workflow and API consent
Some checks failed
CI / checks (push) Has been cancelled
Update `AGENTS.md` to explicitly forbid AI coding agents from running
`git commit` or `git push` directly, standardizing on staged commands
referencing `/tmp/<harness>/`. Document Justin's personal gitmoji commit
format requirement. Expand the Forgejo API consent workflow to include
the full five-step protocol, explicit verbal overrides, the newline
`<br>` rule, and token scope nuances. Add reference to the
`$LLM_TOKEN_WP_COMMUNITYBLOG` token for WordPress interactions.

Assisted-by: Gemini 3.8 Flash (1M context)
Signed-off-by: Justin Wheeler <jwheel@redhat.com>
2026-10-31 03:16:52 -04:00
d61d531c29
📝 AGENTS.md: Update workflow and audit standards
Some checks failed
CI / checks (push) Has been cancelled
Update `AGENTS.md` to document the retirement of `CLAUDE.md` and
establish `AGENTS.md` as the sole agent instruction standard. Add the
standardized Fedora Forge API consent workflow referencing
`$LLM_TOKEN_FORGEJO_FEDORA` and `/tmp/<harness>/`. Update the git commit
attribution trailer to include the model context window per workspace
conventions. Harden git conventions around greedy line wrapping under
the 50/72 Rule. Maintain strict plain ASCII compliance across the file.

Assisted-by: Gemini 3.8 Flash (1M context)
Signed-off-by: Justin Wheeler <jwheel@redhat.com>
2026-10-31 02:11:04 -04:00
6c3aef1b86 fix: point notebook to upstream Fedora Quay repos
Some checks failed
CI / checks (pull_request) Has been cancelled
CI / checks (push) Has been cancelled
Redirect the RAG image references in notebooks/exploration.ipynb from my
personal Quay repos to the upstream Fedora repos
(quay.io/fedora/editorial-guide-ramalama:{commblog,magazine,editorial}).

Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-08-28 19:31:30 -04:00
10cb1945f4 feat: add reproducible deploy script and rootless Podman docs
Some checks failed
CI / checks (push) Has been cancelled
Add scripts/deploy.sh, an end-to-end deploy that rebuilds the pipeline from
source on a fresh host, so the server can be treated as stateless. Add
docs/rootless-podman.md for running the workload unprivileged with rootless
Podman.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-08-28 11:08:31 +00:00
bc1d7f296b docs: add GPU deployment runbook (CDI passthrough)
Some checks failed
CI / checks (push) Has been cancelled
Document enabling GPU acceleration: install the NVIDIA Container Toolkit and
generate a CDI config so Podman can pass the GPU into the container. Without it,
ramalama silently falls back to CPU (76 min vs 6 min for the vectordb build).

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-08-28 11:07:04 +00:00
1d328ec837 ci: add Forgejo Actions workflow for lint checks
Some checks failed
CI / checks (pull_request) Has been cancelled
CI / checks (push) Has been cancelled
Add a CI workflow that runs on push and pull request. The project has no unit
test suite yet, so it enforces the conventions the project relies on: pure-ASCII
source, valid Python syntax, and parseable YAML/JSON config.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-08-11 20:20:26 -04:00
07f5414890 feat: add local RAG evaluation harness (RAGAS vs DeepEval) v1.0.0
Add a self-contained eval harness under eval/ that runs the RAG pipeline
over a guideline-grounded eval set and scores the outputs with BOTH RAGAS
and DeepEval using a local judge model (no external API).

Includes eval_set.json, run_pipeline.py, score_ragas.py, score_deepeval.py,
compare.py, a README, and the 3-sample results (answer relevancy: RAGAS
0.969 vs DeepEval 0.889). Supports the #154 task of choosing a RAG eval
tool - both agree closely; DeepEval ran with far less setup friction on
the current stack.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-07-11 04:19:32 +00:00
d31b28e2e9 chore: stop tracking generated corpus and vector data
Remove the article corpus (data/raw, data/source, data/reports) and
doc2rag/Qdrant vector storage from git tracking. These are generated
locally by following docs/GUIDE.md and should not live in the repo.
Directory structure is preserved via .gitkeep files.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-07-11 04:18:17 +00:00
5d4ed5e738 🚚 docs: update Quay image references to org-owned namespace
Point all image references at quay.io/fedora/editorial-guide-ramalama
(tags :commblog, :magazine, :editorial) after migrating from the
personal namespace. Includes prose/wildcard mentions in COMMUNISHIFT,
GUIDE, and OPENSHIFT_CRC. Part of #163.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-07-07 07:00:50 -04:00
764b5c3045
📝 docs(AGENTS): Add AI coding agent guidance
Add `AGENTS.md` following the https://agents.md spec to give AI coding
agents structured context about this repository. Covers project
overview, repository layout, setup commands, build/run workflow,
RamaLama RAG gotchas (corpus-only changes, ASCII filenames, model
selection), contribution workflow, and AI-disclosure requirements.

Written in one-sentence-per-line convention per review feedback. The
initial draft referenced a deleted `CONTRIBUTING.md` unicode section and
made an inaccurate claim about DCO enforcement — both corrected in
revision. AI-disclosure guidance and upstream Forge auth docs were also
added during review.

Closes commops/interns#162.

Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
Assisted-by: Claude Opus 4.8

Reviewed-on: #4
Reviewed-by: Justin Wheeler <jwheel@redhat.com>
2026-07-02 13:41:53 -04:00
cc2547b20c ✨ chore: add Forgejo pull request template
Add a pull request template with a short checklist to guide contributors
through the review essentials.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-07-02 01:01:11 +00:00
04c62da74e ✨ chore: add Forgejo issue templates
Add bug report and feature request templates so contributors have a
guided format when filing issues, with project-specific fields (RamaLama,
Podman, CRC versions, affected component).

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-07-02 00:59:56 +00:00
07eb523f57 🚚 docs: update repo URLs from GitHub to Fedora Forge
Update clone URLs and cd paths across docs and scripts to point at
forge.fedoraproject.org/ai-ml/editorial-guide-ramalama after the repo
migration. Upstream links (RamaLama, Docling) and Quay image paths are
left unchanged.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
2026-07-02 00:54:50 +00:00
5ed1501565 📝 docs: Add CONTRIBUTING.md with PR workflow and guidelines (#2)
Add contribution guidelines for the editorial-guide-ramalama
project, establishing branch-and-PR workflow, commit message
conventions, review process, and an AI-Assisted Contributions
section per the Fedora AI policy. The authentication section
links to the upstream Fedora Forge docs rather than duplicating
them. DCO sign-off is encouraged as a best practice.

This was written during Gonothi's Outreachy internship and
refined through two rounds of review from @dominikkawka and
@jflory7. The final version uses one-sentence-per-line style
and replaces ambiguous unicode characters with ASCII
equivalents.

Assisted-by: Claude Opus 4.8
Signed-off-by: gtfrans2re <francoisgonothitoure@gmail.com>
Reviewed-on: #2
Reviewed-by: Justin Wheeler <jwheel@redhat.com>
2026-07-02 00:52:21 +00:00
ea0cd190c6 docs: add full CRC setup/start flow to Communishift Stage 2; record install status 2026-06-13 11:43:20 -04:00
808915f59d docs: record CRC install (2.61.0/OCP 4.21.14); clarify CRC is local not batcave01 2026-06-13 11:22:37 -04:00
5f1988b403 docs: add infrastructure apprentice runbook (bastion login, clone, explore)
- Step-by-step SSH config, bastion->batcave01 login, ansible clone, exploration
- Documents the FAS_USERNAME placeholder pitfall and the /srv/git/ansible.git path
- Linked from COMMUNISHIFT.md Stage 1
2026-06-13 11:04:37 -04:00
520e8c4227 docs: add user quickstart guide (Quay images, no pipeline) + README links 2026-06-09 00:06:23 -04:00
ccb038ea31 docs: add local OpenShift (CRC) deployment guide and README deployment section 2026-06-05 07:32:13 -04:00
4f63639dee Update: Notebook 2026-06-05 06:36:25 -04:00
ce3f230959 chore: initialize project structure 2026-06-05 06:27:10 -04:00
57f931ac0a refactor: remove Docling ingest step; ramalama rag ingests HTML directly
- Delete ingest_docling.py (ramalama rag runs Docling internally)
- fetch_articles.py now saves article HTML to data/source/ (the corpus)
- Add stage_corpus.sh to copy guidelines into the corpus dirs
- clean_dataset.py is now analysis-only (writes data/reports/)
- Fix benchmark.py to correct ramalama run --rag syntax
- Repoint all paths data/cleaned -> data/source, .md -> .html
- Update README, GUIDE, blog_draft, requirements, gitignore
2026-06-04 17:27:51 -04:00
b16de62f1e Improve RAG workflow, docs, and review tooling
- update README and GUIDE documentation
- document tested models and recommendations
- add Gemma 4 E4B as recommended default local model
- add Granite 4 Micro (IBM) low-memory Fedora-friendly option
- refine app behavior and benchmark script
- adjust ramalama RAG YAML configuration
- add review datasets and review helper scripts
- update exploration notebook with new experiments
2026-05-29 12:22:26 -04:00
63500f4243 docs: add AI attribution to README, update GUIDE to chunk-size 200 and SmolLM2 2026-05-29 00:37:07 -04:00
86d39f4105 feat: finalize 4-model lineup (Qwen3 4B, SmolLM2 1.7B, Gemma 3 4B, Granite 7B) 2026-05-29 00:31:10 -04:00
c42ea6f329 docs: add table of contents to README 2026-05-28 23:57:01 -04:00
b518837d10 docs: update README with quay.io refs, chunk-size 200, and Quay section 2026-05-28 08:24:25 -04:00
c4f7a0affe feat: complete Quay deployment pipeline:
- All three OCI images built and pushed to Quay
  quay.io/gtfrans2re/fedora-commblog-rag
  quay.io/gtfrans2re/fedora-magazine-rag
  quay.io/gtfrans2re/fedora-editorial-rag
- chunk-size lowered to 200 to avoid embedder overflow

Code:
- All image refs updated from localhost/ to quay.io/gtfrans2re/
- app.py, notebook, yaml, and guide updated accordingly
- Dual-source pipeline: CommBlog + Magazine
2026-05-28 04:29:08 -04:00
4d22b54233 fix: rewrite guidelines files from HTML Raw actual sources (addresses #1)
commblog_guidelines.md:
- Source 1: https://communityblog.fedoraproject.org/writing-community-blog-article/
- Source 2: https://communityblog.fedoraproject.org/editor-guidelines/

magazine_guidelines.md:
- Source: https://docs.fedoraproject.org/en-US/fedora-magazine/writing-guidelines/
2026-05-27 23:20:41 -04:00
dd28c1bc5f Updated: reproduction guide 2026-05-27 22:28:23 -04:00
96dcf4c2b4
Fix source link in article guidelines
Updated the source link for article guidelines to point to the community blog.
2026-05-27 01:49:05 -04:00
fc1513f94a feat: complete dual-source editorial RAG pipeline
Data & ingestion:
- fetch_articles.py: fetch both CommBlog and Magazine via WordPress REST API
- ingest_docling.py: separate output dirs per publication
- clean_dataset.py: per-source quality reports

Models & config:
- ramalama_rag.yaml: three OCI targets (commblog, magazine, combined)
- benchmark.py: model benchmarking across Qwen/Gemma/Granite

App & notebook:
- app.py: Streamlit GUI with publication selector (CommBlog / Magazine / Both)
- exploration.ipynb: dual-source dataset overview, quality reports, RAG testing

Docs & guidelines:
- commblog_guidelines.md: CommBlog editorial standards
- magazine_guidelines.md: Fedora Magazine editorial standards
- GUIDE.md: complete step-by-step pipeline guide (dual-source)
- blog_draft.md: CommBlog article draft summarizing the project
- README.md: updated scope, structure, and usage for both publications

Fixes applied:
- ramalama rag syntax: localhost/ prefix, --chunk-size 256, HF model format
- README code blocks: tilde fences to fix rendering
- matplotlib added to requirements
2026-05-25 22:01:28 -04:00
703c050841 fix: repair broken README code blocks using tilde fences 2026-05-25 08:19:54 -04:00
47a0f03305 feat: complete mini-project initial setup
- Add Streamlit editorial assistant GUI (app.py)
- Add WordPress REST API scraper (fetch_articles.py)
- Add Docling ingestion pipeline (ingest_docling.py)
- Add dataset cleaning and quality checks (clean_dataset.py)
- Add model benchmarking script (benchmark.py)
- Add RamaLama RAG configuration with chunk-size 256 (ramalama_rag.yaml)
- Add exploration notebook with reference article tests (exploration.ipynb)
- Add CommBlog editorial guidelines (commblog_guidelines.md)
- Add complete pipeline guide (GUIDE.md)
- Add dev notes, blog draft, and updated README
- Fix ramalama rag syntax: localhost/ prefix, HF model format
- Fix chunk size overflow: --chunk-size 256
2026-05-24 13:53:29 -04:00
c31083a097 feat: initial project setup — scripts, config, notebook, docs, and pipeline guide
- Add fetch_articles.py: WordPress REST API scraper
- Add ingest_docling.py: Docling HTML to Markdown ingestion
- Add clean_dataset.py: dataset cleaning and quality checks
- Add benchmark.py: model benchmarking across Qwen/SmolLM/Gemma/Granite
- Add ramalama_rag.yaml: RamaLama RAG configuration
- Add exploration.ipynb: dataset and results exploration notebook
- Add notes.md: running dev notes and decisions log
- Add blog_draft.md: community blog article draft
- Add GUIDE.md: complete step-by-step pipeline guide
2026-05-23 18:32:18 -04:00
2425ee32a8
Initial commit 2026-05-22 04:36:40 -04:00