Skip to content

Docs and packaging drift: secfoo[api] extra is obsolete, public version says 0.3.0 while PyPI is 0.3.1, install scripts point at another repo #120

Closed

Description

@vsn411

Problem: several places say things that are no longer true, found while writing the PyPI page and CI docs:

  1. docs/agents.md and the error text in src/secfoo/agents/api.py tell users to pip install "secfoo[api]", but litellm and langgraph are base dependencies (see [project.dependencies]), so the extra is empty and the message is misleading. Either drop the extra and the message, or make the deps optional again on purpose (they are heavy) and keep the extra; decide and make the three places agree.
  2. src/secfoo/__about__.py says 0.3.0; PyPI serves 0.3.1. The public repository has no releases or tags, so secfoo --version (once it exists), CITATION.cff, and the release workflow's "tag must match __about__.py" check cannot be exercised here. Document where releases are cut from, or bring the public repo's version and tags in line, and add a CI check that __about__.py is at or above the latest PyPI release.
  3. install.sh, install.ps1, the README Docker line and docs/REFERENCE.md point at rakfortltd/secfoo for releases and ghcr.io/rakfortltd/secfoo for the image, while the repository is secfoo-com/secfoo. Verify each URL resolves today (the GHCR image did not exist on 2026-11-14) and either fix the references or state in the docs that binaries and images are published from the other organisation.
  4. secfoo --help still describes the tool as "Context-based security architectural assessment." while the README and PyPI summary say "AI security review CLI …". Align the Typer app help, the CITATION.cff abstract and description in pyproject.toml.
  5. docs/REFERENCE.md says binaries are built "on every vX.Y.Z tag push"; release.yml is workflow_dispatch only. Fix the sentence.

Build: one PR per item is fine (each is scored); add a tests/test_docs_consistency.py that greps for the obsolete strings so they cannot come back, and a link checker (lychee or markdown-link-check) over README.md and docs/ in CI.

Where to look: docs/agents.md, src/secfoo/agents/api.py, pyproject.toml, src/secfoo/__about__.py, CITATION.cff, install.sh, install.ps1, README.md, docs/REFERENCE.md, .github/workflows/release.yml, src/secfoo/cli.py (the typer.Typer(help=…) line).

Done when: every item above is fixed or explicitly documented; the consistency test and the link check run in CI.

Activity

  1. added
    documentation
    good first issue
    help wanted
    hackathon
    difficulty: low
    on Nov 15, 2026
  2. Varunpoojari commented on Nov 20, 2026

    @Varunpoojari
    Collaborator

    I'd like to take this. I plan to send one small PR per item, starting with the clear-cut ones (the release.yml wording in docs/REFERENCE.md, the --help / CITATION.cff / pyproject.toml description alignment, and the secfoo[api] extra), with a tests/test_docs_consistency.py check for the obsolete strings. For the install URLs and the version/tag question I'll verify what resolves today and ask here before choosing between fixing the references and documenting the other org.

  3. Varunpoojari commented on Nov 20, 2026

    @Varunpoojari
    Collaborator

    Progress on #120, and two questions before I touch items 2 and 3 (they need a maintainer decision, so I'd rather ask than guess):

    Status

    Item 3: the rakfortltd references. I grepped the tree. They are not only the three places the issue lists, and the npm ones are package names, not just URLs:

    • install.sh, install.ps1 (REPO="rakfortltd/secfoo", which is also where they read releases/latest)
    • README.md (Docker line, npm install -g @rakfortltd/secfoo), docs/REFERENCE.md, docs/CI.md, examples/ci/gitlab-ci.yml, a comment in Dockerfile
    • .github/workflows/release.yml tags the image as ghcr.io/rakfortltd/secfoo
    • npm/*/package.json and npm/secfoo/bin/secfoo.js use the @rakfortltd/ scope

    So a find-and-replace would rename published npm packages and move the image, not just fix links. Which do you want?

    1. Docs only: state in the README and docs/REFERENCE.md that binaries, the npm packages and the image are published from the rakfortltd org, and keep the URLs as they are. I can do this as a small PR and extend the consistency test so the claim can't drift.
    2. Move publishing to secfoo-com: change the install scripts and docs, and release.yml / the npm scope. I can do the docs and scripts. release.yml needs the workflow token scope, which mine doesn't have, so someone with access would need to make that part.

    Item 2: version and tags. __about__.py is 0.3.0, and release.yml requires the tag to already exist and match it. Where are releases meant to be cut from: this repo, or the rakfortltd one? If this repo, the fix is to push a v0.3.1 tag and bump __about__.py, which only a maintainer can do. Otherwise I'll add a short "where releases come from" note to the docs. I couldn't check PyPI from my environment, so I'm relying on the issue's 0.3.1 figure.

    Once you tell me which way to go, I'll open one PR per item as the issue suggests. Written with Claude Code (AI-assisted), posted under my account.

  4. vsn411 commented on Nov 20, 2026

    @vsn411
    CollaboratorAuthor

    Progress update: items 1 (#156), 4 (#157) and 5 (#151) are merged, each with a guard in tests/test_docs_consistency.py.

    Still open for contributors:

    • item 2: version / release source, and a CI check that __about__.py is at or above the latest PyPI release
    • item 3: the rakfortltd/secfoo and ghcr.io/rakfortltd/secfoo references. npm/secfoo/README.md still links to rakfortltd/secfoo too.
    • the link checker in CI over README.md and docs/
  5. added a commit that references this issue on Nov 20, 2026
    a1da841
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: lowdocumentationgood first issuehackathonhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions