Official upstream source mirror. Do not make UH changes here.
  • Ruby 87.5%
  • HTML 6.2%
  • JavaScript 4.8%
  • SCSS 1.2%
  • Dockerfile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-28 09:57:28 +01:00
.github Bump ruby/setup-ruby from 1.321.0 to 1.324.0 in the github-actions group 2026-09-23 17:53:39 +00:00
app Update tracking on "Check your answers ..." page 2026-09-18 15:04:01 +01:00
bin Add binstubs 2026-06-02 17:05:20 +01:00
config Implement the 9000 character limit validation 2026-09-18 15:03:57 +01:00
db Tighten up the validations around the request, user and collaboration association 2026-09-17 08:28:02 +01:00
docs Add user access doc page for filling during implementation in production. 2026-08-27 15:07:07 +01:00
lib Add working_days_calculator, reusing logic from Publisher 2026-09-10 15:00:40 +01:00
log Create Dockerfile and import basic application support and configuration from Publisher 2025-11-27 10:58:40 +00:00
public Run rails app:update 2026-04-15 09:40:32 +01:00
spec Additional GA4 tracking test for character count limit reporting 2026-09-18 15:24:48 +01:00
storage Basic skeleton app set up following developer docs 2025-11-26 15:40:54 +00:00
tmp Basic skeleton app set up following developer docs 2025-11-26 15:40:54 +00:00
vendor Basic skeleton app set up following developer docs 2025-11-26 15:40:54 +00:00
.dockerignore Create Dockerfile and import basic application support and configuration from Publisher 2025-11-27 10:58:40 +00:00
.erb_lint.yml Create linting dependency and config files 2025-12-02 13:55:52 +00:00
.gitattributes Basic skeleton app set up following developer docs 2025-11-26 15:40:54 +00:00
.gitignore Fix RSpec test files 2026-01-23 12:19:45 +00:00
.govuk_dependabot_merger.yml add dependabot config for FCM 2026-03-24 11:57:55 +00:00
.rspec Fix RSpec test files 2026-01-23 12:19:45 +00:00
.rubocop.yml Create workflows and supporting rspec-ci script 2025-12-02 13:55:52 +00:00
.ruby-version Bump ruby version from 4.0.3 ti 4.0.6 2026-09-18 10:08:08 +01:00
.stylintrc.yml Create linting dependency and config files 2025-12-02 13:55:52 +00:00
config.ru Basic skeleton app set up following developer docs 2025-11-26 15:40:54 +00:00
Dockerfile Bump Ruby from 3.4.5 to 4.0.3 2026-06-02 16:47:55 +01:00
Gemfile Merge pull request #274 from alphagov/dependabot/bundler/multi-027384abef 2026-09-21 09:49:28 +01:00
Gemfile.lock Bump govuk_publishing_components from 70.1.0 to 70.2.0 2026-09-25 17:53:57 +00:00
LICENSE Populate README.md with template, and upload license file 2025-11-26 15:51:27 +00:00
package.json mermaid was inherited from publisher, but is not used in this app so can be removed 2026-09-16 13:54:37 +01:00
Procfile Include missing worker procfile command and sidekiq config 2025-12-02 14:12:31 +00:00
Procfile.dev Create Dockerfile and import basic application support and configuration from Publisher 2025-11-27 10:58:40 +00:00
Rakefile Fix RSpec test files 2026-01-23 12:19:45 +00:00
README.md Populate the full readme template 2026-01-02 16:06:03 +00:00
yarn.lock mermaid was inherited from publisher, but is not used in this app so can be removed 2026-09-16 13:54:37 +01:00

Fact Check Manager

Fact Check Manager is an app which handles the Fact Checking process for content being produced through Mainstream Publisher.

The aim of Fact Check Manager is to improve security of Publisher and improve ease of access for SPOCs and SMEs by abstracting out this process where non-GDS staff who are not regular users require access to draft content.

Nomenclature

  • Artefact: a document on GOV.UK.
  • SME: Subject Matter Expert. Members of other departments with specialist knowledge about operational or policy subjects.
  • SPOC: Single Point of Contact. Elevated permissions in this app, can share read-only links to the change with SPOCs, and submit the final response through this app.

Technical documentation

This is a Rails application and should follow our Rails app conventions.

Setting up Fact Check Manager

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Initially building the app with:

make fact-check-manager

Only needs to be done once. After this, it will pick up changes to your local branches and use whichever one you have checked out. Re-running this command can be a useful way to wipe your local Fact Check Manager container and start fresh if it ends up in a corrupted state.

Running Locally

The app can be run locally using:

govuk-docker up fact-check-manager-app

And then visiting http://fact-check-manager.dev.gov.uk/ in your web browser. The terminal you use to run the command will display useful server activity logs for debugging. Make sure to use control + c to gracefully shut down the server when you're done with it.

You can open the rails console for your local container with:

govuk-docker run fact-check-manager-lite bash

or the rails console with:

govuk-docker run fact-check-manager-lite rails c

Running the test suite

The default rake task runs all the tests:

govuk-docker run fact-check-manager-lite bundle exec rake

Licence

MIT License