Celery Tasks
Celery tasks for the mcpserver app.
index_repository()brings one repository’s index up to date. The MCP server’s tools queue it for a repository that is not indexed yet.index_repositories()queuesindex_repository()for every repository of The Smarter Project. Celery Beat runs it hourly, andmanage.py initialize_platformqueues it. A repository whose branch has not moved costs one request to the GitHub api.
A repository that cannot be indexed is recorded in its index’s error. It is not an error
of the task, so the tasks do not retry.
Note
Experimental. The MCPServer was designed and coded by Claude Code (Anthropic’s Claude Opus 5.5), with Lawrence McDaniel as co-author. It is experimental, and will be documented.